Skip to main content
GET
Get Refund Payments | Refunds API
This API is used to get the refund details for a given payment request id. It returns information about the refund transaction including the amount, status, and related payment details.

Authorization

Bearer <token>
Using a sandbox token with a production payment request ID, or a production token with a sandbox payment request ID, will result in an error.
Request Body Schema
string
required
The payment request id is required for this step, which you’ll receive it from the process-payment API when generating a payment request.
Response The API returns a refund payment object with the following fields:
string
A unique UUID for the refund transaction.
string
The ID of the original payment request. Refer to process-payment
string
The unique identifier for the payment transaction.
string
The current status of the refund payment
(e.g., INITIATED,PENDING,COMPLETED,FAILED) - INITIATED : The refund request has been raised - PENDING : The refund is being ready to be processed - COMPLETED : The refund payment has been completed - FAILED : The refund payment has failed - CANCELLED : The refund payment has been cancelled
number
The original amount that was paid.
number
The amount that was refunded.
string
The three-letter currency code (e.g., GBP).
string
The notes associated with the refund.
string
The ID of the order associated with this refund.
string
The type of refund (e.g., PARTIAL, FULL).
string
The timestamp when the refund was created.
string
The timestamp when the refund was last updated.
object
Only present when metadata was supplied on the refund. See Initiate Refund for the field limits.