2.9 Refund Information Query
-
Path:/external/refund/query/v1
-
Method: POST
-
API Description: This is the API for partner to query the refund information, especially the refund status.
-
Usage:Sometimes, the refund 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 Refund result. The partner should use the specific result returned in query API as the Refund 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 Refund status in case the Webhook delivered unsuccessfully..
Request Message
Request Header
Request Body
Request Example
{
"partnerRefundId": "f0136e12-8d3f-11ef-b32d-ca3c6358d263"
}
Response Message
Response Header
Response Body
Response Example
{
"code": "SUCCESS",
"message": "SUCCESS",
"data": {
"partnerOrderId": "1e1e51a8-8d38-11ef-b32d-ca3c6358d263",
"partnerRefundId": "f0136e12-8d3f-11ef-b32d-ca3c6358d263",
"orderId": "189d141e-8d38-11ef-b32d-ca3c6358d263",
"refundId": "1658fd86-8d41-11ef-b32d-ca3c6358d263",
"partnerUid": "01213121131",
"refundAmount": 5000,
"refundType":"ALL_REFUND",
"currency": "MXN",
"refundStatus": "INIT",
"rejectCode": null,
"rejectMsg": null,
"refundTime": "2024-10-14T16:30:39.000+08:00",
"createTime": "2024-10-14T16:30:39.000+08:00",
"updateTime": "2024-10-14T16:30:39.000+08:00",
"test": true
},
"error": null
}