# 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.

Both `pointOfSaleId` and `storeId` are optional. When provided, the resulting payments will be associated with the specified terminal and store. If `pointOfSaleId` is omitted, the terminal will be assigned an identifier automatically.

The token is valid for 24 hours.

## Request[​](#request "Direct link to request")

## Responses[​](#responses "Direct link to 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
