Returns a list of all the on ramp orders executed by the integrator
Returns a list of all the on ramp orders executed by the integrator
Query parameters
-
The start date of the dataset. This is inclusive of orders created at this exact date should be included.
-
The end date of the dataset. This is inclusive of orders created at this exact date should be included.
-
The number of orders to skip in dataset.
-
The number of orders to return in dataset.
GET /orders
curl \
-X GET https://ramp-api.dev.stably.io/public/api/v1/orders?start=string&end=string&skip=42&limit=42
Response examples (200)
[
{
"id": "cd7ad58d",
"customId": "p2nf67p1312nffgmubisg77ego4hrhx6lrxh21hd3e558qxsx57g9j5p0u7nl7hz",
"userId": "user-52324447448",
"link": "https://www.crypto-provider-example.com/order/cd7ad58d-0fbb-4ed5-9fdd-832c1709ce85",
"crypto": {
"id": "eth",
"address": "0x000000000",
"network": "ethereum"
},
"fiatAmountInUsd": "100",
"fiat": "USD",
"payment": "debit-credit-card",
"providerPayment": "Visa",
"cryptoAmountOut": "0.0001",
"fiatAmountIn": "100",
"exchangeRate": "0.0001",
"processingFees": [
{
"label": "fee label",
"fiatAmount:": "10"
}
],
"networkFees": [
{
"label": "fee label",
"fiatAmount:": "10"
}
],
"partnerFees": [
{
"label": "fee label",
"fiatAmount:": "10"
}
],
"createdAt": "2021-01-01T00:00:00Z",
"updatedAt": "2021-01-01T00:00:00Z",
"transactionHash": "0x000000000",
"walletAddress": "0x000000000",
"status": "PENDING",
"statusCode": "PROVIDER-PENDING-ORDER",
"statusReason": "The order is currently being processed.",
"partnerAccountId": "StablyRamp",
"orderType": "BUY"
}
]
Response examples (400)
{
"error": "string",
"code": 42,
"message": "string"
}
Response examples (500)
{
"error": "string",
"code": 42,
"message": "string"
}