#tg

1 messages · Page 1 of 1 (latest)

thick summitBOT
twilit thorn
halcyon solar
#

that would notify me 1 by 1 when a new card is added, right? but would there be anything on the client's stripe account that would signify it? some field that we could use to generate a query that shows us all the client cards that have been updated in the last X days?

twilit thorn
#

So you mean some sort of query using the API?

#

We don't expose the types of fields on the Payment Method object to make a query like that

halcyon solar
#

So there's no way for us to get a list of all the clients who have expired cards so we can remind them to update their payment details?

twilit thorn
#

There isn't a simple API to do that, no.

#

You would need to list all Payment Methods by type card, then iterate through checking the exp_month and exp_year

#

For expired ones you would trigger a notification based on the Customer ID