Overview
The Refund API allows you to return funds to your customers for completed checkout transactions. You can process full refunds, partial refunds, or refund directly to a customer’s bank account via transfer.Refund Types
The Nomba API supports three types of refunds depending on the parameters you provide:1. Full Refund
When you provide only thetransactionId, the system automatically processes a full refund for the entire transaction amount.
2. Partial Refund
To refund a portion of the transaction amount, include theamount parameter alongside the transactionId. The amount must be less than the original transaction amount.
3. Refund via Bank Transfer
For instant refunds or when card refunds are not supported, you can refund directly to the customer’s bank account by providingaccountNumber and bankCode.
Process a Refund
To process a refund, send a POST request to/v1/checkout/refund.
Important Considerations
Card Refund Timing
Card refunds typically take T+7 days (7 business days) for fulfillment. The actual time may vary depending on the customer’s card issuer and their processing times.
Vendor Limitations
Some card vendors and issuers do not support automated refunds through their systems. In such cases, the refund request may fail or require manual intervention.Recommended Approach
Best Practices
- Verify Before Refunding: Always verify that the original transaction was successful before processing a refund.
- Keep Records: Store refund transaction IDs and responses for reconciliation and customer support purposes.
-
Communicate with Customers:
- For card refunds, inform customers about the T+7 days processing time
- For transfer refunds, confirm the account details are correct before processing
- Use Transfer for Urgent Refunds: When customers need immediate refunds, use the bank transfer method instead of card refunds.
- Handle Partial Refunds Carefully: Ensure the refund amount does not exceed the original transaction amount.