Skip to main content
POST
Refund a settled transaction

Authorizations

Api-Key
string
header
required

Path Parameters

transactionId
string<uuid>
required

The ID of the transaction to refund

Body

application/json

Refund request

amount
integer

The refund amount in cents (merchant currency). If omitted, refunds the full settlement amount.

Required range: x >= 0

Response

Successful operation

transactionId
string<uuid>
required

The transaction ID.

status
enum<string>
required

The transaction status.

Available options:
authorized,
declined,
settled
declinedReason
string

Present when status is declined. The reason for the decline.

completionReason
enum<string>

Present when status is settled. Either SETTLEMENT or REFUND.

Available options:
SETTLEMENT,
REFUND