Configure live Stripe keys
<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Switches the app to live mode using live Stripe keys you already have from the Stripe dashboard, sent directly in the request body, rather than keys Base44 creates for you. Use Provision live Stripe keys instead to have Base44 create them automatically once the sandbox's Stripe account is activated.
Stores the keys, backs up the current test credentials, and redeploys backend functions with the updated secrets.
Key prefixes are checked, but success does not verify that the keys belong to the same Stripe account or can process payments.
Automatic webhook migration is best effort.
Requires write access to the app. Workspace viewers cannot call this operation.
Path parameters
ID of the Base44 app.
ID of the Base44 app.
Request body
Example request
{
"publishable_key": "pk_live_example",
"secret_key": "sk_live_example",
"webhook_secret": "whsec_example"
}Response
The operation result.
Example response
{
"success": true,
"message": "Live mode API keys configured successfully. Test keys have been backed up.",
"live_keys_configured": true
}