Endpoint
This guide describes how to securely integrate credit card tokenization into your native mobile app (iOS and Android) using Stripe's mobile SDKs. You will collect the card details, tokenize them securely with our publishable key, and send the resulting payment_method.id to our backend. We will then attach the payment method to the customer in Stripe.
Overview
Your mobile app will:
Our backend will:
/user/setupintent
/user/setupintent
On successful saving of the payment method, the response contains an empty data object, a success field set to true, and a null value for error. This confirms that the card has been securely saved without returning additional data.