AI, agents and developers · Autessa Payments
Payment tools for agents
Autessa agents can use Payments through built-in tools: Create Invoice creates and emails a real invoice with a pay link, List Customers looks people up, Refund refunds a paid invoice in full or in part, and Get Payout Status answers “has my money arrived?”. No tool charges a card; customers always pay from their own link.
The problem it solves
AI agents that touch money need hard limits
An agent that can charge cards is a risk. Autessa’s agent tools can bill and refund within your rules, but the customer always decides to pay, and a retried agent turn can’t create the same invoice twice.
What you get
- Create Invoice takes a customer email or ID, a single amount or line items, an optional due date and memo, and sendNow (false saves a draft).
- It is idempotent per tool invocation, so a retried turn can’t create the invoice twice.
- It returns the invoice number, status, subtotal, tax, total, pay URL and due date, or a plain reason it was refused.
- Refund takes the invoice ID and an optional amount, and reports what remains refundable.
- Get Payout Status returns paid, pending, in transit, failed or canceled for the latest payout.
- Charge Customer is not available: it returns NOT_SUPPORTED without charging anyone.
- An account that hasn’t finished setup fails with NOT_ONBOARDED.
How it works
How does payment tools for agents work in Autessa Payments?
Set up Payments
The tools use your company’s Payments account.
Add a tool to an agent
Pick the Payments tool and configure it.
Let the agent work
For example, a receptionist that invoices after a booking, or a support agent that refunds.
See the results in Payments
Invoices and refunds appear like any other.
Every option
Agent tools
| Option | What it does |
|---|---|
| AUTESSA_PAYMENTS_CREATE_INVOICE | Create and (by default) email an invoice; charges nothing. |
| AUTESSA_PAYMENTS_LIST_CUSTOMERS | Look up customers. |
| AUTESSA_PAYMENTS_REFUND | Full or partial refund of an online-paid invoice. |
| AUTESSA_PAYMENTS_GET_PAYOUT_STATUS | Latest payout status. |
| AUTESSA_PAYMENTS_CHARGE_CUSTOMER | Not available; never charges. |
Permissions
Who can do what?
| Who | Can |
|---|---|
| Agent builders | Add Payments tools to agents. |
| Your customer | Always pays from their own secure link. |
AI assist
How AI helps here
Agents act through these tools only; amounts are in cents and every result is a plain JSON object with success and a readable error message.
Nothing that creates, sends or changes money happens until a person confirms it.
About the Payments guide →Connected
How it connects to the rest of Autessa Payments
FAQ
Questions about payment tools for agents
Can an agent charge my customer’s card?
No. Charge Customer returns NOT_SUPPORTED. Agents create invoices, and customers pay from the secure link.
What stops duplicate invoices from an agent?
Create Invoice is idempotent per tool invocation, so a retried agent turn can’t create it twice.
Can an agent refund a payment?
Yes, with the Refund tool and the invoice ID, for invoices paid online through Autessa Payments.
100% customizable, code and all
Make Autessa Payments fully your own.
Use it out of the box, then change anything. Ask Autobot, Autessa’s AI builder, for a new field, screen, report, workflow or agent and it builds it into your copy of the app. Or open the code and edit it yourself. Nothing is locked: the app, its data and its code are yours.
Start free and make it yours