Pay an order
pay_orderPay an order with the account's own means: its team's prepaid balance, its saved card (off-session; card numbers are never accepted), or - for teams with billing terms - its periodic invoice. Call with confirm=false first, show the user the amount and method, then confirm=true with the confirmation_id. If the card needs the cardholder's approval (3-D Secure) nothing is charged and a payment link is returned. Limited per order and per day for this key.
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": {
"order_number": "<order_number>",
"method": "<method>"
},
"name": "pay_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | prepaid_balance: the team's prepaid balance. card_on_file: the account's primary saved card, charged off-session. on_account: teams with billing terms - the order goes on the team's periodic invoice, nothing is charged now. | |
| confirm | No | false: show what would be charged and get a confirmation_id. true: charge it. | |
| order_number | Yes | The eVerbary order number, e.g. 43392. | |
| confirmation_id | No | Required with confirm=true: the confirmation_id from the confirm=false call (valid 15 minutes). Retrying with it never charges twice. |