Simulate a test payment
simulate_test_paymentMove a test payment to scanned, paid, expired, or failed to trigger matching webhook events and test payment flows, including late-payment scenarios.
Instructions
Moves a test payment to scanned, paid, expired or failed, as if the customer and the bank had acted, and the store's test webhook endpoints get the matching event. Test payments only. To try a late payment, simulate expired and then paid. A status the payment can't move to changes nothing.
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": {
"id": "<id>",
"status": "<status>"
},
"name": "simulate_test_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The test payment's id. | |
| status | Yes |