token vs payment method

105 views
Skip to first unread message

Igor Shmukler

unread,
May 23, 2021, 1:48:10 PM5/23/21
to Stripe API Discussion
Hello,

I am integrating stripe payments into a new React.JS SPA.

I see that the client/browser could submit to the server payment
method and also submit a card token. Tokens can be used to execute
charge, while payment methods could be used to create a payment intent
to confirm and capture [or cancel if something goes wrong].

Is there a recommended method of integration? Say, I want to create
customer objects on the Stripe side to use either the charge API or
the payment intent API. I don't need subscriptions or any kind of
recurring billing.

Thank you,

Igor Shmukler

Remi J.

unread,
May 23, 2021, 1:50:07 PM5/23/21
to Stripe API Discussion
Hey Igor,

The recommended integration path for everyone is to use PaymentIntents and not the Charges API. Both work but the PaymentIntents API is newer and a lot more powerful which will be a value for you over time as you add more features such as more localized payment methods.

I'd recommend reading our main documentation called "Accept a payment" and follow all the steps: https://stripe.com/docs/payments/accept-a-payment

Best,
Remi

--
To unsubscribe from this group and stop receiving emails from it, send an email to api-discuss...@lists.stripe.com.

Reply all
Reply to author
Forward
0 new messages