Simulate payment (test mode)
simulate_paymentSimulate test invoice payment outcomes—paid, partial, overpaid, or expired—to fire the same webhooks as real transactions for integration testing.
Instructions
Test keys only: pretend the customer paid, paid part, overpaid, or let the invoice expire. Fires the same webhooks as real payments.
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>",
"outcome": "<outcome>"
},
"name": "simulate_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| amount | No | For partial / overpaid | |
| outcome | Yes |