🚀 Card Payment is live! Learn more
curl --request GET \
--url https://nini.monieswitch.com/branch/terminal/usage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
{
"status": true,
"message": "Operation is successful",
"data": {
"page": 1,
"size": 50,
"totalRecords": 1,
"totalPages": 1,
"usages": [
{
"id": "26931fb4-80f4-4e4a-b929-5bec2f130436",
"createdAt": "2025-01-08T13:09:05.093Z",
"store": {
"id": "9ab67f41-10c9-4f52-adfc-31f460980966",
"name": "Lambe Shop",
"code": "Store 3",
"createdAt": "2024-12-27T14:36:09.463Z"
},
"terminal": {
"id": "00319ac9-ab60-48be-9604-fc62004b0f55",
"name": "Lambe 01",
"code": "Terminal 1",
"createdAt": "2024-12-27T14:38:18.534Z"
},
"agent": {
"id": "5231edc7-95be-4913-8102-32400fe8b45b",
"firstName": "Janet",
"lastName": "Richard",
"createdAt": "2025-01-08T13:02:01.549Z"
}
}
]
}
}
curl --request GET \
--url https://nini.monieswitch.com/branch/terminal/usage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
{
"status": true,
"message": "Operation is successful",
"data": {
"page": 1,
"size": 50,
"totalRecords": 1,
"totalPages": 1,
"usages": [
{
"id": "26931fb4-80f4-4e4a-b929-5bec2f130436",
"createdAt": "2025-01-08T13:09:05.093Z",
"store": {
"id": "9ab67f41-10c9-4f52-adfc-31f460980966",
"name": "Lambe Shop",
"code": "Store 3",
"createdAt": "2024-12-27T14:36:09.463Z"
},
"terminal": {
"id": "00319ac9-ab60-48be-9604-fc62004b0f55",
"name": "Lambe 01",
"code": "Terminal 1",
"createdAt": "2024-12-27T14:38:18.534Z"
},
"agent": {
"id": "5231edc7-95be-4913-8102-32400fe8b45b",
"firstName": "Janet",
"lastName": "Richard",
"createdAt": "2025-01-08T13:02:01.549Z"
}
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Terminal Usage - Successful
The response is of type object
.