Skip to main content

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

A successful response