Get Checkout Status
checkout_statusCheck the payment status of a checkout session. Use this to poll for completion after sending the patient a payment link (the payment_url from checkout_create). When the patient pays via the link, this tool detects the payment, triggers order fulfillment, and returns the confirmation. Poll every 5-10 seconds while waiting. Requires authentication.
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": "checkout_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkout_id | Yes | Checkout session ID to check payment status for | |
| bearer_token | No | Authentication token for the patient session |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |