provider GET
/v1/customers/{customer}/cards/{id} @utdk/stripe
/v1/customers/{customer}/cards/{id} Retrieve a card
<p>You can always see the 10 most recent cards directly on a customer; this method lets you retrieve details about a specific card stored on the customer.</p>
- customer path required
- string
- expand query
- Specifies which fields in the response should be expanded.
- array
- id 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.getcustomerscustomercardsid()