GET
/
orders
/
{orderId}
curl --request GET \
  --url https://api.sandbox.sardine.ai/v1/orders/{orderId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "0113e40a-7406-4036-a882-745a3275e614",
  "createdAt": "2023-03-10T20:46:29Z",
  "confirmedAt": "2023-03-10T20:46:33Z",
  "referenceId": "test-0.7142516498128628",
  "status": "Complete",
  "fiatCurrency": "USD",
  "transactionId": "7b47afca-4a6d-4cd3-a756-03db3281b932",
  "walletAddress": "0x3d0babc12ac0b08f933a837dbb7a9943be35b0fc",
  "expiresAt": "2023-03-10T20:51:29Z",
  "userId": "afceb64d-2d0b-4e52-8b99-a6a4eafc8515",
  "total": 10,
  "subtotal": 0,
  "processingFees": {
    "transactionFee": 0,
    "networkFee": 1.05
  },
  "payment": {
    "amountCents": 1000,
    "currency": "USD",
    "paymentMethodId": "cfb30490-62da-4bcb-8179-5e18953d0117",
    "paymentMethodType": "Bank"
  },
  "withdrawal": {
    "txHash": "0xbb45ae53e0ca10e598cf9d0ffedf554e8a72ca4a611a3f883474e0d6864eda5a",
    "walletAddress": "0x3d0babc12ac0b08f933a837dbb7a9943be35b0fc"
  },
  "withdrawals": [
    {
      "walletAddress": "0x3d0babc12ac0b08f933a837dbb7a9943be35b0fc",
      "holdAmount": 5,
      "holdUntil": "2023-03-14T20:46:14.675+00:00",
      "quantity": 0.003091455,
      "isHold": true,
      "status": "HOLD"
    },
    {
      "txHash": "0xbb45ae53e0ca10e598cf9d0ffedf554e8a72ca4a611a3f883474e0d6864eda5a",
      "walletAddress": "0x3d0babc12ac0b08f933a837dbb7a9943be35b0fc",
      "quantity": 0.003091455,
      "isHold": false,
      "status": "SETTLED",
      "withdrawnAt": "2023-03-10T20:46:58Z"
    }
  ]
}

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

Example:

"491c113c-4485-47cd-b011-252068b753dc"

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
id
string
createdAt
string
confirmedAt
string
referenceId
string
status
string
fiatCurrency
string
transactionId
string
walletAddress
string
expiresAt
string
userId
string
total
integer
subtotal
integer
processingFees
object
payment
object
withdrawal
object
withdrawals
object[]

Sample