Get Merchant P2P orders
Frequency limit:10 times/1s (UID)
Description
Merchant queries P2P orders
HTTP request
- GET /api/v2/p2p/orderList
Request Example
curl "https://api.bitget.com/api/v2/p2p/orderList?startTime=1659403328000&endTime=1659410528000&pageSize=20" \ -H "ACCESS-KEY:you apiKey" \ -H "ACCESS-SIGN:*" \ -H "ACCESS-PASSPHRASE:*" \ -H "ACCESS-TIMESTAMP:1659076670000" \ -H "locale:en-US" \ -H "Content-Type: application/json"
Request Parameter
Parameter | Type | Required | Description |
---|---|---|---|
startTime | String | Yes | Start time, Unix millisecond timestamp, e.g. 1690196141868 |
endTime | String | No | End time, Unix millisecond timestamp, e.g. 1690196141868 Maximum interval between start time and end time is 90 days |
idLessThan | String | No | The minOrderId returned from the previous query. Returns p2p order data less than the specified entry parameter. |
limit | String | No | Number of queries, default 100 |
status | String | No | P2P order status pending_pay: pending payment Paid: coins to be released Appeal: Appeal in progress Completed: Completed cancelled: cancelled |
advNo | String | Yes | Advertisement order number |
side | String | No | TX type buy: Buy sell: Sell |
coin | String | No | Digital currency name, e.g. USDT |
language | String | Yes | Language zh-CN: Chinese en-US: English |
fiat | String | No | Fiat currency name, e.g. USD |
orderNo | String | No | Order no. |
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1681201761390,
"data": {
"orderList": [
{
"orderId": "557",
"orderNo": "1029222647482966017",
"advNo": "1027001359783845889",
"price": "1",
"count": "11",
"side": "buy",
"fiat": "USD",
"coin": "USDT",
"withdrawTime": "",
"representTime": "",
"paymentTime": "",
"releaseTime": "",
"amount": "11",
"buyerRealName": "",
"sellerRealName": "兰州",
"status": "cancelled",
"paymentInfo": {
"paymethodName": "paypal",
"paymethodId": "3",
"paymethodInfo": [
{
"name": "繁体中文",
"required": "yes",
"type": "number",
"value": "11****"
},
{
"name": "繁体中文",
"required": "yes",
"type": "file",
"value": "http://qrc.bitgetapp.com/otc/images/20230116/498ab1b8-3ba6-44bd-9570-b3e5c118233f.jpg"
}
]
},
"ctime": "1681111722251"
}
],
"minOrderId": "557"
}
}
Response Parameter
Parameter | Type | Description |
---|---|---|
orderList | Array | Order number |
> orderId | String | ID |
> orderNo | String | Order no. |
> advNo | String | Advertisement order number |
> side | String | Types: buy/sell |
> count | String | Amount |
> coin | String | Fiat Currency |
> price | String | Price |
> fiat | String | Fiat |
> withdrawTime | String | Time of withdrawal of this order |
> representTime | String | Appeal time |
> releaseTime | String | Coin release time |
> paymentTime | String | Repayment time |
> amount | String | Order amount |
status | String | P2P order status |
buyerRealName | String | Buyer name |
sellerRealName | String | Seller name |
cTime | String | Creation time, Unix millisecond timestamps |
uTime | String | Update time, Unix millisecond timestamps |
> paymentInfo | Object | Payment Info |
>> paymethodName | String | Payment method name |
>> paymethodId | String | Payment method ID |
>> paymethodInfo | Array | Payment method details |
>>> name | String | Payment detail name |
>>> required | String | Required or not: yes/no |
>>> type | String | type, number/file. Ignore this parameter |
>>> value | String | Payment information value |
minOrderId | String | Returns the minimum orderId of record. |