Card Charge Refund
A 3-step recipe with Efí Pay (Gerencianet). We can help you get access.
Recipe · 3 steps
Card Charge Refund
with Efí Pay (Gerencianet) · Card Transaction Processing Management
Check a card charge status and refund the card when the charge is paid.
- Exchange the client_id and client_secret for an OAuth2 access token using the client_credentials grant required by the Cobranças API.
- Read the charge by id and capture its status so the refund branch can be gated on whether the card charge was paid.
- Issue a refund against the card for the requested amount on the paid charge.
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.
- chargeId: The id of the card charge to inspect and potentially refund.
- refundAmount: The refund amount in cents to credit back to the card.
For your developer
Arazzo workflow gerencianet:card-charge-refund, 3 operations: authorize → detailCharge → refundCard. Specs on APIs.io.