Payment Web API
Search
K

Refund & Refund Query API (Common)

For all the payment methods

Refund Transaction API

☑️
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

Data(JSON Data, to be encrypted):

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

Data(JSON Data, to be encrypted):

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.

Query Refund API

☑️
Request Message Parameters

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

Data(JSON Data, to be encrypted):

Params Name
Description
Required
Notes
order_id
Order ID
N
Refund Order ID

☑️
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

Data(JSON Data, to be encrypted):

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.