#Sam_Praveen-dupe-card
1 messages · Page 1 of 1 (latest)
I am using this API to add a New Card under a Stripe Customer:
\Stripe\Customer::createSource(
'cus_xxxxxxxx',
['source' => 'tok_xxxxxxxx']
);
Any reason why you're using Sources? They're deprecated: https://stripe.com/docs/sources
You should be using Payment Methods instead: https://stripe.com/docs/payments/payment-methods
Well I just want to add a new card in my Stripe Customer account for future use and for that I am getting a Customer ID and a StripeToken. Now what API matches to my needs?