Getting Started
From zero to your first API response in under five minutes.
Create an API key
Log in to your LUXPOS dashboard and open Settings, then the Developer tab. The direct link is:
https://luxpos.lu/en/dashboard/settings?tab=developerClick Create key, give it a descriptive name (for example my-integration), select the scopes you need, and copy the generated key. You will only see the full value once.
Keep your key secret
Make your first request
Pass your key in the Authorization header as a Bearer token:
curl -H "Authorization: Bearer lpk_live_..." \
https://api.luxpos.lu/api/v1/public/meA successful response returns the business profile associated with your API key, including the business ID you will reference in other endpoints.
Pagination
List endpoints are paginated with two query parameters:
1-based page number. Default: 1
Results per page. Default: 50, maximum 100
# Second page, 20 results per page
curl -H "Authorization: Bearer lpk_live_..." \
"https://api.luxpos.lu/api/v1/public/transactions?page=2&limit=20"The response includes a meta object with total, page and lastPage fields.
Error envelope
All error responses use a consistent JSON envelope:
{
"statusCode": 401,
"message": "Unauthorized: missing or invalid API key",
"error": "Unauthorized"
}HTTP status code
Human-readable error description
Short error class, for example "Not Found"