Create checkout
agenta_pay_checkoutCreate a one-off card checkout for a given amount and receive a checkout URL, session ID, and expiry; AgentaOS adds tax. Follow up with agenta_pay_get.
Instructions
Create a checkout session. Creates a one-off checkout for an amount and returns its checkoutUrl to send to the buyer, its sessionId and when it expires. The buyer pays by card; tax is added by AgentaOS. Follow up with agenta_pay_get.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"amount": "<amount>"
},
"name": "agenta_pay_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Pre-populate buyer email | ||
| amount | Yes | Payment amount (e.g. 50.00) | |
| business | No | Act for this business you manage (its id). Omit to act as yourself. | |
| currency | No | Currency code (e.g. EUR, USD) | |
| description | No | Description shown on checkout page |