Skip to main content

Query Collection Result

Query collection result API used for 3rd party application to collection order status

EndPoint#

POST /binancepay/openapi/collection/query

Request Parameters#

AttributesTypeRequiredDescription
orderIdLongNOcollection order id in binance pay system, either trade no or collection order id should be provided
clientTradeNoStringNOtrade no in client system, either trade no or collection order id should be provided

Response#

NameTypeRequiredDescription
statusStringYESstatus of the API request, "SUCCESS" or "FAIL"
codeStringYESrequest result code, refer to Result Code
dataQueryCollectionOrderRespYESresponse body, refer to QueryCollectionOrderResp
errorMessagestringYES

QueryCollectionOrderResp:#

AttributesTypeRequiredDescription
orderIdLongYES
clientTradeNoStringYES
statusStringYES"INITIAL", "PENDING", "PAID"

Result Code#

NameCodeReason
PAYMENT_C2C_COLLECTION_ORDER_NOT_FOUND403208collection order not found