Repository navigation
GenerateQRCode
Allows to generate a QR Code image for Wallet connection from a Mobile device.
URL: /v1/wallet-connections/{connectionId}/qrcode
Method: GET
Path Parameters:
| Parameter | Type | Description |
|---|---|---|
| connectionId | string | UUID of the connection. |
Query Parameters: None
Headers:
Accept: image/any
g-recaptcha-platform: Web
g-recaptcha-token: {reCAPTCHA Token for "qrcode" action}
Content: None
Code: 200 OK
Headers:
Content-Type: image/png (or any other image format)
Content: Image file.
Code: 400 BAD REQUEST
Condition: If a mandatory header or content field is missing.
Headers:
Content-Type: application/json
Content example:
{
"code": 400,
"description": "Bad Request",
"cause": "Missing header: g-recaptcha-token"
}Code: 400 BAD REQUEST
Condition: If a mandatory header or content field is missing.
Headers:
Content-Type: application/json
Content example:
{
"code": 400,
"description": "Bad Request",
"cause": "Missing header: g-recaptcha-token"
}Code: 403 FORBIDDEN
Condition: If reCAPTCHA fails.
Headers:
Content-Type: application/json
Content example:
{
"code": 403,
"description": "Forbidden",
"cause": "Recaptcha failed"
}Code: 404 NOT FOUND
Condition: If the specified Connection is not found.
Headers:
Content-Type: application/json
Content example:
{
"code": 404,
"description": "Not Found",
"cause": "Entity WalletConnectionEntity, id=d0907e3d-a9a7-43b1-93dc-f3b0ee929021 not found in the database"
}Generate Wallet Connection Challenge