Skip to main content

Get a Refund

GET 

/refunds/:id

Retrieve details of a refund that you have created.

Request

Path Parameters

    id stringrequired

Responses

OK

Response Headers

  • Acme-Mode

    string

    Has the value LIVE if the data exists in live production mode or the value TEST if the data exists in test sandbox mode.

Schema

    id stringrequired

    Unique identifier for the object.

    transactionId stringrequired

    ID of transaction to refund.

    amount integerrequired

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

    currency stringrequired

    Possible values: [SGD]

    Three-letter ISO 4217 currency code in full uppercase.

    status stringrequired

    Possible values: [PENDING, SUCCEEDED, FAILED]

    Status of the refund

    resultCode string

    Possible values: [TRANSACTION_NO_LONGER_REFUNDABLE, OTHERS]

    Additional information when status is FAILED, if available.

    createdAt stringrequired

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

    updatedAt stringrequired

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

Loading...