v1
latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MBQR Code
Create dynamic COB QR Code
Generate a new dynamic COB QR Code and EMV (Europay Mastercard Visa) string.
COB is short for cobranca, which means charge in Portuguese. A COB QR Code has an expiration date while a COBV QR Code has a due date, fine, interest, and rebates.
For more information, refer to Pix and QR Codes.
Typically, this endpoint is used to generate a dynamic QR Code for the Pix instant payments system.
Note: This endpoint takes an account token - an access token encoded with a Pismo account ID.
post/v1/pix/qrcode/cob
Headers
Authorizationstring required
Account token - token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a <b>401 Unauthorized</b> message
Request body
Example request
{
"payee": {
"address": "10 Downing Street, London SW1A 2AB, UK",
"city": "Brasilia",
"key": "chuck@steaks.com",
"state": "DF",
"zip_code": "8675309",
"category": "5651"
},
"payer": {
"name": "Eva Destrukion",
"address": "10 Downing Street, London SW1A 2AB, UK",
"city": "Brasilia",
"document_number": "42761202686",
"state": "DF",
"trade_name": "Acme Widgets",
"type": "NATURAL_PERSON",
"zip_code": "8675309"
},
"transaction_identification": "trans-id-75789947401234567",
"initial_amount": 86753.09,
"payer_solicitation": "For dinner last night",
"qrcode_expiration_time": 7200,
"allows_value_change": true,
"reusable": true,
"location": {
"url_payload": "example.com/pix/8b3da2f3-941-40d1-a91a-bd93113bd441"
},
"additional_information": [
{
"name": "Purity of essence",
"value": "5.00"
}
],
"access_token": "153ed19a-e738-4417-9e98-a515c276a731",
"withdraw": {
"agent_modality": "AGTEC",
"ispb_service_provider": "12345678",
"amount": 600,
"allows_value_change": true
},
"change": {
"agent_modality": "AGTEC",
"ispb_service_provider": "12345678",
"amount": 600,
"allows_value_change": true
}
}Response
Generate COB QR Code response
Example response
{
"id": "442e992a-2f89-46fb-820a-958693bde84d",
"access_token": "1234567890",
"external_id": "my-external-id-9999-6474",
"emv": "00020101021226980014br.gov.bcb.pix2576api-h.developer.btgpactual.com/pc/p/v2/...***63040441",
"status": "PROCESSING",
"qrcode_imageb64": "dfkk7830o*&#)@#9FEE",
"version": 1,
"jws": "eYqqqwq.heif.jk2w",
"creation_date": "2023-04-12T23:20:50.52Z",
"last_update": "2023-04-12T23:20:50.52Z"
}