Refunds

Create, retrieve, update, and list refunds.

View as Markdown

A refund reverses all or part of a previously succeeded payment. Funds are returned to the customer's original payment method, typically within 5–10 business days depending on the card network.

Illustrative content. Hand-authored to demonstrate the Standard/Advanced pattern; the production page will be generated from the VINR OpenAPI spec (roadmap item #1). Field names are representative.

The refund objectAsk

FieldTypeDescription
idstringUnique identifier for the refund, e.g. re_7Kp1mQ.
paymentstringID of the payment being refunded.
amountintegerAmount refunded, in the smallest currency unit (e.g. cents).
currencystringThree-letter ISO currency code matching the original payment.
statusenumOne of pending, succeeded, or failed.
reasonenumOne of duplicate, fraudulent, or requested_by_customer.
createdintegerUnix timestamp when the refund was created.

Create a refundAsk

Pass the payment ID and an optional amount. If amount is omitted, the full uncaptured amount is refunded.

Retrieve a refundAsk

Fetch a refund by its ID to check its current status.

Update a refundAsk

Update the metadata on a refund. Only the metadata field is editable after creation.

List refundsAsk

Returns a paginated list of refunds, newest first. Use the payment filter to scope results to a single payment.

ParameterTypeDescription
paymentstringFilter refunds by payment ID.
limitintegerNumber of results to return. Default 10, max 100.

refund.created, refund.updated. See Events.

Was this page helpful?