checkout
Optional consent workflow only: create unpaid checkout with independently returned exact browser consent. Reuse preparation/consent on retries and reopen an existing order_url. Default website handoff can finish payment without this agent bounce. Redirects never prove payment.
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": {
"preparation_id": "<preparation_id>",
"consent_id": "<consent_id>"
},
"name": "checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| consent_id | Yes | ||
| preparation_id | Yes |