payment_refund_retrieve
Retrieve a refund's details by refund ID to check its status and amount. Use the optional sub-account ID to look up refunds on behalf of a sub-account.
Instructions
Retrieve a refund by ID.
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>"
},
"name": "payment_refund_retrieve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Refund ID | |
| on_behalf_of | No | Sub-account ID to act on behalf of. Pass the short account ID (e.g. "CB4488338944") to operate on a sub-account; omit to operate on the master account. |