Skip to main content
A payment refund returns funds to a customer for a charge collected via a Payment Intent. Create a refund by referencing the original intent action; Nuvion processes it asynchronously.

The Refund object

string
Unique refund identifier.
string
Client-provided unique refund reference. 1–100 characters.
string
The ID of the Intent Action being refunded.
number
Refund amount in the smallest currency unit. 100 = $1.00 USD.
string
ISO 4217 currency code of the original payment.
string
Reason provided for issuing the refund, submitted as reason in the request. Maximum 100 characters.
string
Refund status. One of pending, successful, or failed.
string
Explanation for the current status. Present when status is failed.
string
The ID of the account the refund is debited from.
string
The ID of the entity that owns the account.
number
Unix timestamp in milliseconds when the refund was created.
Example refund object

Refund statuses

Subscribe to payment_refund.completed and payment_refund.failed to track a refund in real time. See Event types for the full payload schema.

Create a payment refund

POST /refunds Refunds all or part of a charge collected via a card or Apple Pay Intent Action.

Request parameters

string
required
The ID of the Intent Action to refund. Returned by Confirm a payment intent.
string
required
Client-provided unique reference for the refund request. 1–100 characters.
number
required
Amount to refund, in the smallest currency unit. 100 = $1.00 USD. Must be greater than zero, and cannot exceed the amount still available to refund on the original payment.
string
Reason for requesting the refund. Returned as refund_reason in the response. Maximum 100 characters.
string
Defaults to the authenticating entity when omitted. Required when acting on a child entity. See Managing child entities for details.

Request

Response

Returns the created refund with status: "pending".

Errors


Retrieve a payment refund

GET /refunds/{id} Returns a single payment refund.
string
required
Payment refund ID.
string
Defaults to the authenticating entity when omitted. Required when acting on a child entity. See Managing child entities for details.

Request

Response

Errors


List payment refunds

GET /refunds Returns a paginated list of payment refunds.
string
Filter by status.
string
Filter by client-provided reference.
string
Filter by currency.
string
Filter by creation date start. ISO 8601 or Unix timestamp in milliseconds.
string
Filter by creation date end. ISO 8601 or Unix timestamp in milliseconds.
string
Filter by account.
string
Defaults to the authenticating entity when omitted. Required when acting on a child entity. See Managing child entities for details.
integer
Number of records to return. Between 1 and 100. Defaults to 20.
string
Cursor for the next page.
string
Cursor for the previous page.

Request

Response

Like List payment intents, this endpoint returns the page under data.items, not data.data.