Simulate checkout payment (sandbox only)
simulate_checkout_paymentMark a sandbox checkout as paid to trigger the checkout.completed event. Use this tool to test payment flows without processing real transactions.
Instructions
Mark a SANDBOX checkout as paid so you can observe checkout.completed. Live checkouts return sandbox_only. Requires scope merchant_write.
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": "simulate_checkout_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkout_id | Yes | Sandbox checkout id (chk_…). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| success | Yes | ||
| checkout_id | Yes |