Skip to main content
POST
/
v1
/
invoices
/
qrcode
Read QR code from invoice
curl --request POST \
  --url https://api.example.com/v1/invoices/qrcode \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "base64_file": "JVBERi0xLjcKCjEgMCBvYmogICUgZW50...",
  "options": {
    "page": 1,
    "validate_format": true
  }
}
'
{
  "qr_info": {
    "iban": "<string>",
    "creditor": {
      "name": "<string>",
      "address": "<string>",
      "zip": "<string>",
      "city": "<string>",
      "country": "<string>"
    },
    "amount": 123,
    "currency": "<string>",
    "reference": "<string>",
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
base64_file
string
required

Base64 encoded image/PDF containing QR code

Example:

"JVBERi0xLjcKCjEgMCBvYmogICUgZW50..."

options
object

Response

QR code content

qr_info
object