Get Terminal Lists
Use this API to get a list of all active terminals for a specific organization. You must provide the organization's UUID.
Endpoint
GET https://demo-api.frontpayment.no/api/v1/connect/terminal/lists/{{ORGANIZATION_UUID}}
Authorization
Include a Bearer Token in the Authorization
header. You can obtain this token from Front Payment.
Example:
Authorization: Bearer YOUR_FRONTPAYMENT_BEARER_TOKEN
Response
A successful request will return a 200
status with the following JSON payload:
{
"status_code": 200,
"status_message": "OK",
"message": "terminalsRetrievedSuccessfully",
"is_data": true,
"data": [
{
"uuid": "TRML1914739698",
"name": "Oslo Terminal",
"status": 1,
"organization_uuid": "ORG2074299506"
}
]
}
API returns a 510
error, it means something failed on the server side
{
"status_code": 510,
"status_message": "Execution Exception Occurred",
"message": "Something Went Wrong",
"is_error": true,
"errors": "Array"
}