---
title: "Create POS Auth Token"
method: POST
path: "/pos/auth-token"
tags: ["POS Auth Token"]
---

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

- CreatePosAuthTokenRequest
  - `pointOfSaleId` string — A unique identifier of the Point of Sale. If specified the payment is attached to this Point of Sale. If there is a QR code attached to the same Point of Sale, this payment will be available by scanning the QR code.
  - `storeId` string — A unique identifier of the Store. If specified the payment is attached to this Store.

## Response `200`

A successful response

- object
  - `token` string, required — RS256-signed JWT token for POS authentication. Valid for 24 hours.

## Other responses

- `400` — The request is incorrect or could not be processed
- `401` — Unauthorized error. Please check your auth credentials
- `500` — Unexpected server error
- `503` — The service is temporarily unavailable

---

[API](https://skmtc.net/monei/apis/monei-api-v1.md) · [All operations](https://skmtc.net/monei/apis/monei-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/monei/monei-api-v1/revisions/23554d4fb9e5/schema)
