GET
/
orders
curl --request GET \
  --url https://api.sandbox.sardine.ai/v1/orders
{
  "id": "4971a540-9700-47db-93c3-48a179c25b53",
  "createdAt": "2022-08-09T18:58:55Z",
  "referenceId": "fff123121123dff12332",
  "status": "Expired",
  "expiresAt": "2022-08-09T19:58:55Z",
  "userId": "890a7f-akjsdi983-aps389df87",
  "total": 500,
  "subtotal": 498.6,
  "processingFees": {
    "tax": 0.1,
    "clientProcessingFee": 1.2,
    "networkFee": 0.1
  },
  "payment": {
    "currency": "USD",
    "paymentMethodType": "credit"
  },
  "data": {
    "transactionType": "nft",
    "name": "The BEST NFT FOR DEMO PURPOSE",
    "price": "498.6",
    "contractAddress": "0x7fC0344254E1663C2eF24e3c063cbec231525C20",
    "imageUrl": "https://www.dictionary.com/e/wp-content/uploads/2018/03/This-is-Fine-300x300.jpg"
  }
}

Query Parameters

reference
string

Unique ID that was passed when creating the order

startData
string

Date in YYYY-MM-DD format that can be used to filter by time, starting with this date

endDate
string

Date in YYYY-MM-DD format that can be used to filter by time, ending with this date

externalUserId
string

Unique ID created by developer that is passed when creating the client token. Non unique

Response

200 - application/json

OK

The response is of type object.