Update Stripe Configuration
Stripe Configuration
Update Stripe Configuration
Create or update Stripe payment configuration for a project
PUT
Update Stripe Configuration
Create or update the Stripe payment configuration for a project. Supports both test and live credentials. This endpoint creates a new configuration if none exists, or updates the existing one.
Authentication
This endpoint requires developer authentication via OAuth2 Bearer Token. You must own the project.
Path Parameters
string (UUID)
required
The unique identifier of the project
Request Body
All fields are optional. Only provide the credentials you want to configure or update.string
Stripe test mode secret key (starts with
sk_test_)string
Stripe test mode publishable key (starts with
pk_test_)string
Stripe test mode webhook signing secret (starts with
whsec_)string
Stripe live mode secret key (starts with
sk_live_)string
Stripe live mode publishable key (starts with
pk_live_)string
Stripe live mode webhook signing secret (starts with
whsec_)Example Request
Configure test mode credentials:Example Response
Configuration Flow
Getting Stripe Credentials
1
Create Stripe Account
Sign up at stripe.com if you haven’t already.
2
Get API Keys
Navigate to Developers > API keys in the Stripe Dashboard.(((REPLACE_THIS_WITH_IMAGE: stripe-dashboard-api-keys.png: Stripe Dashboard showing API keys section with publishable and secret keys)))
3
Create Webhook Endpoint
Navigate to Developers > Webhooks and create an endpoint using the URL from Get Webhook URLs.
4
Get Webhook Secret
After creating the webhook, reveal and copy the signing secret.
Credential Validation
Partial Updates
You can update credentials incrementally. For example, to add live credentials to an existing test configuration:Error Responses
Security
Related Pages
Get Stripe Config
View current configuration
Validate Credentials
Test credentials before saving
Get Webhook URLs
Get webhook endpoint URLs
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
application/json
Response
Successful Response
Stripe configuration response with masked credentials.

