curl --request GET \
--url https://external.dev.onboardpay.co/exchange/api/orders \
--header 'x-auth-token: <api-key>'{
"orders": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cexOrderId": 2,
"apiKey": "<string>",
"lastWebhookSentAt": "2023-11-07T05:31:56Z",
"orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference": "0165359005113074501885",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customerName": "John Doe",
"offer": {
"partnerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionType": "ONRAMP",
"rate": 0.32,
"networkId": "TRC20",
"token": "USDT",
"tokenAmount": 120.5,
"offerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fiatSymbol": "NGN",
"fiatAmount": 120.5,
"partnerDisplayName": "John Doe"
},
"escrowAddress": 1.2869144918162796e+48,
"paymentChannelId": "BANK_TRANSFER_NIGERIA",
"paymentMethod": {},
"buyerPaymentMethod": {},
"customerWallet": {
"walletAddress": 0,
"networkId": "bsc_testnet",
"walletName": "My Trust Wallet"
},
"tokenAddress": 0,
"status": "INITIATED",
"createdAt": "2023-11-07T05:31:56Z",
"initiatedAt": "2023-11-07T05:31:56Z",
"depositedAt": "2023-11-07T05:31:56Z",
"confirmedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"cancelledAt": "2023-11-07T05:31:56Z",
"lockHash": "null",
"confirmationHash": "null",
"cancellationHash": "null"
}
],
"pageNumber": 123,
"pageSize": 123,
"totalPages": 123,
"totalOrders": 123
}curl --request GET \
--url https://external.dev.onboardpay.co/exchange/api/orders \
--header 'x-auth-token: <api-key>'{
"orders": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cexOrderId": 2,
"apiKey": "<string>",
"lastWebhookSentAt": "2023-11-07T05:31:56Z",
"orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference": "0165359005113074501885",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"customerName": "John Doe",
"offer": {
"partnerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionType": "ONRAMP",
"rate": 0.32,
"networkId": "TRC20",
"token": "USDT",
"tokenAmount": 120.5,
"offerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fiatSymbol": "NGN",
"fiatAmount": 120.5,
"partnerDisplayName": "John Doe"
},
"escrowAddress": 1.2869144918162796e+48,
"paymentChannelId": "BANK_TRANSFER_NIGERIA",
"paymentMethod": {},
"buyerPaymentMethod": {},
"customerWallet": {
"walletAddress": 0,
"networkId": "bsc_testnet",
"walletName": "My Trust Wallet"
},
"tokenAddress": 0,
"status": "INITIATED",
"createdAt": "2023-11-07T05:31:56Z",
"initiatedAt": "2023-11-07T05:31:56Z",
"depositedAt": "2023-11-07T05:31:56Z",
"confirmedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"cancelledAt": "2023-11-07T05:31:56Z",
"lockHash": "null",
"confirmationHash": "null",
"cancellationHash": "null"
}
],
"pageNumber": 123,
"pageSize": 123,
"totalPages": 123,
"totalOrders": 123
}15-04-2022
15-08-2022
x <= 100ONRAMP, OFFRAMP INITIATED, DEPOSITED, CONFIRMED, COMPLETED, PENDING, CANCELLED, IN_DISPUTE, AWAITING_ACCEPTANCE Success
Show child attributes
x >= 1Timestamp field.
"0165359005113074501885"
"John Doe"
Show child attributes
ONRAMP, OFFRAMP 0.32
"TRC20"
"USDT"
120.5
"NGN"
120.5
"John Doe"
Escrow address
1.2869144918162796e+48
"BANK_TRANSFER_NIGERIA"
0
INITIATED, DEPOSITED, CONFIRMED, COMPLETED, PENDING, CANCELLED, IN_DISPUTE, AWAITING_ACCEPTANCE Timestamp field.
Timestamp field.
Timestamp field.
Timestamp field.
Timestamp field.
Timestamp field.