# 3、Query Orders
# Query Payment Order
Request Method
- POST
Request URL
/api/v3/ind/query/collectingOrder
Request Type
"Content-Type": "application/json; charset=utf-8"
Request Headers
| Parameter | Description | Example Value |
|---|---|---|
| access_key | Obtained from the merchant backend | pFqV75X3 |
| timestamp | 13-digit Unix timestamp (milliseconds) | 1679724896223 |
| nonce | UUID V4 format | 794c26b0-d33c-4394-b2bb-c485eca16d9e |
| sign | Signature calculated based on the signing rule | kAXyh+eerqrefyaF8dyFB0M4FVo= |
Request Parameters
| Parameter | Type | Description | Example Value | Required |
|---|---|---|---|---|
| externalOrderId | String | Merchant order number, max length 64 characters | 241534072867503522 | Yes |
| orderId | String | System order number | OCURRPAID202308220659471692687587691... | Yes |
Response Headers
Header: { 'Content-Type': 'application/json;charset=utf-8' }
Response Example
{
"code": "200",
"success": true,
"msg": "成功",
"msgEn": "SUCCESS",
"data": [{
"orderId": "OCURRPAID202308220659471692687587691...",
"cashierId": "OCURRPAID202308220659471692687587416...",
"orderType": 1,
"orderResourceType": 2,
"userId": "1663371399710216194",
"orderStatus": 1,
"orderTime": 1692687588000,
"channelOrderId": "230822170261LXvDYM",
"externalOrderId": "716134866255702461",
"orderAmount": "40.2",
"orderActualAmount": null,
"orderFee": null,
"orderPayTime": null,
"orderCompleteTime": null,
"currencyType": "INR",
"payType": 102,
"tradeNote": "123",
"notifyUrl": "http://192.168.1.135:30001/",
"markStatus": 0,
"errorMsg": "",
"errorMsgEn": "",
"accountType": "",
"accountName": "",
"accountNo": "",
"userInfoName":"",
"userInfoNo":"",
"businessId":"1745463857036j709ybxy6j47mvouzg8",
"orderTypeCode": "Pay",
"orderResourceTypeCode": "Currency",
"orderStatusCode": "Accepted",
"payTypeCode": "BANK"
}]
}
Response Parameters
| Param | Type | Description |
|---|---|---|
| accountName | String | Account name |
| orderActualAmount | String | Actual order amount |
| orderPayTime | int64 | Order payment time |
| orderCompleteTime | int64 | Order completion time |
| errorMsg | string | Error message |
| errorMsgEn | string | Error message (English) |
| orderEntryAmount | String | Order entry amount |
| orderFee | string | Order fee |
| accountNo | String | Account number |
| accountType | String | Account type |
| cashierId | String | Cashier ID |
| channelOrderId | String | Associated channel order ID |
| currencyType | String | Currency type (e.g., BRL) |
| externalOrderId | String | Merchant order ID |
| notifyUrl | String | Callback URL |
| orderAmount | String | Order amount |
| orderId | String | Order ID |
| orderResourceType | int64 | Order business type (2 - fiat order) |
| orderStatus | int64 | Order status (1 - Pending, 2 - Paid) |
| orderTime | int64 | Order creation time |
| orderType | int64 | Order type (1 - Collecting, 2 - Payout) |
| payType | int64 | Payment type (102 - BANK, 123 - UPI) |
| tradeNote | String | Trade note |
| userId | String | User ID |
| payTypeCode | String | Payment type code |
| orderStatusCode | String | Order status code |
| orderTypeCode | String | Order type code |
| userInfoName | String | User info name |
| userInfoNo | String | User info ID |
| businessId | String | Business ID |
# Query Transfer Order
Request Method
POST
Request URL
/api/v3/ind/query/transferOrder
Request Type
"Content-Type": "application/json; charset=utf-8"
Request Headers
| Param | Description | Example |
|---|---|---|
| access_key | Merchant backend key | pFqV75X3 |
| timestamp | Unix timestamp (13 digits, milliseconds) | 1679724896223 |
| nonce | UUID V4 | 794c26b0-d33c-4394-b2bb-c485eca16d9e |
| sign | Signature string | kAXyh+eerqrefyaF8dyFB0M4FVo= |
Request Parameters
{
"externalOrderId": "241534072867503522",
"orderId": "OCURRDRAW202308220659491692687589549DOCK02OO0000000200003653"
}
Request Parameter Descriptions
| Param | Description | Required |
|---|---|---|
| externalOrderId | Merchant order number (max=64, String) | ✅ |
| orderId | System order number (String) | ✅ |
Response Type
Header: { 'Content-Type': 'application/json;charset=utf-8' }
Response Example
{
"code": "200",
"success": true,
"msg": "成功",
"msgEn": "SUCCESS",
"data": [
{
"orderId": "OCURRDRAW202308220659491692687589549DOCK02OO0000000200003653",
"cashierId": "",
"orderType": 2,
"orderResourceType": 2,
"userId": "1663371399710216194",
"orderStatus": 1,
"orderTime": 1692687590000,
"channelOrderId": "",
"externalOrderId": "826169739606698345",
"orderAmount": "40.2",
"orderActualAmount": "41",
"orderFee": "0.8",
"orderPayTime": null,
"currencyType": "INR",
"payType": 202,
"tradeNote": "123",
"notifyUrl": "http://192.168.1.135:30001",
"markStatus": 0,
"errorMsg": "",
"errorMsgEn": "",
"accountType": "",
"accountName": "AndhraBank",
"accountNo": "13178968534",
"userInfoName":"",
"userInfoNo":"UTIB0001234",
"businessId":"1745465641193vzdiw99eis20iwhezrn",
"accountCode":"BDBL",
"orderTypeCode": "Transfer",
"orderResourceTypeCode": "Currency",
"orderStatusCode": "Accepted",
"payTypeCode": "BANK"
}
]
}
Response Parameter Descriptions
| Param | Type | Description |
|---|---|---|
| orderId | String | System order ID |
| cashierId | String | Cashier ID |
| orderType | int64 | Order type (2 - Payment) |
| orderResourceType | int64 | Order business type (2 - Fiat currency order) |
| userId | String | User ID |
| orderStatus | int64 | Order status (1 - Accepted, 2 - Bank Processing, 4 - Failed, 8 - Success, 16 - Failed) |
| orderTime | int64 | Order creation time |
| channelOrderId | String | Associated channel order ID |
| externalOrderId | String | Merchant order number |
| orderAmount | String | Order amount |
| orderActualAmount | String | Actual order amount |
| orderFee | String | Order fee |
| orderPayTime | int64 | Order payment time |
| currencyType | String | Currency type (e.g., INR) |
| payType | int64 | Payment type (e.g., 102 - BANK, 202 - BANK) |
| tradeNote | String | Trade note |
| notifyUrl | String | Callback URL |
| markStatus | int64 | Mark status |
| errorMsg | String | Error message (in Chinese) |
| errorMsgEn | String | Error message (in English) |
| accountType | String | Account type |
| accountName | String | Account name |
| accountNo | String | Account number |
| orderTypeCode | String | Order type code |
| orderResourceTypeCode | String | Order resource type code |
| orderStatusCode | String | Order status description |
| payTypeCode | String | Payment type code (refer to payType) |
| userInfoName | String | User info name |
| userInfoNo | String | User info ID |
| businessId | String | Business ID |
| accountCode | String | Bank account code (e.g., IFSC) |