2.5 Payment Order Information Query
-
Path: /external/order/queryByPartnerOrderId/v1
-
Method: POST
-
API Description: This is the API for partner to query the payment order information, especially the order status.
-
Usage:Sometimes, the payment order information query API might return the error due to the some unpredictable reasons. The partner should not regard the error of query API as the payment order result. The partner should use the specific result returned in query API as the payment order result.
-
Supplementary Instruction: Although the DiDi will send the Webhook to the partner, the Query API is mandatory. This is a fallback (backstop) strategy for the partner to retrieve the order status in case the Webhook delivered unsuccessfully.
Request Message
Request Headers
Request Body
Request Example
{
"partnerOrderId": "1e1e51a8-8d38-11ef-b32d-ca3c6358d263"
}
Response Message
Response Header
Response Body
Response Example
{
"code": "SUCCESS",
"message": "SUCCESS",
"data": {
"orderId": "189d141e-8d38-11ef-b32d-ca3c6358d263",
"partnerOrderId": "1e1e51a8-8d38-11ef-b32d-ca3c6358d263",
"partnerUid": "01213121131",
"partnerOrderAmount": 5000,
"currency": "MXN",
"orderStatus": "PENDING",
"redirectUrl": "<https://www.merchant.com/h5/orderInfo/index.html>",
"redirectAppLink": "clientA://one/webpage?weburl=https%3A%2F%2Fapi.merchant-a.com%2Fcheckout%2Fresult",
"fuid": 1231413141,
"metadata": "{}",
"paymentEntryUrl": "<https://pay.didiglobal.com/global-bnpl/kyc/?credit_type=full&fuid=1231413141&orderId=189d141e-8d38-11ef-b32d-ca3c6358d263>",
"expireTime": "2026-10-14T18:26:00.000-06:00",
"finishTime": null,
"createTime": "2026-10-14T02:30:39.000-06:00",
"updateTime": "2026-10-14T02:30:39.000-06:00",
"orderCreateTime": "2026-10-14T02:30:39.000-06:00",
"test": true
},
"error": null
}