Skip to Content
CollectionsHosted PaymentsRefunds

Get a Hosted Refund

GET
/v1/hosted-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. $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.

hostedPaymentId?string

ID of the hosted payment this refund is for.

id?string

Unique identifier for the object.

referenceId?string

A string to reference (e.g. your refund ID, etc.) which can be used to reconcile the hosted refund with your own systems.

status?string

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

updatedAt?string

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

Example Request
curl -X GET 'https://api.tryacme.com/v1/hosted-refunds/string'
Example Response

A refund the bank has completed.

{
  "id": "hrfnd_0J7QA2M8V5X1K",
  "status": "SUCCEEDED",
  "amount": 420,
  "currency": "SGD",
  "hostedPaymentId": "hpymt_0J7Q9A2M8V5X1",
  "referenceId": "RFND-10042",
  "createdAt": "2026-09-09T06:44:34.233697Z",
  "updatedAt": "2026-09-09T06:44:36.353554Z"
}