Skip to main content
AgentRef uses Stripe Connect (OAuth) to listen for payment events on your account. When a customer pays, AgentRef matches the payment to the affiliate who referred them and creates a conversion automatically. No payment processing access is required. AgentRef only reads payment events.

What happens during connection

When you click Connect Stripe in the dashboard (or call the API), the flow works like this:
1

Initiate connection

From the dashboard, go to Program Settings > Stripe and click Connect Stripe. You’ll be redirected to Stripe’s authorization page.Alternatively, use the API to get an OAuth URL:
The response includes an authUrl that you open in the browser to start the Stripe OAuth flow.
2

Authorize on Stripe

On the Stripe authorization page, review the permissions AgentRef is requesting and click Connect. If you have multiple Stripe accounts, select the one you want to use for this program.
3

Automatic webhook setup

After authorization, AgentRef automatically registers webhooks on your Stripe account. You do not need to configure anything manually in Stripe’s dashboard.

Permissions AgentRef receives

AgentRef requests read-only access to payment events. Here is exactly what it can and cannot do:
AgentRef uses Stripe Connect in read-only mode. It never touches your funds or payment processing. You can revoke access at any time from your Stripe dashboard under Settings > Connected accounts.

Webhook events AgentRef listens to

Once connected, AgentRef automatically subscribes to these Stripe webhook events: These webhooks are managed by AgentRef. You do not need to create or maintain them in Stripe’s webhook settings.
If you already have a webhook endpoint in Stripe pointing to AgentRef from a previous connection, the reconnect flow will reuse it. AgentRef does not create duplicate endpoints.

Disconnect Stripe

If you need to disconnect Stripe from a program:
Disconnecting removes the webhook registration and stops conversion tracking for that program. Existing conversions and commissions are not affected.

Troubleshooting

What’s next

Create Program

Configure your commission rates, cookie duration, and program settings.

Install Tracking

Add the tracking script to your website to capture affiliate clicks.