Stripe
Set up the Stripe connector in AccessLayer.
Stripe is a payments platform for online and offline commerce, subscriptions, billing, and related financial operations.
In AccessLayer, the Stripe connector lets you query payments, customers, subscriptions, invoices, disputes, and related billing metadata for reporting and operational analysis.
Before you start
You will need a Stripe secret API key for the Stripe account and environment you want to query.
Before you begin, make sure you have:
- A Stripe secret API key
- The correct Stripe mode, test or live
For additional details, see the Stripe API keys documentation.
Secret key required
Use a secret key that starts with sk_. Do not use a publishable key for
this connector.
Generating your credentials
Open your Stripe API keys
In Stripe, go to Developers -> API keys.
Copy the correct secret key
Copy the secret key for the Stripe account and mode you want to query. Make sure you choose the correct test or live environment before copying the key.
Query note
This connector supports expansion of related objects. Expandable fields are
marked with x-expansionResources.
Troubleshooting
Confirm that you entered a Stripe secret key rather than a publishable key and that the key has access to the account you want to query.
Make sure you copied the key from the correct Stripe mode. Test keys return test data and live keys return production data.
Check whether the key was rotated, restricted, or deleted. If it changed, create or copy the new key and update the connector configuration in AccessLayer.