Pular para o conteúdo principal

Baixar QR Code Pix dinâmico

Request

ENDPOINT
/baas/qrcode/dynamic
MÉTODO
POST
Request Body
{
"occurrence_type": "write_off",
"qr_code_key": "461d29e6-d2ed-48f7-bc7b-c3143a1e43d2",
"qr_code_type": "dynamic_term"
}

Body Params

CampoTipoDescriçãoCaracteres
occurrence_type *stringTipo de ocorrencia. payment: Ocorrência do tipo pagamento, registration: Ocorrência do tipo registro, write_off: Ocorrência do tipo cancelamento pelo gerador, bank_written_off: Ocorrência do tipo cancelamento pelo banco.-
qr_code_type *stringTipo do QR Code dinâmico-
qr_code_key *stringChave do QR Code devolvida no momento da geração.uuid

Response

STATUS
200
Response Body
{
"qr_code_type": "dynamic_instant",
"amount": null,
"expiration_seconds": null,
"max_payment_days": 180,
"receiver_conciliation_id": "461d29e6d2ed48f7bc7bc3143a1e43d2",
"payer_name": null,
"payer_document_number": null,
"payer_person_type": "natural",
"payer_request": null,
"pix_message": null,
"modality_alteration": false,
"expiration_date": null,
"rebate_amount": null,
"interest_amount": null,
"fine_amount": null,
"paid_amount": null,
"discounts": [],
"additional_data": [],
"origin": "system",
"origin_key": null,
"pix_key": "9de04466-0b02-4263-9c28-9cdc0fb638bb",
"qr_code_key": "461d29e6-d2ed-48f7-bc7b-c3143a1e43d2",
"occurrence_type": "write_off",
"end_to_end_id": null,
"source_account_branch": null,
"source_account_financial_institution": null,
"source_account_ispb": null,
"source_account_number": null,
"source_account_digit": null,
"disable": null,
"qr_code_occurrence_key": "32ec9e60-b630-45fa-a0c7-653fbb30a32a",
"base_64": null,
"image": null
}

STATUS
400
Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}