This guide outlines the necessary steps to connect your Pagos and Stripe accounts. There are two ways to connect: For more information on connecting Pagos to other payment processors, see our Connecting Your Payment Processors to Pagos guide.Documentation Index
Fetch the complete documentation index at: https://docs.pagos.ai/llms.txt
Use this file to discover all available pages before exploring further.
OAuth Method (Recommended)
Stripe OAuth is the easiest and recommended way to connect your Stripe and Pagos accounts. This method uses Stripe’s secure authorization flow, so you don’t need to create or manage API keys manually.Name your data connection
Enter a Data Connection Name of your choice; this value is used for display and identification on data visualizations within Pagos Insights.
Connect with Stripe.
Click the Stripe OAuth box, then click Connect with Stripe in the bottom-left corner of the side panel. You’ll be redirected to Stripe’s authorization page.
API Key Method
You can also connect your Stripe and Pagos accounts using a restricted API key. This method requires you to manually create an API key in the Stripe dashboard and enter it in Pagos.Step 1 – Create a Restricted API Key in Your Stripe Account
For added data security, use a restricted API key to connect your Stripe and Pagos accounts. If you don’t already have one, you’ll need to create one in the Stripe dashboard:Navigate to the API Keys page
Log into your Stripe account, click Developers, then click API keys to locate your API keys in the Dashboard.

Create a restricted key
In the Restricted keys section of the API keys page, click Create restricted key.

Set read permissions
Change the permissions for the following resources to Read:
- Balance
- Balance Transaction Sources
- Balance Transfers
- Charges and Refunds
- Events
- Files
- Payment Disputes
- Payment Intents
- Payment Methods
- Payouts
- Products
- Setup Intents
- Sources
- Tokens
- Credit notes
- Subscriptions
- Terminal SKUs
- Financial Reports
Set webhook permissions
Change the permissions for Webhook Endpoints, Event Destinations to Write, then click Create key.
Step 2: Add a New Data Connection to Your Pagos Account
To pull in Stripe data to Pagos, you’ll need to add a new data connection in your Pagos account:Name your data connection
Enter a Data Connection Name. This value is used for display and identification on charts, and can be whatever you prefer.
Enter your API key
Enter the restricted API key from Step 1 above.
Troubleshooting Tips
- If you have already configured a webhook for your Stripe account to connect to Pagos, you will receive an error and will need to remove the old webhook so a new one can be generated.
- After importing your data from Stripe, confirm all BIN number and bank name data appears as expected in your Pagos account. If any data is missing, contact Stripe support and request they enable details on all webhooks.



