Refunds for PIX OF flows
This guide explains how refunds for PIX transactions work within the Open Finance Brazil framework. Understanding the standard processes is key to managing customer expectations and handling returns effectively. We'll cover the official PIX refund mechanism and then introduce a more flexible option for situations where a standard refund isn't possible.
Part 1: The Standard PIX Refund
The primary method for returning money to a customer via PIX is called a Devolução (Refund). This is the standard, regulated process created by the Central Bank of Brazil for everyday commerce.
How it Works:
A Devolução is a voluntary action initiated entirely by you, the merchant. It's designed for situations like a customer returning a product, cancelling a service, or when you need to correct an accidental overcharge.
Key Details for Merchants:
It's a Commercial Agreement: You process a
Devoluçãobased on your store's return and cancellation policies. A customer's recourse is to contact you directly; they cannot force this type of refund through their bank.Merchant-Initiated: You start the refund from your business banking application or portal. You find the original transaction and select the specific "Refund" (
Devolver) option associated with it.Linked to Original Transaction: Using this specific function is critical. It creates an official link between the refund and the original purchase, ensuring a clean and verifiable audit trail for both you and your customer. This is different from just sending a new PIX payment.
Time Limit: You have up to 90 days from the date of the original transaction to process a
Devolução.Full or Partial Refunds: Within this 90-day window, you can issue a single full refund or multiple partial refunds, as long as the total refunded amount does not exceed the original transaction value.
Part 2: Understanding Formal Disputes (MED)
It is crucial to understand the Mecanismo Especial de Devolução (MED), or Special Refund Mechanism, because it is fundamentally different from a commercial refund.
This is not a tool for commercial disputes. The MED is a formal, bank-led process initiated by a customer through their bank, and it is strictly limited to two scenarios:
Founded suspicion of fraud (e.g., a scam, phishing, or account takeover).
Operational failures in the banking system itself.
A customer cannot use the MED because they are unhappy with a product, haven't received their goods, or want to dispute a legitimate charge. For all such commercial matters, they must contact you for a standard Devolução.
What Happens on Your End:
Notification and Fund Blocking: If a customer files an MED claim on a PIX payment you received, your bank will notify you. They are required to immediately block the disputed amount in your account if the funds are still available. This is a temporary security hold (
Bloqueio Cautelar) while the case is analyzed.Your Role is Passive: The investigation is handled entirely by the customer's bank and your bank. You are not the decision-maker. Your primary responsibility is to understand that this process is underway and to direct any customer inquiries about fraud back to their own bank.
Part 3: A More Flexible Approach: Refunds via Payouts
While the standard Devolução works for most cases, it has limitations, primarily the 90-day time limit. What happens when you need to refund a customer after this window has closed?
To solve this, we offer an alternative: processing refunds as a direct payout. This gives you the flexibility to refund customers via other methods, like a bank transfer, ensuring a smooth experience even in complex scenarios.
How it Works for You:
Configuration: First, you'll need to have our Payouts product configured. In your Juspay dashboard, you'll set up the payout gateways you wish to use (e.g., Airwallex, 2C2P) and define your routing preferences.
Check Feasibility & Options: When a refund is needed, your first step is to check if a standard
Devoluçãois possible. If not (for instance, if the 90-day limit has passed), you can use our APIs to see a list of available alternative payout methods.Collect Details: Your system can then present these options to the customer. For the chosen method (e.g., bank transfer), you will need to securely collect the necessary beneficiary details as specified by the API response, such as account number and full name.
Initiate the Refund: When you need to process the refund, you simply call our refund API, specifying that it should be processed as a payout through your chosen gateway, and include the beneficiary details you collected.
This approach puts you in control, allowing you to handle a wider range of refund requests efficiently and keep your customers happy, without being constrained by the limitations of the standard PIX refund system

