API Docs Início Documentação Referência de API Copiar para LLM
GET/v1/BankAccount/{id}/Pix/QRCode
Banking · PIX

Obter informações por QRCode PIX

Lista e filtra registros de Bank Account.

Visão geral

Obter informações por QRCode PIX

Autenticação e pré-requisitos

Requer autenticação. Envie o token no header Authorization: Bearer {{token}} (JWT do AWS Cognito). Integrações servidor-a-servidor podem usar X-Api-Key. Todo tráfego é HTTPS e a credencial nunca vai na URL nem em query string.

Pré-requisitos: a rota exige identificador(es) de recurso já existente(s):

Request

Parâmetros

NomeEmTipoObrigatórioDescriçãoExemplo
idpathstringobrigatório3fa85f64-5717-4562-b3fc-2c963f66afa6
qrCodequerystringopcionalvalor
intendedPaymentDatequerystring (date-time)opcionalvalor

Corpo da requisição

Este endpoint não recebe corpo.

Response

Resposta 200.

Campos

CampoTipoObrigatórioDescriçãoValoresExemplo
pixKeystringopcional"texto"
pixKeyTypeobjetoopcionalvaria conforme o tipo — ver exemplo"NaturalRegistrationNumber"
pixKeyTypeDisplaystringopcional"texto"
endToEndIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
beneficiaryobjetoopcionalobjeto — ver detalhe abaixo{ … }
payerobjetoopcionalobjeto — ver detalhe abaixo{ … }
valueInCentsinteger (int64)opcional0
originalValueInCentsinteger (int64)opcional0
interestValueInCentsinteger (int64)opcional0
assessmentValueInCentsinteger (int64)opcional0
discountValueInCentsinteger (int64)opcional0
rebateValueInCentsinteger (int64)opcional0
dueDatestring (date-time)opcional"2025-08-11T13:45:00Z"
validityAfterExpirationintegeropcional1
txIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
infostringopcional"texto"
qrCodeTypestringopcional"texto"
pixTypestringopcional"texto"
recurrenceDataobjetoopcionalvaria conforme o tipo — ver exemplo{ … }

Detalhe de beneficiary

CampoTipoObrigatórioDescriçãoValoresExemplo
agencystringopcional"texto"
accountNumberstringopcional"texto"
accountTypestringopcionalCheckingAccount, SalaryAccount, SavingsAccount, Transactional"CheckingAccount"
accountTypeDisplaystringopcional"texto"
ispbstringopcional"texto"
personTypestringopcionalNatural, Legal"Natural"
personTypeDisplaystringopcional"texto"
registrationNumberstringopcional"12345678909"
namestringopcional"Fulano de Tal"
bankNamestringopcional"Fulano de Tal"

Detalhe de payer

CampoTipoObrigatórioDescriçãoValoresExemplo
personTypestringopcionalNatural, Legal"Natural"
personTypeDisplaystringopcional"texto"
registrationNumberstringopcional"12345678909"
namestringopcional"Fulano de Tal"

Exemplo de resposta

{
  "pixKey": "texto",
  "pixKeyType": "NaturalRegistrationNumber",
  "pixKeyTypeDisplay": "texto",
  "endToEndId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "beneficiary": {
    "agency": "texto",
    "accountNumber": "texto",
    "accountType": "CheckingAccount",
    "accountTypeDisplay": "texto",
    "ispb": "texto",
    "personType": "Natural",
    "personTypeDisplay": "texto",
    "registrationNumber": "12345678909",
    "name": "Fulano de Tal",
    "bankName": "Fulano de Tal"
  },
  "payer": {
    "personType": "Natural",
    "personTypeDisplay": "texto",
    "registrationNumber": "12345678909",
    "name": "Fulano de Tal"
  },
  "valueInCents": 0,
  "originalValueInCents": 0,
  "interestValueInCents": 0,
  "assessmentValueInCents": 0,
  "discountValueInCents": 0,
  "rebateValueInCents": 0,
  "dueDate": "2025-08-11T13:45:00Z",
  "validityAfterExpiration": 1,
  "txId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "info": "texto",
  "qrCodeType": "texto",
  "pixType": "texto",
  "recurrenceData": {
    "recurrenceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "journey": "JORNADA_1",
    "journeyDisplay": "texto",
    "retry": "texto",
    "amountValueInCents": 0,
    "minimumAmountValueInCents": 0,
    "receiverBankIspb": "texto",
    "receiverName": "Fulano de Tal",
    "receiverRegistrationNumber": "texto",
    "payerCpf": "12345678909",
    "payerBankRegistrationNumber": "texto",
    "payerBankName": "Fulano de Tal",
    "firstRecurrenceDate": "2025-08-11T13:45:00Z",
    "lastRecurrenceDate": "2025-08-11T13:45:00Z",
    "periodicity": "MIAN",
    "contractNumber": "texto",
    "description": "texto",
    "updates": [
      {
        "updateDateTime": "2025-08-11T13:45:00Z",
        "status": "texto"
      }
    ]
  }
}

Códigos de retorno

CódigoSignificadoDetalhe do contrato
200Requisição bem-sucedida.

Exemplos

curl -X GET "{{baseUrl}}/v1/BankAccount/3fa85f64-5717-4562-b3fc-2c963f66afa6/Pix/QRCode" \
  -H "Authorization: Bearer {{token}}"
var baseUrl = "{{baseUrl}}";
var token   = "{{token}}";

using var http = new HttpClient { BaseAddress = new Uri(baseUrl) };
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", token);

var rota = "/v1/BankAccount/3fa85f64-5717-4562-b3fc-2c963f66afa6/Pix/QRCode";

var resp = await http.GetAsync(rota);
resp.EnsureSuccessStatusCode();
var json = await resp.Content.ReadAsStringAsync();
const baseUrl = '{{baseUrl}}';
const token   = '{{token}}';

const resp = await fetch(`${baseUrl}/v1/BankAccount/3fa85f64-5717-4562-b3fc-2c963f66afa6/Pix/QRCode`, {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
const data = await resp.json();

Troque apenas {{baseUrl}} e {{token}}. No Postman, defina-os como variáveis de environment; o cURL importa em Import > Raw text.

Downloads

Este endpoint já vem configurado nas collections abaixo, na pasta da etapa correspondente.

Guia de importação: Como importar no Postman · Todos os downloads: Downloads