provider GET /v1/payment_intents/{intent}
@utdk/stripe /v1/payment_intents/{intent}
Retrieve a PaymentIntent
<p>Retrieves the details of a PaymentIntent that has previously been created. </p> <p>You can retrieve a PaymentIntent client-side using a publishable key when the <code>client_secret</code> is in the query string. </p> <p>If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the <a href="#payment_intent_object">payment intent</a> object reference for more details.</p>
client_secret query
The client secret of the PaymentIntent. We require it if you use a publishable key to retrieve the source.
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.

getpaymentintentsintent
GET/v1/payment_intents/{intent}
<p>Retrieves the details of a PaymentIntent that has previously been created. </p> <p>You can retrieve a PaymentIntent client-side using a publishable key when the <code>client_secret</code> is in the query string. </p> <p>If you retrieve a PaymentIntent with a publishable key, it only returns a subset of properties. Refer to the <a href="#payment_intent_object">payment intent</a> object reference for more details.</p>

Parameters

required

The client secret of the PaymentIntent. We require it if you use a publishable key to retrieve the source.

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.getpaymentintentsintent()