Create POS Auth Token
POST/pos/auth-token
Generates an RS256-signed JWT token for POS terminal authentication.
Use this endpoint to create an auth token that a POS terminal (via MONEI Pay) can use to process payments. This is designed for app-to-app flows where your backend generates the token and passes it to the MONEI Pay app running on a POS device.
pointOfSaleId is optional — when provided, it is included in the JWT payload as pos_id and device_id, allowing you to associate payments with a specific terminal. storeId is also optional — included as store_id when provided. If pointOfSaleId is omitted, the system generates a device_id automatically.
The token is valid for 24 hours.
Request
Responses
- 200
- 400
- 401
- 500
- 503
A successful response
The request is incorrect or could not be processed
Unauthorized error. Please check your auth credentials
Unexpected server error
The service is temporarily unavailable