Click “Copy Page” to copy this use case as markdown.
Problem
When a user adds their debit or prepaid card to an online merchant account that has an active subscription or recurring bill, there’s a risk that the next charge will fail if the account doesn’t have sufficient funds. Unlike credit cards, debit and prepaid cards draw directly from the account balance. A declined charge can result in a missed payment, service interruption from the merchant, overdraft fees from the issuing bank, and a poor user experience for the new cardholder. Today, users have no visibility into upcoming charges for bills or subscriptions where they’ve just provisioned their card through Knot. They switch their card, move on, and find out days later when a charge fails.Solution
Immediately after a card is switched, check whether the merchant account has an upcoming subscription charge that exceeds the user’s available balance. If it does, proactively notify the user to fund their account before the charge hits.
Flow
Implementation
Receive the CARD_UPDATED webhook
When a user successfully switches their card at a merchant, Knot emits the
CARD_UPDATED event to your webhook. With SubscriptionManager enabled, the payload includes subscription IDs for the subscription(s) or bill(s) on the user’s merchant account.Key fieldsIf
data.subscriptions is empty, the merchant account does not have a subscription or bill and no further action is needed.Fetch subscription or bill details
For each subscription ID in the webhook payload, call Get Subscription By ID to get the subscription or bill details, including the name, status, next billing date, price, etc. The full subscription object is documented here.Key fields
Evaluate the funding condition
Once you have the subscription details and the user’s account balance, apply two checks:Configuration decisions for your team:
Send the notification
If the conditions are met, send a push notification (and in-app message) to the user:
Upcoming $22.99 charge for Netflix. Deposit money to cover your upcoming Netflix subscription charge for $22.99 on Mar 14th.Deeplink the user to a screen where they can fund their account to cover the upcoming charge.