Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

The refund object

Money given back from a payment that succeeded, to the card it was paid with.

A refund gives back all or part of a payment that succeeded, to the card it was paid with. A payment can be refunded as many times as it takes, never more in total than was captured. A refund is final once made.

Attributes

NameTypeDescription
idstringUnique identifier, starting re_.
objectstringAlways refund.
livemodebooleantrue in live mode.
paymentstringThe payment it gives back from, pay_....
amountintegerIn cents.
currencystringThe payment's currency.
statusenumpending until the card's bank answers, then succeeded or failed.
reasonenumrequested_by_customer, duplicate, fraudulent or other.
failure_reasonenum or nullWhy the bank returned it: declined, expired_or_canceled_card, lost_or_stolen_card, charge_for_pending_refund_disputed or unknown.
destinationobjectHow the money goes back. type is reversal (made the day the payment was captured: the charge comes off the statement) or refund (a credit to the card).
createdtimestampWhen it was made.
succeeded_attimestamp or nullWhen the bank took it.
failed_attimestamp or nullWhen the bank returned it.

A failed refund gave nothing back, so it no longer counts against the payment: what it would have given back can be refunded again.

Example

json
{  "id": "re_0d1143ee96c031b8ebefe0df",  "object": "refund",  "livemode": false,  "payment": "pay_baa7f53c0bc0867df75250d9",  "amount": 1000,  "currency": "usd",  "status": "pending",  "reason": "requested_by_customer",  "failure_reason": null,  "destination": {    "type": "refund"  },  "created": "2026-11-27T14:05:14Z",  "succeeded_at": null,  "failed_at": null}

Endpoints

EndpointWhat it does
POST /v1/refundsGive back all or part of a payment.
GET /v1/refunds/{id}Get a refund by its ID.
GET /v1/refundsList your refunds, newest first.