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.
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. |