Billing & Payments
Calculate refund amount preview
Calculates the refund amount that would be issued if a specific subscription order fulfillment were refunded. This provides a preview without actually processing the refund.
Full behavior, validation rules, and side effects
What it calculates:
- Total refund amount (order amount minus processing fees)
- Restocking fees (if applicable)
- Gateway fees that cannot be refunded
- Net refund amount customer will receive
Use Cases:
- Show customer how much they’ll get back before confirming refund
- Display refund breakdown in customer portal
- Validate refund eligibility
Important Notes:
- This is a preview only - does not process refund
- Refund amount may vary based on payment gateway
- Some gateways don’t refund processing fees
- Refunds can only be issued for fulfilled orders
Authentication: Customer must be logged in and own the subscription
GET
Calculate refund amount preview
Documentation Index
Fetch the complete documentation index at: https://developers.appstle.com/llms.txt
Use this file to discover all available pages before exploring further.