Refund & Refund Query API (Common)
For all the payment methods
Last updated
For all the payment methods
Last updated
Request Message Parameters
Params Name
Description
Required
Notes
action
Action name
Y
REFUND
version
Version number
Y
1.0
merchant_id
Merchant ID
Y
data
Encrypted Transaction Data
Y
refer to "Data" below
md5
Message digest
Y
Params Name
Description
Required
Notes
order_id
Order ID
N
Optional. A new order id (Refund Order ID) will be generated for refund instead of old orderID
ori_order_id
Original order ID
Y
refund_amt
Refund amount
Y
String, "100" for 1.00 dollar.
Response Message Parameters
Params Name
Description
Required
Notes
rsp_code
Response code
Y
Please refer to Appendix B
rsp_msg
Response message
Y
data
Encrypted Transaction Data
Y
refer to "Data" below
md5
Message digest
Y
Params Name
Description
Required
Notes
order_id
Order ID
N
Refund Order ID
trade_time
Transact time
N
refund_amt
Refund amount
Y
String, "100" for 1.00 dollar.
Params Name
Description
Required
Notes
action
Action name
Y
REFUND_STATUS_QUERY
version
Version number
Y
1.0
merchant_id
Merchant ID
Y
data
Encrypted Transaction Data
Y
refer to "Data" below
md5
Message digest
Y
Params Name
Description
Required
Notes
order_id
Order ID
N
Refund Order ID
Params Name
Description
Required
Notes
rsp_code
Response code
Y
Please refer to Appendix B
rsp_msg
Response message
Y
data
Encrypted Transaction Data
Y
refer to "Data" below
md5
Message digest
Y
Params Name
Description
Required
Notes
order_id
Order ID
Y
Refund Order ID
order_status
Order status
Y
""success"
refund_amt
Refund amount
Y
String, "100" for 1.00 dollar.