Cerrtify
BankID

Get the current rotating QR payload

Returns the current animated-QR payload for an open order started with `/service/bankid/auth`, `/service/bankid/sign` or `/service/bankid/payment`. Call it from your backend about once per second, draw `qrData` as a QR code, and stop when `/collect` returns `complete` or `failed` (or after 5 minutes). Free: only the BankID order is billed. `qrData` has the form `bankid.<qrStartToken>.<seconds>.<hmac>`. Orders started with `?async=true` have no QR session; compute the QR yourself from the start response. Guide: https://docs.cerrtify.com/en/docs/guides/bankid-qr-code

GET
/service/bankid/qr-code

Authorization

ApiKeyAuth
X-API-Key<token>

API key in the form cert_<prefix>_<secret>.

In: header

Query Parameters

orderRef*string

The orderRef returned by /service/bankid/auth.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/service/bankid/qr-code?orderRef=string"
{  "qrData": "bankid.67df3917....-...-...-...-....1672.a9f8..."}
{  "error": "string",  "detail": "string"}
{  "error": "string",  "detail": "string"}
{  "error": "insufficient_credits",  "message": "Organisationen har slut på krediter. Fyll på för att fortsätta."}
{  "error": "string",  "detail": "string"}
{  "error": "string",  "detail": "string"}