Query Transaction status

• POST /v3/b2b/order/status

Precautions: This API filters the specific transaction in the response by a PingPong order ID. User can call this API for checking the status of a specific order.

Request Sample

curl --location --request POST 'https://test2-business-cgi.pingpongx.com/v3/b2b/order/status' \
--header 'Authorization: Bearer a94890a8d16a4ba7b3ab64036d9624e189dd62e96aca480b91f824d0b5e0dcbe' \
--header 'Content-Type: application/json' \
--header 'timestamp: 1637564397860' \
--header 'sign: 4a70672b69b59d24d1ef05b716b1fc1d89e3e87e2b4921cb5847b6230e91c472' \
--header 'app_id: 80242303107221' \
--data-raw '{
      "open_id":"MC27502480644374528",
      "order_id":"W02202101061300335539414"
}'

Request Schema

Parameter Type Requried Description
open_id String M User id in PingPong
order_id String O PingPong Order ID,Choose one of the two. PingPong OrderId is preferred
partner_order_id String O Partner Order ID,Choose one of the two. PingPong OrderId is preferred

Response Sample

{
    "code": 0, 
    "message": "OK", 
    "data": {
        "status": "SUCCESS",
        "fail_reason": "DISPATCH_DECLINED"
    }
}

Response Schema

Parameter Type Description
status String PENDING,SUCCESS,FAIL
fail_reason String FROZEN_FAIL,RISK_DECLINED,INBOUND_DECLINED,USER_STATUS_CHANGE,DISPATCH_DECLINED
Copyright © pingpongx.com 2021 all right reserved,powered by Gitbooklast modified: 2021-11-23 10:08:57

results matching ""

    No results matching ""