Encode BR Code
Encode a Brazilian BR Code (short for "Brazilian Barcode") - a standard barcode format used in Brazil for electronic payments. It is part of the Brazilian Payment System (SPB) and is regulated by the Central Bank of Brazil. The BR Code contains information about the payee, transaction details, and other data.
A BR Code is typically used with Pix, a Brazilian instant payments system. For more information about BR Codes, see <a href="https://www.bcb.gov.br/content/config/Documents/BR_Code_MANUAL_Version_2_May_2020.pdf" target="_blank">BR Code Manual</a>
Request
- Base URLhttps://sandbox.pismolabs.io/qrcps
- URLhttps://sandbox.pismolabs.io/qrcps/v1/emv/brcode/encode
- Authnone declared. Required headers: x-cid
Headers
The Correlation IDentifier UUID field links related API requests and events. The x-cid can help the Pismo engineering team track everything related to a call. If not passed, this field is automatically generated.
Organization/tenant ID
Request body
Example request
{
"country_code": "BR",
"merchant_account_information": [
{
"gui": "BR.COM.OTHER",
"key": "123e4567-e12b-12d1-a456-426655440000",
"pss": "86753009",
"url": "br.gov.bcb.pix2572qr-h.sandbox.pix.bcb.gov.br/rest/api/v1/dde3049e944b49"
}
],
"merchant_category_code": "5446",
"merchant_city": "Brasilia",
"merchant_name": "Acme Widgets",
"payload_format_indicator": "01",
"transaction_currency": 986,
"point_initiation_method": "12",
"postal_code": "86753-090",
"transaction_amount": 86753.09,
"unreserved_templates": [
{
"gui": "BR.COM.OTHER",
"key": "123e4567-e12b-12d1-a456-426655440000",
"pss": "86753009",
"url": "br.gov.bcb.pix2572qr-h.sandbox.pix.bcb.gov.br/rest/api/v1/dde3049e944b49"
}
]
}Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.