Stripe

Get Stripe Configuration

Retrieve the current Stripe configuration for the merchant. Returns masked secrets and whether a webhook is configured.

GET
/stripe/config

Authorization

bearerAuth
AuthorizationBearer <token>

Use your secret API key as the bearer token

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://api.getlumen.dev/v1/stripe/config"
{
  "id": "stripe_3yJQYvdr5X6b2F4T9aLk",
  "publicKey": "pk_live_1Q9q6bLsre2zKYZm1",
  "secretKey": "sk_live_****************b1C5",
  "hasWebhook": true,
  "createdAt": "2025-02-20T18:12:11.123Z"
}
{
  "error": "Stripe configuration not found"
}
{
  "error": "Failed to decrypt secret key"
}