Skip to Content
Payments & Fund TransfersRefunds

Get a Refund

Retrieve details of a refund that you have created.

GET
/v1/refunds/{id}

Authorization

authorization
headerAuthorizationBearer <SECRET_API_KEY>

Set Your Secret API Key

Path Parameters

id*string

Response Body

OK

*/*
amount?integer

A positive integer value in the specified currency's smallest unit. e.g. for SGD, $10 would be represented as 1000 (cents).

Format int64
createdAt?string

Time at which the object was created. In ISO 8601 format.

currency?string

Three-letter ISO 4217 currency code in full uppercase.

id?string

Unique identifier for the object.

resultCode?string

Additional information when status is FAILED, if available. Possible values: TRANSACTION_NO_LONGER_REFUNDABLE, OTHERS.

status?string

Status of the refund. One of PENDING, SUCCEEDED, or FAILED.

transactionId?string

ID of transaction to refund.

updatedAt?string

Time at which the object was last updated. In ISO 8601 format.

Example Request
curl -X GET 'https://api.tryacme.com/v1/refunds/string'
Example Response
{
  "amount": 0,
  "createdAt": "string",
  "currency": "string",
  "id": "string",
  "resultCode": "string",
  "status": "string",
  "transactionId": "string",
  "updatedAt": "string"
}