capabilities.work

Pix Charge Status and Refund

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

Recipe · 3 steps

Pix Charge Status and Refund

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

Check a Pix charge status and refund it via devolution when it is paid.

  1. Exchange the client_id and client_secret for an OAuth2 access token using the client_credentials grant required by the Pix API.
  2. Read the immediate Pix charge by txid and capture its status plus the first received-Pix end-to-end id so a refund can be targeted.
  3. Issue a devolution (refund) against the received Pix identified by its end-to-end id for the requested refund amount.
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 transaction id of the immediate Pix charge to inspect.
  • refundId: A client-generated id for the devolution (refund) request.
  • refundAmount: The refund amount in BRL as a decimal string (e.g. "50.00").
For your developer

Arazzo workflow gerencianet:pix-charge-status-refund, 3 operations: contasAuthorize → pixDetailCharge → pixDevolution. Specs on APIs.io.