Decode QR Code

The PIX Decode endpoint lets you submit a full “Copy and Paste” (EMV) QR payload and receive a normalized breakdown of its contents. It identifies the recipient PSP (ISPB), branch/account, account type, PIX key and key type, and—based on the QR kind—returns the appropriate structure for Static, Dynamic (Immediate), Dynamic COBV (with due date), or Compound/Recurring QRs.

Headers

ParameterTypeDescriptionExample
AuthorizationStringBearer + Access_tokenBearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzEzMzAwOTMxLCJpYXQiOjE3MTMyOTczMzEsImp0aSI6Ijc2ZWI4ZTE5ZjM4YjQ4NmZiODdmNzNjNTdkMWVmNDJhIiwidXNlcl9pZCI6MjQ2fQ.5zekMa7CUj9p-MvNHns5ke4ZPhYV3Y1CLOsYL7hDUUo
hmacStringHMAC (Hash-based Message Authentication Code) is an authentication algorithm that combines a private key with a message to create a Message Authentication Code (MAC).57373705c83bc5efe41001790c54642e670088c0c87d56bc8f990f2260c7740b99f4081ff231b87f82118c1e77a959e1f40eacf690a8fa61a827a9ba01d546f6)

Body Details

{
    "pix_copy_and_paste":"00020114br.gov.bcb.pix2566qrcodes.saq.digital/v2/qr/cob/8e1dac81- INSTITUICAO DE PAGAME6009SAO PAULO62070503***630401C8"
}

Response Details

ParameterTypeDescriptionExample
end_to_end_idStringEndToEndId associated with the QR (when available).E35535240202509021914WMXBYRRJXL1
typeStringQR type: STATIC, DYNAMIC_IMMEDIATE, DYNAMIC_CHARGE, or COMPOUND.STATIC
journeyStringOperational journey/classification as per PSP/JDPI.1
ispbStringRecipient PSP ISPB (8 digits, zero-padded).35535240
agencyStringRecipient bank branch (4 digits, zero-padded).0001
accountStringRecipient account number000001
account_typeStringAccount type. Examples: CHECKING, SAVINGS, PAYMENT, SALARY.CHECKING
keyStringPIX key of the recipient.+5511975548877
key_typeStringPIX key type: CPF, CNPJ, EMAIL, PHONE, or EVP.PHONE
receiver_nameStringRecipient legal name / company name.Fulado de tal
receiver_fantasy_nameStringRecipient trade name (fantasy name).Fulano
receiver_document_typeStringRecipient document type: CPF or CNPJ.CPF
receiver_document_legal_idStringRecipient document number, normalized (11/14 digits, zero-padded).14481479822
data_qr_code_staticStringObject with static QR details. Present only if type = STATIC.Object
data_qr_code_dynamic_immediateStringObject with dynamic immediate QR details. Present only if type = DYNAMIC_IMMEDIATE.Object
data_qr_code_dynamic_chargeStringObject with dynamic COBV details. Present only if type = DYNAMIC_CHARGE.Object
data_qr_code_compoundStringObject with compound/recurring QR details. Present only if type = COMPOUND.Object

Response QR Code Static

{
    "end_to_end_id": "E3553524020250902191000YRRJXL1",
    "type": "STATIC",
    "journey": null,
    "ispb": "00416887",
    "agency": "0001",
    "account": "123456",
    "account_type": "CURRENT",
    "key": "bd1e5560-2ff9-4a82-82b8-000000000000",
    "key_type": "EVP",
    "receiver_name": "Fulano de tal",
    "receiver_fantasy_name": null,
    "receiver_document_type": "CPF",
    "receiver_document_legal_id": "143508877755",
    "data_qr_code_static": {
        "category_code": null,
        "value": 0.03,
        "allows_change_value": false,
        "city": "City",
        "postal_code": null,
        "conciliation_id": null,
        "additional_data": null,
        "ispb_fss": null
    },
    "data_qr_code_dynamic_immediate": null,
    "data_qr_code_dynamic_charge": null,
    "data_qr_code_compound": null
}

Response QR Code Dynamic Immediate

{
  "end_to_end_id": "E3553524020250902191000YRRJXL1",
  "type": "STATIC",
  "journey": null,
  "ispb": "00416887",
  "agency": "0001",
  "account": "123456",
  "account_type": "CURRENT",
  "key": "bd1e5560-2ff9-4a82-82b8-000000000000",
  "key_type": "EVP",
  "receiver_name": "Fulano de tal",
  "receiver_fantasy_name": null,
  "receiver_document_type": "CPF",
  "receiver_document_legal_id": "143508877755",
  "data_qr_code_static": null,
  "data_qr_code_dynamic_immediate": {
    "end_to_end_id": "E35535240202000000DEF1234567",
    "type": "DYNAMIC_IMMEDIATE",
    "journey": "ECOMMERCE",
    "ispb": "35535240",
    "agency": "0001",
    "account": "0422297",
    "account_type": "PAYMENT",
    "key": "f9f1f2c0-2a8d-4f7f-9b3d-00000000077",
    "key_type": "EVP",
    "receiver_name": "INSTITUIÇÃO DE PAGAMENTO LTDA",
    "receiver_document_type": "CNPJ",
    "receiver_document_legal_id": "3553520000000",
    "data_qr_code_dynamic_immediate": {
      "revision": 12,
      "conciliation_id": "ABC123456789",
      "category_code": "6012",
      "receiver_psp_url": "https://psp.exemplo/qr/consulta",
      "payer_request": "Pedido #98765",
      "payer_name": "JOAO DA SILVA",
      "payer_document_type": "CPF",
      "payer_document_legal_id": "123451233331",
      "city": "SAO PAULO",
      "postal_code": "04080922",
      "original_value": 100.5,
      "allows_change_value": false,
      "withdrawal_value": null,
      "withdrawal_allows_change_amount": null,
      "withdrawal_ispb": null,
      "withdrawal_modality_agent": null,
      "cashback_value": null,
      "cashback_allows_change_amount": null,
      "cashback_ispb": null,
      "cashback_modality_agent": null,
      "expiration": "2025-09-03T12:00:00-03:00",
      "additional_data": [
        {
          "name": "pedido",
          "value": "98765"
        }
      ],
      "date_time_creation": "2025-09-02T12:00:00-03:00",
      "date_time_read": "2025-09-02T12:05:03-03:00",
      "reusable": true,
      "status": "ACTIVE"
    }
  },
  "data_qr_code_dynamic_charge": null,
  "data_qr_code_compound": null
}

