provider POST /v1/ephemeral_keys
@utdk/stripe /v1/ephemeral_keys
Create an ephemeral key
<p>Creates a short-lived API key for a given resource.</p>

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.

postephemeralkeys
POST/v1/ephemeral_keys
<p>Creates a short-lived API key for a given resource.</p>

Input

The ID of the Customer you'd like to modify using the resulting ephemeral key.

Specifies which fields in the response should be expanded.

The ID of the Issuing Card you'd like to access using the resulting ephemeral key.

A single-use token, created by Stripe.js, used for creating ephemeral keys for Issuing Cards without exchanging sensitive information.

The ID of the Identity VerificationSession you'd like to access using the resulting ephemeral key

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