Stripe credentials

You can use these credentials to authenticate the following nodes:

Supported authentication methods

  • Secret key

You’ll also need a Stripe Signature Secret or endpoint secret, which is a unique key for each webhook endpoint used to verify incoming requests, ensuring they truly came from Stripe.

Test mode and live mode

All Stripe API requests happen within either test mode or live mode. Each mode has its own API key.

Use test mode to access simulated test data and live mode to access actual account data. Objects in one mode aren’t accessible to the other.

Refer to API keys | Test mode versus live mode for more information about what’s available in each mode and guidance on when to use each.

Note

n8n credentials for both modes If you want to work with both live mode and test mode keys, store each mode’s key in a separate n8n credential.

Key prefixes

Stripes’ Secret keys always begin with sk_:

  • Live keys begin with sk_live_.

  • Test keys begin with sk_test_.

n8n hasn’t tested these credentials with Restricted keys (prefixed rk_).

Warning

Publishable keys Don’t use the Publishable keys (prefixed pk_) with your n8n credential.