Connect to Stripe
This guide outlines the necessary steps to connect your Pagos and Stripe accounts. For more information on connecting Pagos to other payment processors, see our Connecting Your Payment Processors to Pagos guide.
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:
- Log into your Stripe account, then follow the process outlined in Stripe's documentation to locate your API keys in the Dashboard.
- Click to create a new restricted key, then select Building your own integration.
- You'll need to name this API key and change the permission for Webhook Endpoints to Write. Then, change the permissions for the following core resources to Read:
- Balance
- Balance Transaction Sources
- Balance Transfers
- Charges
- Disputes
- Events
- Files
- PaymentIntents
- PaymentMethods
- Payouts
- Products
- SetupIntents
- Sources
- Tokens
- Credit notes
- Subscriptions
- SKUs
- Report Runs and Report Types
- After you create the new restricted key, copy the Name and Token for use in the next step.
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:
- Log into your Pagos account.
- Click Data Connections in the main navigation
- Click Add Data Connection.
- In the side panel that opens, click the Provider drop-down, then select Stripe.
- Enter a Data Connection Name. This value is used for display and identification on charts, and can be whatever you prefer.
- Enter the restricted API key from Step 1 above.
- Click Add Data Connection.
Troubleshooting
- 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.
Updated 5 days ago
What’s Next