GET
/
orders
/
{orderId}
curl --request GET \
  --url https://api.sandbox.sardine.ai/v1/orders/{orderId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "createdAt": "<string>",
  "confirmedAt": "<string>",
  "referenceId": "<string>",
  "status": "<string>",
  "fiatCurrency": "<string>",
  "transactionId": "<string>",
  "walletAddress": "<string>",
  "expiresAt": "<string>",
  "userId": "<string>",
  "total": 123,
  "subtotal": 123,
  "processingFees": {
    "transactionFee": 123,
    "networkFee": 123
  },
  "payment": {
    "amountCents": 123,
    "currency": "<string>",
    "paymentMethodId": "<string>",
    "paymentMethodType": "<string>"
  },
  "withdrawal": {
    "txHash": "<string>",
    "walletAddress": "<string>",
    "quantity": 123
  },
  "withdrawals": [
    {
      "walletAddress": "<string>",
      "holdAmount": 123,
      "holdUntil": "<string>",
      "quantity": 123,
      "isHold": true,
      "status": "<string>",
      "txHash": "<string>",
      "withdrawnAt": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

orderId
string
required

ID of Order

Query Parameters

referenceId
string

If a referenceId is passed when creating the clientToken, it can be used as a filter

limit
string

Number of results returned

startDate
string

Date in YYYY-MM-DD

endDate
string

Date in YYYY-MM-DD

externalUserId
string

Filter using externalUserId to obtain all Orders associated with a particular user

Response

200 - application/json
OK

The response is of type object.