Retrieve (verify) a payment by your reference
get_payment_by_referenceRetrieve and verify a payment using the reference you assigned, so you can find it when you only have your order ID instead of the Pletopay payment ID.
Instructions
Retrieve (verify) a payment by your reference.
Retrieve a payment by the reference you gave it. Useful when you stored your order id but not the Pletopay payment 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": {
"reference": "<reference>"
},
"name": "get_payment_by_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expand | No | Embed related objects instead of their ids. `customer` embeds the customer. | |
| reference | Yes | The `reference` you gave the payment. |