Skip to main content

Get Refund Request For a Payment

https://api-sandbox.letpay.io/refund/payment/MY_PAYMENT_TOKEN

Retrieves the all refund requests of a payment.

Possible statuses:

  • REQUESTED: The refund request has been received.
  • PROCESSING: The refund is being processed.
  • COMPLETED: The refund has been successfully executed.
  • FAILED: The refund has failed and could not have been completed.
AUTHORIZATIONAPI Key
KeyX-Auth-Token
ValueMY_ACCESS_TOKEN

Example Request

Example Request

200 - Authenticated
    curl --location 'https://api-sandbox.letpay.io/refund/payment/MY_PAYMENT_TOKEN' \
--header 'X-Auth-Token: MY_ACCESS_TOKEN'

Example Response

Header
  Content-Type: application/json
Body
    [
{
"refund_id": 1,
"payment_token": "fa5ec5cc-d4d5-439e-8fb5-0368d409dc9b",
"created_at": "2019-06-25",
"refund_status": "PROCESSING"
}
]