Orders, newest first. Money is integer cents. Scope: orders:read.
curl --request GET \
--url https://tryno.io/api/v1/orders \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://tryno.io/api/v1/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/v1/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "list",
"data": [
{
"object": "order"
}
],
"page": 123,
"pageSize": 123,
"hasMore": true
}{
"error": {
"type": "unauthorized",
"message": "<string>"
}
}{
"error": {
"type": "unauthorized",
"message": "<string>"
}
}{
"error": {
"type": "unauthorized",
"message": "<string>"
}
}platform
Orders, newest first. Money is integer cents. Scope: orders:read.
GET
/
v1
/
orders
Orders, newest first. Money is integer cents. Scope: orders:read.
curl --request GET \
--url https://tryno.io/api/v1/orders \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://tryno.io/api/v1/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/v1/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"object": "list",
"data": [
{
"object": "order"
}
],
"page": 123,
"pageSize": 123,
"hasMore": true
}{
"error": {
"type": "unauthorized",
"message": "<string>"
}
}{
"error": {
"type": "unauthorized",
"message": "<string>"
}
}{
"error": {
"type": "unauthorized",
"message": "<string>"
}
}
