#Michal Pekalski
1 messages · Page 1 of 1 (latest)
Yes that's correct unfortunately
Does this mean that there is no way to notify customer or my service using webhook, that card will expire soon?
Yes. You could build a notification system yourself, if you keep track of all pm_ you have and checking their expire year/month
In this case every day I should make a call to the Stripe's API for every single customer to check if attached card expires in the nearest future or not?
You could leverage some cache mechanism. Card expiration can't change frequently
ie. running a cron once a month
Yeah, you are right, but still, I should make hundred of thousand requests in short period of time. Will Stripe survive it?
Stripe have rate limit, so we should be fine 😄 It's you to construct the batch to not get over 100 RPS