provider GET
/v1/sources/{source} @utdk/stripe
/v1/sources/{source} Retrieve a source
<p>Retrieves an existing source object. Supply the unique source ID from a source creation request and Stripe will return the corresponding up-to-date source object information.</p>
- client_secret query
- The client secret of the source. Required if a publishable key is used to retrieve the source.
- string
- expand query
- Specifies which fields in the response should be expanded.
- array
- source 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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stripe from '@utdk/stripe';
await stripe.getsourcessource()