#bilal-customer-paymentmethod
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- bilalsaeedalam, 1 day ago, 11 messages
@wintry briar hello! Do you have a detailed question that you could frame end to end instead?
Basically, what i want, i am use Setup Intent for charging all the clients for future payments. I store this set_xxx key in my database by using this i am charging customers. Now need i need customer's card Number to display in his profile like **** **** **** 123 and the expiry date so that i can compare the expiry date with the cron job and notify the customer. Your account is going to be expired kindly update your card information.
So it is possible i can get these 2 info from Stipe and store them in the user profile.
What you want is to store the details about the PaymentMethod pm_123. This has the type like type: 'card' and then it has the last 4, the brand, etc. See https://stripe.com/docs/api/payment_methods/list to list all PaymentMethods on a given Customer, or store that in your database
bilal-customer-paymentmethod
Lemme check it
yes i have found the keys which i need. So when customers will set up their card info after that i need to call this API to get details of the customer?
sure