Skip to main content
GET
/
v1
/
api
/
qrcode
/
generate
/
{reservationId}
/
{type}
Generate dynamic QR payload
curl --request GET \
  --url http://localhost:3091/v1/api/qrcode/generate/{reservationId}/{type} \
  --header 'Authorization: Bearer <token>'
{
  "reservationId": 123,
  "type": "DEPOSIT",
  "payload": "<string>",
  "rotationSeconds": 123,
  "nextRotationAt": 123
}

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Path Parameters

reservationId
integer<int32>
required
type
enum<string>
required
Available options:
DEPOSIT,
DELIVERY

Response

QR payload generated

reservationId
integer<int32>
type
enum<string>
Available options:
DEPOSIT,
DELIVERY
payload
string
rotationSeconds
integer<int32>
nextRotationAt
integer<int64>