provider GET /v1/setup_intents/{intent}
@utdk/stripe /v1/setup_intents/{intent}
Retrieve a SetupIntent
<p>Retrieves the details of a SetupIntent that has previously been created. </p> <p>Client-side retrieval using a publishable key is allowed when the <code>client_secret</code> is provided in the query string. </p> <p>When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the <a href="#setup_intent_object">SetupIntent</a> object reference for more details.</p>
client_secret query
The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.
string
expand query
Specifies which fields in the response should be expanded.
array
intent path required
string

Try it

Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getsetupintentsintent
GET/v1/setup_intents/{intent}
<p>Retrieves the details of a SetupIntent that has previously been created. </p> <p>Client-side retrieval using a publishable key is allowed when the <code>client_secret</code> is provided in the query string. </p> <p>When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the <a href="#setup_intent_object">SetupIntent</a> object reference for more details.</p>

Parameters

required

The client secret of the SetupIntent. We require this string if you use a publishable key to retrieve the SetupIntent.

Specifies which fields in the response should be expanded.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.getsetupintentsintent()