cURL
curl --request POST \ --url https://api.tensormesh.ai/v1/billing/stripe/setup-intents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "userId": "<string>" } '
{ "stripeSetupIntentId": "<string>", "clientSecret": "<string>" }
Creates a Stripe setup intent for a user.
Bearer authentication using an access token. Format: Bearer <access_token>
CreateStripeSetupIntentRequest is the request to create a Stripe setup intent.
The unique ID of the user.
A successful response.
CreateStripeSetupIntentResponse is the response after creating a setup intent.
The Stripe setup intent ID.
Client secret.