provider GET
/v1/promotion_codes/{promotion_code} @utdk/stripe
/v1/promotion_codes/{promotion_code} Retrieve a promotion code
<p>Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing <code>code</code> use <a href="/docs/api/promotion_codes/list">list</a> with the desired <code>code</code>.</p>
- expand query
- Specifies which fields in the response should be expanded.
- array
- promotion_code 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.getpromotioncodespromotioncode()