Get Order History

Use this method to get all orders created by the logged in user

get
Get Orders

https://v2-order-api.citypay.io/orders/api
Request
Response
Request
Headers
bearer_token
required
string
Authentication token
Query Parameters
page
required
number
The page of the list
limit
required
number
The number of the items on one page
Response
200: OK
{
"statusCode": 200,
"data": {
"items": [
{
"id": 2876,
"token": "token 1",
"createdAtMiliseconds": 1617786773000,
"amount": "5.00",
"status": {
"code": "IN_PROGRESS",
"label": "IN_PROGRESS"
},
"currency": {
"id": 2,
"currency": "US Dollar",
"abbreviation": "USD"
}
}
],
"meta": {
"totalCount": 1,
"pagesCount": 1,
"currentPage": 0,
"nextPage": null
}
}
}

‚Äč