Efí Pay (Gerencianet) · Arazzo Workflow

Efí Boleto Charge Issue

Version 1.0.0

Create a Cobranças charge, set the boleto payment method, and read its status.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub PaymentsPixBoletoSubscriptionRecurring BillingMarketplaceSplit PaymentsOpen FinanceBanking as a ServiceAccount OpeningBill PaymentsCNABBrazilFintechArazzoWorkflows

Provider

gerencianet

Workflows

boleto-charge-issue
Create a charge, apply the boleto payment method, and confirm issuance.
Authenticates, creates a Cobranças charge for the supplied items, sets the banking_billet payment method with the customer and expiry, and reads the charge back to capture the boleto link and barcode.
4 steps inputs: clientId, clientSecret, customerCpf, customerName, expireAt, itemAmount, itemName, itemValue outputs: barcode, billetLink, chargeId, status
1
authenticate
Exchange the client_id and client_secret for an OAuth2 access token using the client_credentials grant required by the Cobranças API.
2
createCharge
Create a Cobranças charge for the supplied line item. The server returns a charge_id used to apply a payment method.
3
defineBoleto
Define the banking_billet (boleto) payment method on the charge with the paying customer and the boleto expiry date.
4
confirmCharge
Read the charge back by id to confirm it moved into a waiting state and to capture its current status after the boleto was issued.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Efí Boleto Charge Issue
  summary: Create a Cobranças charge, set the boleto payment method, and read its status.
  description: >-
    The classic Efí Pay Cobranças (charges) boleto flow. The workflow exchanges
    client credentials for an access token, creates a charge for one or more
    line items, defines the banking_billet (boleto) payment method with the
    payer customer and expiry, and then reads the charge back to confirm it was
    issued and to capture the boleto link and barcode. Every step spells out its
    request inline so the flow can be read and executed without opening the
    underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-200.30
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-200.30
      capability_name: Accounts Receivable Management
      spec: gerencianet-charges-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: authorizationApi
  url: ../openapi/gerencianet-authorization-api-openapi.yml
  type: openapi
- name: chargesApi
  url: ../openapi/gerencianet-charges-api-openapi.yml
  type: openapi
workflows:
- workflowId: boleto-charge-issue
  summary: Create a charge, apply the boleto payment method, and confirm issuance.
  description: >-
    Authenticates, creates a Cobranças charge for the supplied items, sets the
    banking_billet payment method with the customer and expiry, and reads the
    charge back to capture the boleto link and barcode.
  inputs:
    type: object
    required:
    - clientId
    - clientSecret
    - itemName
    - itemValue
    - itemAmount
    - customerName
    - customerCpf
    - expireAt
    properties:
      clientId:
        type: string
        description: The OAuth2 client_id issued for the Efí Pay account.
      clientSecret:
        type: string
        description: The OAuth2 client_secret issued for the Efí Pay account.
      itemName:
        type: string
        description: The name of the line item being charged.
      itemValue:
        type: integer
        description: The unit value of the line item in cents (e.g. 1000 for R$10,00).
      itemAmount:
        type: integer
        description: The quantity of the line item.
      customerName:
        type: string
        description: The full name of the paying customer.
      customerCpf:
        type: string
        description: The CPF of the paying customer.
      expireAt:
        type: string
        description: The boleto expiry date (YYYY-MM-DD).
  steps:
  - stepId: authenticate
    description: >-
      Exchange the client_id and client_secret for an OAuth2 access token using
      the client_credentials grant required by the Cobranças API.
    operationId: authorize
    requestBody:
      contentType: application/json
      payload:
        grant_type: client_credentials
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      accessToken: $response.body#/access_token
  - stepId: createCharge
    description: >-
      Create a Cobranças charge for the supplied line item. The server returns a
      charge_id used to apply a payment method.
    operationId: createCharge
    parameters:
    - name: Authorization
      in: header
      value: Bearer $steps.authenticate.outputs.accessToken
    requestBody:
      contentType: application/json
      payload:
        items:
        - name: $inputs.itemName
          value: $inputs.itemValue
          amount: $inputs.itemAmount
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      chargeId: $response.body#/data/charge_id
      status: $response.body#/data/status
  - stepId: defineBoleto
    description: >-
      Define the banking_billet (boleto) payment method on the charge with the
      paying customer and the boleto expiry date.
    operationId: definePayMethod
    parameters:
    - name: Authorization
      in: header
      value: Bearer $steps.authenticate.outputs.accessToken
    - name: id
      in: path
      value: $steps.createCharge.outputs.chargeId
    requestBody:
      contentType: application/json
      payload:
        payment:
          banking_billet:
            expire_at: $inputs.expireAt
            customer:
              name: $inputs.customerName
              cpf: $inputs.customerCpf
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      barcode: $response.body#/data/barcode
      billetLink: $response.body#/data/link
      paymentStatus: $response.body#/data/status
  - stepId: confirmCharge
    description: >-
      Read the charge back by id to confirm it moved into a waiting state and to
      capture its current status after the boleto was issued.
    operationId: detailCharge
    parameters:
    - name: Authorization
      in: header
      value: Bearer $steps.authenticate.outputs.accessToken
    - name: id
      in: path
      value: $steps.createCharge.outputs.chargeId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/data/status
      total: $response.body#/data/total
  outputs:
    chargeId: $steps.createCharge.outputs.chargeId
    barcode: $steps.defineBoleto.outputs.barcode
    billetLink: $steps.defineBoleto.outputs.billetLink
    status: $steps.confirmCharge.outputs.status

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/gerencianet-boleto-charge-issue-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.