Skip to content

Status Check API

This resource may be used for reconciliation purposes, to get the current order details.

Authentication:
As explained in the Authentication section, this API requires the Authentication token as a header.

Coordinates
Staging: seller-network-testing.pincode.com
Production: shopping-network.phonepe.com

Resource: POST /tsp/order/v1/status

curl --request POST \
--url 'https://seller-network-testing.pincode.com/tsp/order/v1/status' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: O-Bearer <token>' \ 
--data ' {
   "requestContext": {
      "requestId": "OMS2402220921362644329327",     // This has to be unique for each call
      "transactionId": "OD2401121901140533863584"
   },
   "orderId": "OD2401121901140533863584"
 }
'
import requests

url = 'https://seller-network-testing.pincode.com/tsp/order/v1/status'
headers = {
    'Accept': 'application/json',
    'Content-Type': 'application/json',
    'Authorization': f'O-Bearer {token}'
}
data = {
    "requestContext": {
        "requestId": "OMS2402220921362644329327",     // This has to be unique for each call
        "transactionId": "OD2401121901140533863584"
    },
    "orderId": "OD2401121901140533863584"
}

response = requests.post(url, headers=headers, json=data)

Response: Same as indicated in the callback section, but you’ll get the response in sync.