🚀 Card Payment is live! Learn more
curl --request GET \
--url https://nini.monieswitch.com/terminal/agent \
--header 'Authorization: Bearer <token>'
{
"status": true,
"message": "Operation is successful",
"data": [
{
"id": "28cc1855-2ff4-4a40-9df2-32aefb06eada",
"name": "Lambe 01",
"code": "Terminal 2",
"createdAt": "2024-12-27T15:20:45.828Z",
"store": {
"id": "9ab67f41-10c9-4f52-adfc-31f460980966",
"name": "Lambe Shop",
"code": "Store 3"
},
"activeAgent": null
},
{
"id": "00319ac9-ab60-48be-9604-fc62004b0f55",
"name": "Lambe 01",
"code": "Terminal 1",
"createdAt": "2024-12-27T14:38:18.534Z",
"store": {
"id": "9ab67f41-10c9-4f52-adfc-31f460980966",
"name": "Lambe Shop",
"code": "Store 3"
},
"activeAgent": {
"id": "5231edc7-95be-4913-8102-32400fe8b45b",
"firstName": "Janet",
"lastName": "Richard",
"email": "[email protected]"
}
}
]
}
curl --request GET \
--url https://nini.monieswitch.com/terminal/agent \
--header 'Authorization: Bearer <token>'
{
"status": true,
"message": "Operation is successful",
"data": [
{
"id": "28cc1855-2ff4-4a40-9df2-32aefb06eada",
"name": "Lambe 01",
"code": "Terminal 2",
"createdAt": "2024-12-27T15:20:45.828Z",
"store": {
"id": "9ab67f41-10c9-4f52-adfc-31f460980966",
"name": "Lambe Shop",
"code": "Store 3"
},
"activeAgent": null
},
{
"id": "00319ac9-ab60-48be-9604-fc62004b0f55",
"name": "Lambe 01",
"code": "Terminal 1",
"createdAt": "2024-12-27T14:38:18.534Z",
"store": {
"id": "9ab67f41-10c9-4f52-adfc-31f460980966",
"name": "Lambe Shop",
"code": "Store 3"
},
"activeAgent": {
"id": "5231edc7-95be-4913-8102-32400fe8b45b",
"firstName": "Janet",
"lastName": "Richard",
"email": "[email protected]"
}
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
All Terminals - Successful
The response is of type object
.