capabilities.work

Pix Due Charge to QR Code

A 4-step recipe with Efí Pay (Gerencianet). We can help you get access.

Recipe · 4 steps

Pix Due Charge to QR Code

with Efí Pay (Gerencianet) · Real-Time Payment Management

Create a dated Pix due charge and produce its scannable QR Code.

  1. Exchange the client_id and client_secret for an OAuth2 access token using the client_credentials grant required by the Pix API.
  2. Create a Pix due charge (cobv) under the supplied txid with a due date, amount, payer, and receiving Pix key.
  3. Read the due charge back by txid to confirm it registered as ATIVA before rendering its QR Code.
  4. Generate the QR Code image payload for the location bound to the due charge so the payer can scan it to pay.
What you'll need to have ready
  • clientId: The OAuth2 client_id issued for the Efí Pay account.
  • clientSecret: The OAuth2 client_secret issued for the Efí Pay account.
  • txid: The 26-35 char transaction id to register the due charge under.
  • amount: The original charge amount in BRL as a decimal string.
  • pixKey: The receiving Pix key (chave) the charge is credited to.
  • dueDate: The due date of the charge (calendario.dataDeVencimento), YYYY-MM-DD.
  • payerCpf: The CPF of the payer (devedor).
  • payerName: The full name of the payer (devedor).
For your developer

Arazzo workflow gerencianet:pix-due-charge-qrcode, 4 operations: contasAuthorize → pixCreateDueCharge → pixDetailDueCharge → pixGenerateQRCode. Specs on APIs.io.