#Chris-help
1 messages · Page 1 of 1 (latest)
Hi there! Ask your question in this thread.
Going to move your comment to this thread @elfin portal
Does anyone know if you can embed a Token object inside a Customer object. I don't use any of the HTML Pages or React, but make direct HTTP request to Stripe, but I have customers that want a token for recurring payments, but I'm trying not to make multiply calls to get a recurring token
You can attach a card to a Customer, yes.
This is much easier if you aren't using tokens at all
If you instead use PaymentIntents and PaymentMethods then you can have the card attached to the Customer upon confirmation client-side.
I already have PaymentIntents and I can send a Payment Method within the PaymentIntent
So does that mean I can create a Customer at the same time and therefore store the card to get a token
When you create the PaymentIntent you want to use setup_future_usage
That will attach the PaymentMethod to the Customer upon payment
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks Bismarck , much appreciated