User Location API Documentation


User has permission on some locations to fetch accounting and transaction report.

Fetch authorized locations of customer

Required Scope: prod/user
Method: GET
Header: Authorization Bearer <access_token>
Request Sample

curl --location --request GET '' \
--header 'Authorization: Bearer <access_token>' \
--header 'Content-Type: application/json'

Response Sample:

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8

   "status": "SUCCESS",
   "data": {
       "locations": [
             "id": 123456,
               "active": true
             "id": 9876543210,
               "active": true

Remarks: Available locations for the customer.