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
Authorization
ApiKeyAuth API key in the form cert_<prefix>_<secret>.
In: header
Query Parameters
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"}Start a BankID authentication order POST
Starts a BankID authentication order and returns an `orderRef` plus autostart/QR tokens. After this call, either: - poll `GET /service/bankid/qr-code?orderRef=...` to render the rotating QR, and - poll `POST /service/bankid/collect` with the `orderRef` until the order completes. `userVisibleData` is plain text — the server base64-encodes it before forwarding to BankID.
Poll a BankID order status POST
Polls the status of a pending order. Forwarded verbatim to BankID's `/collect`. Returns `pending` / `failed` / `complete`; on `complete` the `completionData` object holds the user identity and signature. Poll until the status is terminal.