Stripe
Validate Stripe Keys
Validate Stripe API keys without saving them.
Authorization
bearerAuth AuthorizationBearer <token>
Use your secret API key as the bearer token
In: header
Request Body
application/json
secretKey*string
Stripe secret key to validate (must start with sk_*)
Match
^sk_[A-Za-z0-9]+publicKey*string
Stripe publishable key to validate (must start with pk_*)
Match
^pk_[A-Za-z0-9]+Response Body
application/json
application/json
application/json
curl -X POST "https://api.getlumen.dev/v1/stripe/validate-keys" \ -H "Content-Type: application/json" \ -d '{ "secretKey": "string", "publicKey": "string" }'{
"message": "Stripe keys are valid",
"success": true
}{
"error": "Invalid secret key format. Must start with 'sk_'"
}{
"error": "Failed to validate Stripe keys"
}