Skip to content
offprompt

Stripe

An agent asks for one of these keys by its usual variable name, such as STRIPE_SECRET_KEY, and offprompt knows from the name which key it is. Under any other name, the agent says which with provider: "stripe/publishable_key" or the like.

The fields offprompt's page shows for Stripe, each filled with an example. Change one to watch its checks.
KeyUsual namesUnder any other name
Secret keySTRIPE_SECRET_KEY, STRIPE_API_KEY, STRIPE_SKprovider: "stripe/secret_key"
Publishable key, shown in the clearSTRIPE_PUBLISHABLE_KEY, STRIPE_PKprovider: "stripe/publishable_key"
Webhook signing secretSTRIPE_WEBHOOK_SECRETprovider: "stripe/webhook_secret"

Secret key

Made at dashboard.stripe.com/apikeys. Looks like sk_test_….

  • Starts with sk_live_, sk_test_, rk_live_ or rk_test_
  • At least 30 characters

Publishable key

Made at dashboard.stripe.com/apikeys. Looks like pk_test_….

  • Starts with pk_live_ or pk_test_
  • At least 30 characters

Webhook signing secret

Made at dashboard.stripe.com/webhooks. Looks like whsec_….

  • Starts with whsec_
  • At least 20 characters