Response QR Code Dynamic Charge

{
  "end_to_end_id": "E3553524020250902191000YRRJXL1",
  "type": "STATIC",
  "journey": null,
  "ispb": "00416887",
  "agency": "0001",
  "account": "123456",
  "account_type": "CURRENT",
  "key": "bd1e5560-2ff9-4a82-82b8-000000000000",
  "key_type": "EVP",
  "receiver_name": "Fulano de tal",
  "receiver_fantasy_name": null,
  "receiver_document_type": "CPF",
  "receiver_document_legal_id": "143508877755",
  "data_qr_code_static": null,
  "data_qr_code_dynamic_immediate": null,
  "data_qr_code_dynamic_charge": {
    "type": "DYNAMIC_CHARGE",
    "ispb": "35535240",
    "agency": "0001",
    "account": "0422297",
    "account_type": "PAYMENT",
    "key": "[email protected]",
    "key_type": "EMAIL",
    "receiver_name": "SAQ INSTITUIÇÃO DE PAGAMENTO LTDA",
    "receiver_document_type": "CNPJ",
    "receiver_document_legal_id": "35535240000000",
    "data_qr_code_dynamic_charge": {
      "revision": 4,
      "conciliation_id": "COBV-2025-000123",
      "category_code": "6012",
      "receiver_psp_url": "https://psp.exemplo/cobv/consulta",
      "receiver_address": "AV. JAMARIS, 100",
      "payer_request": "Fatura 2025-09",
      "payer_name": "Fulano de tal",
      "payer_document_type": "CPF",
      "payer_document_legal_id": "1212300456",
      "city": "SAO PAULO",
      "state": "SP",
      "postal_code": "04080922",
      "original_value": 150.0,
      "abatement": 0.0,
      "discount": 10.0,
      "fees": 0.0,
      "fine": 0.0,
      "final_value": 140.0,
      "due_date": "2025-10-15",
      "days_allowed_pay_after_due": 5,
      "additional_data": [
        {
          "name": "fatura",
          "value": "2025-09"
        }
      ],
      "date_time_creation": "2025-09-02T12:00:00-03:00",
      "date_time_read": "2025-09-02T12:02:45-03:00",
      "reusable": true,
      "status": "ACTIVE"
    }
  },
  "data_qr_code_compound": null
}

Response QR Code Dynamic Appellant

{
  "end_to_end_id": "E3553524020250902191000YRRJXL1",
  "type": "STATIC",
  "journey": null,
  "ispb": "00416887",
  "agency": "0001",
  "account": "123456",
  "account_type": "CURRENT",
  "key": "bd1e5560-2ff9-4a82-82b8-000000000000",
  "key_type": "EVP",
  "receiver_name": "Fulano de tal",
  "receiver_fantasy_name": null,
  "receiver_document_type": "CPF",
  "receiver_document_legal_id": "143508877755",
  "data_qr_code_static": null,
  "data_qr_code_dynamic_immediate": null,
  "data_qr_code_dynamic_charge": null,
  "data_qr_code_compound": {
    "type": "COMPOUND",
    "ispb": "35535240",
    "agency": "0001",
    "account": "0422297",
    "account_type": "PAYMENT",
    "key": "f9f1f2c0-2a8d-4f7f-9b3d-2f4c9a6a1c77",
    "key_type": "EVP",
    "receiver_name": "SAQ INSTITUIÇÃO DE PAGAMENTO LTDA",
    "receiver_document_type": "CNPJ",
    "receiver_document_legal_id": "355300000000",
    "data_qr_code_compound": {
      "recurrence_id": "REC-2025-0001",
      "frequency": "MONTHLY",
      "recurrence_start_date": "2025-09-01",
      "recurrence_end_date": "2026-08-31",
      "value": 99.9,
      "maximum_value": 120.0,
      "receiver_ispb": "35535240",
      "receiver_document_type": "CNPJ",
      "receiver_document_legal_id": "35535240000175",
      "receiver_name": "SAQ INSTITUIÇÃO DE PAGAMENTO LTDA",
      "receiver_psp_url": "https://psp.exemplo/recurrence",
      "payer_name": "Fulano de tal",
      "payer_document_type": "CPF",
      "payer_document_legal_id": "1234567000001",
      "contract_number": "C-2025-009",
      "contract_description": "Assinatura mensal",
      "retry": 3,
      "date_time_read": "2025-09-02T12:00:02-03:00",
      "updates": [
        {
          "status": "ACTIVE",
          "date_time_status": "2025-09-02T12:00:02-03:00"
        }
      ]
    }
  }
}
Language
Click Try It! to start a request and see the response here!