Get Order History

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

Get Orders

GET https://v2-order-api.citypay.io/orders/api

Query Parameters

NameTypeDescription

page

number

The page of the list

limit

number

The number of the items on one page

Headers

NameTypeDescription

bearer_token

string

Authentication token

{
    "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
        }
    }
}

Last updated