Decline Classifications, Smart Retries & Dunning
Fype manages payment recovery automatically using a rules-based dunning engine to handle transaction declines and retry failed charges.Decline Classifications
Fype separates payment failure codes received from gateway networks (Razorpay and Cashfree) into two distinct categories:- Soft Declines (Recoverable):
- Causes:
insufficient_funds,bank_timeout,network_error,temporary_decline. - Handling: Bypasses immediate cancellation. The subscription status changes to
past_due, and Fype schedules a smart retry campaign.
- Causes:
- Hard Declines (Unrecoverable):
- Causes:
expired_card,cancelled_mandate,invalid_account,mandate_revoked. - Handling: Bypasses the retry loop entirely. The subscription transitions to
cancelledimmediately and alerts the merchant via asubscription.cancelledwebhook.
- Causes: