Endpoint: POST /hb/pix/qrcodes/dynamic
Envelope de sucesso (interceptor global):
{
"status_code": 200,
"success": true,
"message": "OK",
"data": {}
}
Envelope de erro (filtro global):
{
"status_code": 400,
"code": "VALIDATION_ERROR",
"message": "Erro de validacao",
"timestamp": "2026-02-13T00:00:00.000Z",
"path": "/exemplo",
"details": []
}
POST /hb/pix/qrcodes/dynamicFINTECH, OPERADOR, ADMIN, GERENTEpix.qrcode.createPath params
Nao possui.
Query params
Nao possui.
Body
DTO: CreatePixQRCodeDynamicDto
| Campo | Tipo | Obrigatorio | Detalhes |
|---|---|---|---|
addressingKey | AddressingKeyDtoDynamic | Sim | Objeto esperado: { type: PixKeyTypeEnumDynamic (enum: CPF, CNPJ, CELULAR, EMAIL, EVP); value: string } |
singlePayment | boolean | Sim | - |
payer | PayerDto | Sim | Objeto esperado: { type: PayerTypeEnum (enum: CUSTOMER, BUSINESS); address: { addressLine: string; state: string; city: string; zipCode: string }; name: string; documentNumber: string } |
changeAmountType | ChangeAmountTypeEnum | Sim | Valores permitidos: ALLOWED, NOT_ALLOWED |
conciliationId | string | Sim | - |
recipientName | string | Sim | - |
expiresAt | string | Sim | - |
amount | number | Sim | - |
Headers
Authorization: Bearer <jwt>: obrigatorio.curl -X POST "https://api.seudominio.com/hb/pix/qrcodes/dynamic" \
-H "Accept: application/json" \
-H "Authorization: Bearer SEU_JWT" \
-H "Content-Type: application/json" \
-d '{
"addressingKey": {
"type": "CPF",
"value": 100.5
},
"singlePayment": true,
"payer": {
"type": "CUSTOMER",
"address": {
"addressLine": "string_exemplo",
"state": "string_exemplo",
"city": "string_exemplo",
"zipCode": "string_exemplo"
},
"name": "string_exemplo",
"documentNumber": "12345678901"
},
"changeAmountType": "ALLOWED",
"conciliationId": "123",
"recipientName": "string_exemplo",
"expiresAt": "string_exemplo",
"amount": 1
}'
Data (schema)
Nao tipado no retorno do controller. Informe um tipo de retorno para documentar automaticamente.
Sucesso (201):
{
"status_code": 201,
"success": true,
"message": "Created",
"data": "<resultado da operacao>"
}
Erro (contrato padrao):
{
"status_code": 400,
"code": "VALIDATION_ERROR",
"message": "Erro de validacao",
"timestamp": "2026-02-13T00:00:00.000Z",
"path": "/hb/pix/qrcodes/dynamic",
"details": []
}