Get PayHere payment(s) by order ID
get_paymentRetrieves all payment attempts linked to a specific order ID, including successful, refunded, and charged back transactions.
Instructions
Returns all payment attempts (success, refunded, chargedback) associated with the given order_id. PayHere does not support listing by date range or status — only by order_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | The order_id used when initiating the payment |