Refunds allow you to reverse a completed payment, either partially or in full, by returning funds to the customer. Common scenarios for refunds include order cancellations, duplicate payments, or fulfillment issues. Modem Pay makes it simple to issue refunds via the API.Documentation Index
Fetch the complete documentation index at: https://docs.modempay.com/llms.txt
Use this file to discover all available pages before exploring further.
Important Refund Policies
- Eligibility: Refunds are only allowed on transactions that have a completed status.
- Refund Window: The refund request must be made within 48 hours of the original transaction’s completion.
- Partial Refunds: To issue a partial refund, specify the
amountin the request body. The partial refund amount cannot exceed the original transaction amount. - Charges: Charges may apply when processing a refund.
- Transaction Reference: Always use the reference to identify the payment you want to refund.
When to Issue a Refund
You might want to issue a refund when:- The customer cancels their purchase after payment.
- An incorrect amount was charged.
- The goods or services could not be provided.
- You need to comply with a return or cancellation policy.
Issuing a Refund
To issue a refund for a specific payment, call the refund endpoint and provide the reference of the original transaction. You can also specify theamount to refund if you want to perform a partial refund. If amount is omitted, a full refund will be processed.
