Query Transaction API

Query Transaction API

☑️ Request Message Parameters

Params Name

Description

Required

Notes

action

Response code

Y

STATUS_QUERY

version

Response message

Y

1.0

merchant_id

Merchant ID

Y

data

order_id

Order ID

Y

md5

Message digest

Y

☑️ Request Example(JSON Data):

{
    "action":"STATUS_QUERY",
    "version":"1.0",
    "merchant_id":"QC00005496",
    "data": "zTadPG0YM4gD1WOFqxg7wn3vmU20NjCnCUOOnE9mTTkxYraQDflljA8W3azYG9MuOvOyl3cZhafH+io6PiWdZCwRmi3HGa19BvT215IIxRy2HvYe0Sqs2lxshm9E4y5F1gJ7HHMTqpY0wIA4DsuWA97UC55adB2G86VbanI7B5a3kErApr5mbAoE7wcNbDJfGh4CBbSoRxQyiGZ48SvYuIW/sclT4yu6okjo6CY3xL4=",
    "md5":"6AFB2E94A70D9A208F101723700EB287"
}

☑️ Data(JSON Data, to be encrypted):

Params Name

Description

Required

Notes

order_id

Order ID

Y

☑️ Response Message Parameters

Params Name

Description

Required

Notes

rsp_code

Response code

Y

Please refer to Appendix B

rsp_msg

Response message

Y

data

order_status

Order status

Y

md5

Message digest

Y

☑️ Data(JSON Data, to be encrypted):

Params Name

Description

Required

Notes

order_status

Order status

Y

trade_time

Transaction time

N

order_id

Order ID

N

buyer_login_id

Buyer ID

N

total_amount

Order total amount

N

receive_amount

Merchant receives amount

N

pay_amount

Users pay amount

N

refund_fee

Refund fee

N

Only exist for a refunded order

Last updated