#theglobe-expiration
1 messages · Page 1 of 1 (latest)
Hi there! The card object will have the exp_month and exp_year that you can retrieve: https://stripe.com/docs/api/cards/object#card_object-exp_month
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I am just not sure how I can do that using PHP
You can list a Customer's Payment Methods using https://stripe.com/docs/api/payment_methods/customer_list
And then examine the response which will contain the card hash
And that hash will have the above properties
oh okay thanks I will check the documentation