Commerce APIs
GET Order
- Documentation
- Introduction
- Overview
- Quickstart
- Errors
- Pagination
Wallet Creation APIs
Wallet Experience APIs
NFT APIs
Web3 APIs
SDK
Overview
Wallet as a Service (WaaS)
Commerce APIs
GET Order
Get details about a given order
GET
/
v1
/
orders
/
{orderId}
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
orderId
string
*
orderId
Required
string
The order id
curl --request GET \
--url https://api.bitski.com/v1/orders/{orderId} \
--header 'Authorization: Bearer <token>'
{
"order": {
"createdAt": "2023-04-20T21:05:20.976Z",
"currency": "USD",
"fees": "1.00",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"items": [
{
"amount": "10.00",
"fees": "1.00",
"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"taxes": "1.00"
}
],
"status": "DRAFT",
"subtotal": "10.00",
"taxes": "1.00",
"total": "12.00"
}
}
Access to this API is available upon request to sales@bitski.com.
Path
orderId
string
requiredThe order id
Examples
Response
order
Order object
requiredid
string
requiredcreatedAt
string
requiredcurrency
string
requireditems
array
requiredstatus
string
requiredsubtotal
string
requiredfees
string
requiredtaxes
string
requiredtotal
string
requiredcurl --request GET \
--url https://api.bitski.com/v1/orders/{orderId} \
--header 'Authorization: Bearer <token>'
{
"order": {
"createdAt": "2023-04-20T21:05:20.976Z",
"currency": "USD",
"fees": "1.00",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"items": [
{
"amount": "10.00",
"fees": "1.00",
"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"taxes": "1.00"
}
],
"status": "DRAFT",
"subtotal": "10.00",
"taxes": "1.00",
"total": "12.00"
}
}