Bill Payment by Bar Code
A 4-step recipe with Efí Pay (Gerencianet). We can help you get access.
Recipe · 4 steps
Bill Payment by Bar Code
Decode a bar code, pay the bill, and reconcile the payment status.
- Exchange the client_id and client_secret for an OAuth2 access token using the client_credentials grant required by the Pagamentos API.
- Decode the bar code to recover the bill amount and due date before committing to the payment.
- Submit the payment request for the decoded bar code with the desired debit date. The server returns a payment id.
- Read the payment back by its id to reconcile the final settlement status.
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.
- codBarras: The boleto/concessionária bar code (linha digitável) to pay.
- paymentDate: The desired debit date for the payment (dataPagamento), YYYY-MM-DD.
For your developer
Arazzo workflow gerencianet:bill-payment, 4 operations: pagamentosAuthorize → payDetailBarCode → payRequestBarCode → payDetailPayment. Specs on APIs.io.