GET
https://exchange-core.whitebird.io/api/v1/merchant/orders
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
| x-api-key | String | Yes | Merchant security key |
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| externalOrderId | String | Yes | externalOrderId of existed order |
Response
{
"externalOrderId": "string",
"merchant": {
"id": "string"
},
"order": {
"completionDate": "2021-12-22T15:03:58.210Z",
"creationDate": "2021-12-22T15:03:58.210Z",
"cryptoTransaction": {
"currency": "BTC",
"externalCryptoAddress": "string",
"fee": 0,
"feePaymentEnabledByClient": true,
"internalCryptoAddress": "string",
"status": "NEW",
"transactionHash": "string"
},
"exchangeOperation": {
"currencyPair": {
"fromCurrency": "USD",
"toCurrency": "BTC"
},
"inputAsset": 0,
"outputAsset": 0,
"ratio": 0
},
"exchangeType": "SELL",
"fiatTransaction": {
"currency": "USD",
"internalToken": "string",
"link": "string",
"orderIdentity": "string",
"paymentToken": "string",
"paymentType": "P2P",
"processingBank": "BELARUSBANK",
"providerType": "ASSIST",
"resultMessage": "string",
"status": "NEW"
},
"id": "string",
"modificationDate": "2021-12-22T15:03:58.210Z",
"number": 0,
"orderType": "DEPOSIT",
"resultMessage": "string",
"serverDate": "2021-12-22T15:03:58.210Z",
"status": "REQUEST",
"submitByResident": false
},
"percent": 0,
"percentEnabled": false,
"reward": 0
}
Example request
curl -X GET 'https://exchange-core.whitebird.io/api/v1/merchant/orders?externalOrderId={externalOrderId}' \
-H 'Content-Type: application/json' \