provider POST /v1/apps/secrets
@utdk/stripe /v1/apps/secrets
Set a Secret
<p>Create or replace a secret in the secret store.</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.

postappssecrets
POST/v1/apps/secrets
<p>Create or replace a secret in the secret store.</p>

Input

Specifies which fields in the response should be expanded.

The Unix timestamp for the expiry time of the secret, after which the secret deletes.

required

A name for the secret that's unique within the scope.

required

The plaintext secret value to be stored.

required

Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user.

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