Retrieve a refund by its reference
get_refund_by_referenceFetch a refund by its reference to view refund details; unknown references return a 404 resource_missing error.
Instructions
Retrieve a refund by its reference.
Retrieve a refund by its reference (unique per mode). A refund created without one is given a generated reference, returned in its reference field. An unknown reference returns 404 resource_missing.
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": {
"reference": "<reference>"
},
"name": "get_refund_by_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reference | Yes | The `reference` you gave the payment. |