Get Transactions

Api get transactions

GET /open-apis/transactions

  • Header:

    • client_id: string Client Id

    • client_secret: string Client secret grant by Smartos

  • Parameters:

    • locationId: string Location ID filter

    • category: string Category of transactions

    • payType: string Payment Type of transactions

    • from: ISO string to specify a time range for retrieving data.

    • to: ISO string to specify a time range for retrieving data.

    • limit: int Limit the number of records per page

    • offset: int Skip the number of records

cURL example:

curl --location 'https://services.smartos.space/open-apis/transactions?locationId=114984141980697&category=INCOME&payType=cash&from=2021-07-26T09%3A51%3A51.368Z&to=2021-07-28T19%3A51%3A51.368Z&limit=50' \
--header 'client_id: clientId' \
--header 'client_secret: clientSecret'

Example response

Last updated