Write off dynamic QR Code
Request
ENDPOINT
/baas/qrcode/dynamicMETHOD
POSTRequest Body
{
"occurrence_type": "write_off",
"qr_code_key": "461d29e6-d2ed-48f7-bc7b-c3143a1e43d2",
"qr_code_type": "dynamic_term"
}
Body Params
Field | Type | Description | Characters |
---|---|---|---|
occurrence_type * | string | Type of occurrence. payment: Payment occurrence, registration: Registration occurrence, write_off: Generator cancellation occurrence, bank_written_off: Bank cancellation occurrence. | - |
qr_code_type * | string | Type of dynamic QR Code | - |
qr_code_key * | string | QR Code key returned at the time of generation. | uuid |
Response
STATUS
200Response 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
400Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Invalid request body.\", \"translation\": \"Corpo da requisição inválido.\", \"extra_fields\": {}, \"code\": \"LEG000069\"}"
}