refund
Refund a captured BNPL payment by providing payment ID and amount. Optionally include a reason.
Instructions
Refund a captured payment.
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": {
"payment_id": "<payment_id>",
"amount": "<amount>"
},
"name": "refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_id | Yes | Payment ID to refund | |
| amount | Yes | Refund amount | |
| reason | No | Refund reason |