Skip to main content
POST
Configure live Stripe keys

Authorizations

api_key
string
header
required

Personal API key.

Path Parameters

app_id
string
required

ID of the Base44 app.

Body

application/json

Request to configure live mode API keys.

publishable_key
string
required

Live Stripe publishable key beginning with pk_live_.

Example:

"pk_live_example"

secret_key
string
required

Live Stripe secret or restricted key beginning with sk_live_ or rk_live_.

Example:

"sk_live_example"

webhook_secret
string | null

Live webhook signing secret beginning with whsec_. Defaults to null, which attempts automatic migration when an existing webhook secret is present.

Example:

"whsec_example"

Response

The operation result.

The result of storing live Stripe credentials.

success
boolean
required

Whether live keys were stored and the app was switched to live mode.

Example:

true

message
string
required

Human-readable configuration result.

Example:

"Live mode API keys configured successfully. Test keys have been backed up."

live_keys_configured
boolean
required

Whether the stored completion flag was confirmed. It can be false even after keys were stored if finalization failed.

Example:

true

webhook_migrated
boolean
required

Whether this call automatically migrated the webhook. It is false when a webhook secret was supplied directly.

Example:

false