API Reference
Pay a Pix QR Code (simulator)
/testes-portal-desenvolvedor/v1/boletos-pix/pagarhttps://bb.mimicr.dev · provider: https://api.hm.bb.com.brBB's homologação payment simulator: pays the cob or cobv of the given Pix Copia e Cola and answers {"code": 1,"texto": "<endToEndId>"}. No OAuth; only the application key (BB asks for the portal's public key, 95cad3f03fd9013a9d15005056825665; Mimicr also accepts your sandbox's).
The payer is always VICTOR LOPES DORNELES (CPF 93492239293), and a cobv is paid at its original amount on the day, even with a future due date. In homologação BB sends no webhook for these payments.
In Mimicr, the payment is immediate and the key's webhook is sent, unless the noWebhooksOnSimulatedPayments homologation toggle is on. A charge already paid, expired or unknown answers 500 with the reason in CURIO-ERRO-MENSAGEM.
Authorization
Public route, no token.
Query parameters
Application key. BB documents the public key 95cad3f03fd9013a9d15005056825665; gw-app-key is accepted too.
"<app-key>"Body
application/jsonThe Pix Copia e Cola (pixCopiaECola) of the cob or cobv to pay.
Responses
200Simulated payment. texto is the Pix endToEndId.
1endToEndId of the Pix created.
400No application key.
403Invalid application key.
Message, without accents.
"A chave de aplicacao (AppKey) nao foi informada"Guidance to fix it.
"403"Show child attributes
"SISTEMA""ERRO"422Empty copia e cola (code 421, "Requisição inválida").
Show child attributes
Error details; CURIO-ERRO-MENSAGEM carries the reason.
500Copia e cola invalid, or of an unknown, expired or already paid charge (ERRO_SISTEMA).
Show child attributes
Error details; CURIO-ERRO-MENSAGEM carries the reason.