Get All Quotes
https://sandboxapi.bitnob.co/api/v1//payouts/?order=ASC&page=1&take=10 (opens in a new tab)
Get all quotes under the user's company
Request
Offramps/Get All Quotes [GET]
curl --location 'https://sandboxapi.bitnob.co/api/v1/payouts/?order=ASC&page=1&take=10' \
--header 'Authorization: Bearer API-KEY'Responses
🟢 200 - Result example
{
"status": true,
"message": "OffRamps retrieved successfully",
"data": {
"offRamps": [
{
"id": "4c281868-7b0d-4c4f-bcd7-bb3bbc9248bc",
"createdAt": "2025-01-15T14:30:29.026Z",
"updatedAt": "2025-01-15T15:09:01.800Z",
"quoteId": "QT_6158",
"companyId": "537f275e-c51a-4399-a4c8-779ca0217649",
"customerId": "204a6cf0-0eb7-4882-8769-7771aadbc433",
"paymentReason": "Funds for stuff",
"reference": "e8D4juDBfyZYmDZ",
"callbackUrl": "https://example.com/callback/id",
"beneficiaryId": "41b1e004-ce45-4591-bebe-6a2debcf05fd",
"status": "expired",
"exchangeRate": {
"rate": 1636.21,
"currency": "ngn"
},
"beneficiary": {
"id": "41b1e004-ce45-4591-bebe-6a2debcf05fd",
"status": "success",
"country": "NG",
"currency": "NGN",
"createdAt": "2025-01-15T14:30:48.773Z",
"reference": "QT_6158_24ccd39d2345",
"updatedAt": "2025-01-15T14:30:48.773Z",
"destination": {
"type": "BANK",
"bankCode": "000014",
"accountName": "JOHN DOE",
"accountNumber": "1421795566"
}
},
"trip": {
"submitted": "1736951461",
"quoteSentAt": "1736951430",
"assetReceived": null,
"initializedAt": "1736951451",
"completionTime": "1736953741",
"processingStart": null,
"timeToCompletion": null
},
"clientMetaData": {
"name": "john doe",
"height": "194"
},
"satAmount": "201816",
"btcAmount": "0.00201816",
"amount": "200",
"centAmount": "20000",
"settlementAmount": 327242,
"centFees": "0",
"fees": "0",
"address": "TNgGpCkphycU4pLg2LSJGUdb1mdwgMP8xs",
"source": "onchain",
"fromAsset": "usdt",
"chain": "trc20",
"toCurrency": "ngn",
"paymentETA": "3-5 minutes",
"expiry": "2025-01-15T14:46:50.847Z"
},
{
"id": "6ae40f3c-0eb5-478e-8892-560ee427ee3c",
"createdAt": "2025-01-15T10:17:36.056Z",
"updatedAt": "2025-01-15T11:57:29.419Z",
"quoteId": "QT_6156",
"companyId": "537f275e-c51a-4399-a4c8-779ca0217649",
"customerId": "aec96b7d-a659-49ef-9d1a-c4c27c2c6b50",
"paymentReason": "Funds for stuff",
"reference": "wzhnlAjWWrXj0RK",
"callbackUrl": "https://example.com/callback/id",
"beneficiaryId": "e8455a92-65a6-4ad0-b902-ba51392de269",
"status": "underpayment",
"exchangeRate": {
"rate": 1626.1,
"currency": "ngn"
},
"beneficiary": {
"id": "e8455a92-65a6-4ad0-b902-ba51392de269",
"status": "success",
"country": "NG",
"currency": "NGN",
"createdAt": "2025-01-15T10:17:49.419Z",
"reference": "QT_6156_86cadb25a4ac",
"updatedAt": "2025-01-15T10:17:49.419Z",
"destination": {
"type": "BANK",
"bankCode": "000014",
"accountName": "JANE DOE",
"accountNumber": "1421795566"
}
},
"trip": {
"submitted": "1736936280",
"quoteSentAt": "1736936257",
"assetReceived": null,
"initializedAt": "1736936271",
"completionTime": "1736942249",
"processingStart": null,
"timeToCompletion": null
},
"clientMetaData": {
"name": "john doe",
"height": "194"
},
"satAmount": "211578",
"btcAmount": "0.00211578",
"amount": "200",
"centAmount": "20000",
"settlementAmount": 325220,
"centFees": "0",
"fees": "0",
"address": "TS8bXUyq2QdyYceKVxcvJpHQ6NX6qY2xaZ",
"source": "onchain",
"fromAsset": "usdt",
"chain": "trc20",
"toCurrency": "ngn",
"paymentETA": "3-5 minutes",
"expiry": "2025-01-15T10:33:50.827Z"
}
],
"meta": {
"page": 1,
"take": 10,
"itemCount": 89,
"pageCount": 9,
"hasPreviousPage": false,
"hasNextPage": true
}
}
}