Payment Web API
  • Payment API Solutions Map
  • API Common Specifications
  • Payment Status Query API (Common)
  • Refund & Refund Query API (Common)
  • Query Exchange Rate API (Common)
  • Payment Process Flow with Mobile App (Common)
  • API for PC Browser with Wechat Pay/Alipay/UnionPay
    • Payment Request with WeChat Pay
    • Payment Request with Alipay
    • Payment Request with UnionPay-SecurePay
      • Query Transaction with UnionPay-SecurePay
  • API for WeChat Browser with WeChat Pay
    • Payment Request API
    • Query Transaction with WeChat Pay
  • API for WeChat Mini-Program with WeChat Pay
    • Payment Request API
    • Query Transaction API
  • API for Mobile Browser with Alipay
    • Payment Request API
    • Query Transaction API
  • API for Mobile Browser with WeChat
    • Payment Request API
    • Query Transaction API
  • API for Mobile with UnionPay-SecurePay
    • Payment Request API
    • Query Transaction API
    • Code Samples(Web App, Android, iOS)
  • API for Mobile App with WeChat Pay
    • Payment Request API
    • Query Transaction API
  • API for Mobile App with Alipay
    • Payment Request with OTT Pay SDK
    • Implementation with Android App SDK
    • Implementation with iOS App SDK
  • API for In-Store Channels(via Merchant POS/Terminal)
    • API Process Flows
    • Payment Request API
    • Query Transaction API
  • API for Elavon Converge-Hosted payment
    • Payment Request API
    • Query Transaction API
  • API for Global payments PORTICO Ecomm Payment
    • Payment Request API
    • Query Transaction API
  • API for Checkout payment
    • Payment Request API
    • Query Transaction API
  • Appendix A (Data Encryption / Decryption)
  • Appendix B (Response Code)
  • FAQ
  • > Back to Top Page
Powered by GitBook
On this page

Was this helpful?

  1. API for Mobile App with WeChat Pay

Query Transaction API

PreviousPayment Request APINextAPI for Mobile App with Alipay

Last updated 2 years ago

Was this helpful?

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

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

Params Name

Description

Required

Notes

rsp_code

Response code

Y

Please refer to Appendix B

rsp_msg

Response message

Y

data

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

String, "100" for 1.00 dollar

receive_amount

Merchant receives amount

N

String, "100" for 1.00 dollar

pay_amount

Users pay amount

N

String, "100" for 1.00 dollar

refund_fee

Refund fee

N

Only exist for a refunded order

md5

Message digest

Y

Response Message Parameters

Data(JSON Data, to be encrypted):

✅
☑️
☑️
☑️
☑️
☑️