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.

ParameterValue TypeDescription
nameREQUIREDReceiver's name.
cityREQUIREDReceiver's city name.
externalIdREQUIREDString that must be unique among all your Dynamic BR codes to avoid duplicates. Example: externalId=my-entity/123
typeOPTIONALDynamic BR code type. Options: instant or due. Default: instant

Request Body

{"brcodes"=>[{"name"=>"Jamie Lannister", "city"=>"Sao Paulo", "externalId"=>"my_external_id 10", "type"=>"due"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

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"}]}