#arrayappy
1 messages · Page 1 of 1 (latest)
When the subscription is cancelled, the remaining amount won't be refunded, but added to customer credit balance which will be used in the next invoice: https://stripe.com/docs/invoicing/customer/balance
Is there any api that helps with, upon cancellation we should revoke subscription immediately and refund prorated amount
You can do it separately by:
- Cancel the subscription via API: https://stripe.com/docs/billing/subscriptions/cancel
- Check the prorated amount added to customer's balance and issue the credit note to the paid invoice for the refund: https://stripe.com/docs/invoicing/integration/programmatic-credit-notes#paid-invoices