Skip to content

CreateAppsSecret

Source: src/Stripe/CreateAppsSecret.ts

Create or replace a Stripe Apps Secret over HTTP. Account-scoped — binds the API key onto the host, not a specific secret resource.

const create = yield* Stripe.CreateAppsSecret();
const secret = yield* create({
name: "third-party-api",
payload: "sk_live_example",
scope: { type: "account" },
});