Skip to main content

Refund

Refund

POST/pay/trade/refund

Submit a full or partial refund request for a paid order.

Bodyapplication/x-www-form-urlencoded

pay_memberidstringrequiredsign

Merchant ID.

transaction_idstringrequiredsign

Platform transaction ID.

pay_orderidstringrequiredsign

Merchant order number.

currencystringrequired

Order currency.

pay_amountstringrequired

Original order amount.

refund_amountstringrequired

Refund amount (supports partial refund).

refund_reasonstringrequired

Reason for the refund.

pay_md5signstringrequired

Response

memberidstring

Merchant ID assigned by the platform.

transaction_idstring

Platform transaction ID.

orderidstring

Merchant order ID.

currencystring

Order currency.

amountstring

Original order amount.

refund_orderidstring

Refund order ID. Returned when the refund request is accepted.

refund_amountstring

Refunded amount. Supports partial refunds.

refund_reasonstring

Refund reason submitted in the request.

returncodestring

Result code. "00" indicates success.

refund_messagestring

Refund status message: V0000:OK or V0011:ERROR.