Authorizations
The API key. For more details, refer to API key.
In the API playground, enter your API secret, and your API key will be accordingly calculated.
Path Parameters
The refund order ID.
Body
The request body to update a refund order.
The address where the refunded cryptocurrency will be sent.
"0x9876543210abcdef1234567890abcdef12345678"
Response
The request was successful.
The refund order ID.
"R20250304-M1001-1001"
The ID of the cryptocurrency used for refund.
"ETH_USDT"
The ID of the blockchain network on which the refund transaction occurs.
"ETH"
The amount in cryptocurrency to be returned for this refund order.
"0.0025"
The recipient's wallet address where the refund will be sent.
"0x9876543210abcdef1234567890abcdef12345678"
The current status of the refund order. For information about transaction status, see Transaction statuses and sub-statuses.
Pending
: The refund order has been created but the transaction has not been initiated.Processing
: The refund order is currently being processed, with at least one refund transaction in progress.Completed
: All refund transactions have been completed successfully.PartiallyCompleted
: Some refund transactions have been completed successfully, while others have failed.Failed
: All refund transactions have failed.PendingConfirmation
: The refund order has been created but the address to send (to_address
) has not been specified. Once you use the Update refund order operation to specify the address, the status will be updated toPending
.
Pending
, Processing
, Completed
, PartiallyCompleted
, Failed
, PendingConfirmation
"Pending"
The request ID provided by you when creating the refund request.
"123e4567-e89b-12d3-a456-426614174004"
The ID of the pay-in order corresponding to this refund.
"O20250304-M1001-1001"
The merchant ID.
"M1001"
Specifies the source of funds for the refund:
Merchant
: The refund amount will be deducted from the merchant balance.Psp
: The refund amount will be deducted from the developer balance.
Merchant
, Psp
"Merchant"
The creation time of the refund order, represented as a UNIX timestamp in seconds.
1744689600
The last update time of the refund order, represented as a UNIX timestamp in seconds.
1744689600
The initiator of this settlement request. Can return either an API key or the Payments App's ID.
- Format
api_key_<API_KEY>
: Indicates the settlement request was initiated via the Payments API using the API key. - Format
app_<APP_ID>
: Indicates the settlement request was initiated through the Payments App using the App ID.
"b2ae1b5aaade686c968ef2bbd31cc75ba94e5a85fd9cb0b85b81dcc15f920e9d"
An array of transactions associated with this refund order. Each transaction represents a separate blockchain operation related to the refund process.
Whether to charge developer fee to the merchant for the refund.
-
true
: The fee amount (specified inmerchant_fee_amount
) will be deducted from the merchant's balance and added to the developer's balance -
false
: The merchant is not charged any developer fee.
false
The developer fee amount to charge the merchant, denominated in the cryptocurrency specified by merchant_fee_token_id
. This is only applicable if charge_merchant_fee
is set to true
.
"0.0001"
The ID of the cryptocurrency used for the developer fee. This is only applicable if charge_merchant_fee
is set to true.
"ETH_USDT"