Create dynamic brcodes
POST {{baseInfraUrl}}/{{version}}/dynamic-brcode
Create Dynamic BR codes to receive Pix transactions. There are two distinct Dynamic BR code types: sue and instant.
Due Dynamic BR codes are charges for scheduled Pix transactions; therefore, they may have fines, fees, discounts, due dates, and additional receiver information.
Instant Dynamic BR codes are charges for instant Pix transactions; therefore, they only have an expiration date and an amount.
Parameter | Value Type | Description |
---|---|---|
name | REQUIRED | Receiver's name. |
city | REQUIRED | Receiver's city name. |
externalId | REQUIRED | String that must be unique among all your Dynamic BR codes to avoid duplicates. Example: externalId=my-entity/123 |
type | OPTIONAL | Dynamic BR code type. Options: instantor due. Default: instant |
Request Body
{"brcodes"=>[{"name"=>"Jamie Lannister", "city"=>"Sao Paulo", "externalId"=>"my_external_id 10", "type"=>"due"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"brcodes":[{"city":"Sao Paulo","created":"2022-07-07T14:55:21.248895+00:00","externalId":"my_external_id 10","id":"00020101021226980014br.gov.bcb.pix2576brcode-h.development.starkinfra.com/v2/cobv/c1c7915805b4426e807a1672ee650a1e5204000053039865802BR5915Jamie Lannister6009Sao Paulo62070503***6304A4BE","name":"Jamie Lannister","type":"due","updated":"2022-07-07T14:55:21.248900+00:00","url":"https://brcode-h.development.starkinfra.com/dynamic-qrcode/c1c7915805b4426e807a1672ee650a1e.png","uuid":"c1c7915805b4426e807a1672ee650a1e"}]}