Skip to main content
This endpoint allows you to create a refund for a payment. You can specify the amount to be refunded, the reason for the refund, payment_id and unique reference.

Refund Statuses


Refund Response Object

string
Refund record identifier
string
Client-provided unique refund reference. Length between 1 and 100 characters.
string
Identifier of the original payment action
number
Refund amount
string
ISO 4217 three-letter currency code of the original payment
string
Reason provided for issuing the refund. Maximum length of 100 characters.
string
Current refund processing status (pending|successful|failed)
string
Explanation for the current status
string
Account associated with the refund
string
Owning entity identifier
number
The Unix timestamp in milliseconds indicating the creation time

Create a Payment Refund

Request Fields

string
Identifier of the payment intent action to be refunded
string
Client-provided unique reference for the refund request. Length between 1 and 100 characters.
string
Optional reason for requesting the refund. Maximum length of 100 characters.
number
Amount to refund; must be greater than zero

Response

Retrieve Payment Refunds

Returns paginated list of payment refunds with optional filtering by status, reference, currency, date range, account_id and entity_id.

Query Parameters

string
Filter payment refunds by status (pending|successful|failed)
string
Filter payment refunds by client-provided reference identifier
string
Filter payment refunds by ISO currency code (e.g. USD)
string
Start date for filtering refunds (ISO 8601 format or Unix timestamp in milliseconds)
string
End date for filtering refunds (ISO 8601 format or Unix timestamp in milliseconds)
string
Cursor for fetching the previous page of results
string
Cursor for fetching the next page of results
number
Number of records to return per page (default: 20, max: 100)
string
ULID of the account to filter payment refunds
string
ULID of the entity to filter payment refunds

Response

Retrieve a Payment Refund by ID

Returns details of a specific payment refund identified by its ULID.

Request Parameters

string
ULID of the payment refund to retrieve
string
ULID of the entity the payment refund belongs to (optional, used for additional access control)

Response

Payment Refund Webhook Events

Payment refund events are sent to your registered webhook endpoint when a refund is completed, or fails. You can listen for the following events:

Payment Refund Event Payloads