View checkout
get_checkoutRead checkout by checkout_id. Returns persisted order status, payment_status, payment_method, items, customer, total_zar and currency. Initial order status is started, not pending. This tool does not return a previously generated payment_url: retain the complete_checkout response in caller context.
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": {
"checkout_id": "<checkout_id>"
},
"name": "get_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkout_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ap2 | No | ||
| items | No | ||
| status | Yes | ||
| message | No | ||
| currency | Yes | ||
| customer | No | ||
| next_step | No | ||
| total_zar | Yes | ||
| item_count | No | ||
| checkout_id | Yes | ||
| payment_url | No | ||
| payment_method | No | ||
| provider_reference | No |