Refund
Refund
POST
/pay/trade/refundSubmit a full or partial refund request for a paid order. This endpoint does not require authentication.
SDK method
refund()ParametersRequest body
pay_memberidstringrequiredSDK property:
payMemberid. Merchant IDtransaction_idstringrequiredSDK property:
transactionId. Platform transaction IDpay_orderidstringrequiredSDK property:
payOrderid. Merchant order numbercurrencystringrequiredOrder currency
pay_amountstringrequiredSDK property:
payAmount. Original order amountrefund_amountstringrequiredSDK property:
refundAmount. Refund amount (partial supported)refund_reasonstringrequiredSDK property:
refundReason. Refund reasonpay_md5signstringrequiredsignSDK property:
payMd5Sign. MD5 signatureResponse
**200** — `PayTradeRefundResponse` via `getResult()`.