Create QR Session
POST/v1/client/qr-auth
Create QR Session
Request
- application/json
Body
required
device objectrequired
The device details.
property name* stringrequired
artifactId stringrequired
The artifactId of the library used to make the purchase (optional)
artifactVersion stringrequired
The version of the library used to make the purchase (optional)
Responses
- 201
- 400
- 401
- 500
QR session created successfully.
- application/json
- Schema
- Example (from schema)
Schema
sessionToken stringrequired
The unique identifier of the QR session
qrCodeData stringrequired
QR code data to be displayed to the user, typically encoded in a format suitable for QR generation
activationUrl stringrequired
The URL that the user should visit to activate the session
{
"sessionToken": "qr-session-123",
"qrCodeData": "data:image/png;base64,iVBORw0KGgo...",
"activationUrl": "https://console.iap.dev/activate/qr-session-123"
}
Bad Request.
Unauthorized.
Internal Server Error.
Loading...