Skip to content

Generates a tap-to-pay token by device by ID

Request

POST {{baseURL}}/pay-api/v1/devices/tap-to-pay/jwt

This endpoint generates a tap-to-pay token for a device by ID.

See Also:
To retrieve devices, see GET /pay-api/v1/devices.
To create or update a device, see POST /pay-api/v1/devices.
To retrieve a device by ID, see GET /pay-api/v1/devices/{deviceId}.
To activate tap-to-pay for a device, see POST /pay-api/v1/devices/{deviceId}/tap-to-pay/activate.

Security
Bearer
Bodyapplication/json
deviceIdstring or null

Specifies the device identifier.

Example: 7aafd09f-b3e6-43fb-b815-5db3bf7f1453

Example:"7aafd09f-b3e6-43fb-b815-5db3bf7f1453"
// Language is not supported.

Responses

OK

Bodyapplication/json
jwtTokenstring or null

The generated JWT for Tap-to-Pay.

expiresAtstring, (date-time)

Indicates the expiration date and time (in an ISO 8601 date-time UTC format) of the token.

Example: 2026-01-19T14:27:02.767105Z

Example:"2026-01-19T14:27:02.767105Z"
Response
{ "jwtToken": "string", "expiresAt": "2026-01-19T14:27:02.767105Z" }