refund_payment
Refund a JazzCash transaction by providing the original transaction reference and amount. Irreversible — moves money back to the customer. Applicable to card transactions; verify for wallet/OTC.
Instructions
Refund a JazzCash transaction (authorize/Refund). amount is in PKR rupees. IRREVERSIBLE — moves money back to the customer. Per JazzCash, refunds apply to card transactions; verify applicability for wallet/OTC.
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": {
"txn_ref": "<txn_ref>",
"amount": "<amount>"
},
"name": "refund_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Refund amount in PKR rupees (converted to paisa automatically) | |
| txn_ref | Yes | Original transaction reference to refund |