Pay for an order
checkout_orderLike request_order, but the customer pays now. Only when products or catalog show payments.online true and the estimate has fixed prices. Same inputs, after the customer approves the itemized total. With shared_payment_token (a Stripe token you issued to payments.agent_pay.network_business_profile for this total in usd) it charges at once: payment_status paid, requires_action for a card check, or an error (retry with a new token and the same request_key). Without one it returns checkout_url for the customer to pay on Stripe. Never ask for or pass card numbers. The money goes to the business; it confirms timing in the conversation. No stock hold.
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": {
"business": "<business>",
"lines": "<lines>",
"customer_name": "<customer_name>",
"fulfillment": "<fulfillment>",
"catalog_revision": "<catalog_revision>",
"expected_estimate_cents": "<expected_estimate_cents>",
"customer_authorized": "<customer_authorized>",
"request_key": "<request_key>"
},
"name": "checkout_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Delivery ZIP (delivery only) | |
| note | No | ||
| lines | Yes | ||
| address | No | Delivery address (delivery only) | |
| business | Yes | ||
| fulfillment | Yes | ||
| request_key | Yes | ||
| customer_name | Yes | ||
| preferred_time | No | ||
| catalog_revision | Yes | ||
| customer_authorized | Yes | ||
| shared_payment_token | No | Stripe shared payment token (spt_…) issued to agent_pay.network_business_profile for this total | |
| expected_estimate_cents | Yes |