Get Terminal Lists
GetUse this API to get a list of all active terminal liststerminals for a specific organationorganization. You must provide the organization's UUID.
Endpoint
GET Endpoint |
: |
https://demo-api.frontpayment.no/api/v1/connect/terminal/lists/{{ORGANIZATION_UUID}}
|
Method |
: |
GET |
Authorization |
: |
Bearer |
Response Structure |
: |
Include a Bearer Token in the Authorization header. You can obtain this token from Front Payment.
Example:
Authorization: //SuccessBearer {
"status_code": 200,
"status_message": "OK",
"message": "terminalsRetrievedSuccessfully",
"is_data": true,
"data": [
{
"uuid": String,
"name": String,
"status": Integer,
"organization_uuid": String
}
]
}
//Errors
{
"status_code": 204,
"status_message": "Not Found",
"message": "terminalNotFound",
"is_data": false,
"data": null
}
{
"status_code": 510,
"status_message": "Execution Exception Occurred",
"message": "Something Went Wrong",
"is_error": true,
"errors": "Array"
}YOUR_FRONTPAYMENT_BEARER_TOKEN
|
Example 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"
}