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:

  1. Log into your Stripe account, the click Developers to locate your API keys in the Dashboard.

  2. Click the API Keys tab, then click Create restricted key.

  3. Click Building your own integration, then click Continue.

  4. Use the Key name field to name your API keys

  5. Change the permissions for the following core resources to Read:

    1. Balance
    2. Balance transaction sources
    3. Balance Transfers
    4. Charges
    5. Disputes
    6. Events
    7. Files
    8. PaymentIntents
    9. PaymentMethods
    10. Payouts
    11. Products
    12. SetupIntents
    13. Sources
    14. Tokens
    15. Credit notes
    16. Subscriptions
    17. SKUs
    18. Report Runs and Report Types
  6. Change the permissions for Webhook Endpoints to Write.

  7. Click Create key.

  8. After you create the new restricted key, copy the following details for use in the next step:

    1. Name
    2. Token (click Reveal test key to access)

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:

  1. Log into your Pagos account.
  2. Click your profile icon at the bottom of the main navigation.
  3. Under Data Connections, click Connections.
  4. Click Add Data Connection.
  5. In the side panel that opens, click the Processor drop-down, then select Stripe.
  6. Enter a Data Connection Name. This value is used for display and identification on charts, and can be whatever you prefer.
  7. Enter the restricted API key from Step 1 above.
  8. 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.