GoPay
0% transaction fees
Your GoPay API credentials
From $19.99/mo

Affiliate Tracking
for GoPay

Run an affiliate program on GoPay. Every paid GoPay payment that carries an affiliate is recorded for the right partner, full refunds reverse the commission, and payouts run from your dashboard.

GoPayPAYMENT PROVIDERS
Client ID
1234567890
Client Secret
••••••••••••
Notification URL
/api/webhooks/gopay?merchant=…
additional_params
tc · aff · cid
PAID payment recorded 2 minutes ago
The short answer

What does LinkJolt add to GoPay?

The affiliate program your GoPay payments run through. Affiliates share tracking links, the LinkJolt script records who referred each visitor, and your payment request passes that affiliate to GoPay. When GoPay reports the payment as paid, the sale is credited to that affiliate at your commission rate, reversed if it is refunded in full, and paid out from your LinkJolt dashboard.

GoPay works through your own payment requests, so setup needs a developer for a few lines. Selling through Stripe instead? Read the Stripe integration.

What you get

Tracking from the payment status GoPay reports, the commission rules you choose, and payouts that never pass through LinkJolt.

Tracks the payment GoPay confirms

When GoPay notifies LinkJolt, LinkJolt reads the payment from GoPay's API with your own credentials. Only a payment in the PAID state becomes a sale, once per GoPay payment, so a closed tab or a blocked thank-you page cannot lose it.

Full refunds reverse the commission

When a payment turns REFUNDED, the commission on it is reversed and any payout still queued for it is cancelled. Your affiliate sees the change in their earnings.

Partial refunds are flagged, never guessed

GoPay does not report how much of a partially refunded payment went back, so LinkJolt leaves the commission as it is and sends you a notification to review that sale and adjust it before you approve it.

Sandbox payments are test sales

Save sandbox credentials and every payment is recorded as a test sale, apart from your live commissions: no revenue counted, no emails, never paid out.

Self-referral checks on every sale

Rule-based fraud detection compares the payer's email with the affiliate's on each GoPay sale. A flagged sale is recorded as rejected and pays nothing, and a rejected or suspended affiliate earns nothing.

A portal for your affiliates

Partners get their own branded dashboard with their links, live earnings and payout setup, included on every plan.

Setup

Four steps, the same as the Integration Hub

The GoPay steps in the Integration Hub after you sign up, with your real merchant ID filled in.

Each GoPay payment carries its own notification URL and parameters, so both are set by the code that creates the payment. A payment created without them is still paid, but cannot be credited to an affiliate.

1

Add the tracking script

Paste one script tag into the head of your site. It records the affiliate when a visitor arrives through an affiliate link, for 30 days.

2

Save your GoPay API credentials

In LinkJolt, open Settings, then Payment Providers, click Create Webhook Secret, choose GoPay and enter your Client ID and Client Secret. Tick Sandbox for a sandbox account.

3

Set the notification URL

When your server creates a GoPay payment, set notification_url to your LinkJolt address. GoPay calls it whenever the payment changes state.

4

Pass the affiliate

Add the affiliate to the payment's additional_params, read from the tracking script in the browser. Without it a payment cannot be credited to anyone.

Steps 2 and 3: credentials and notification URL

Your Client ID and Client Secret are in the GoPay merchant portal under API settings. LinkJolt keeps them encrypted and uses them only to read a payment when GoPay notifies it: GoPay's notification carries the payment id, and the payment itself comes from GoPay's API.

The notification URL

https://www.linkjolt.io/api/webhooks/gopay?merchant=YOUR_MERCHANT_ID

What each GoPay state does

  • PAIDrecorded as a sale for the affiliate in additional_params, pending your approval
  • REFUNDEDthe commission is reversed and a queued payout cancelled
  • PARTIALLY_REFUNDEDthe commission is left as it is and you are asked to review it
  • Any other statenothing is recorded; an AUTHORIZED payment counts once GoPay reports it PAID

Step 1: the tracking script

<script src="https://www.linkjolt.io/api/tracking.js?id=YOUR_MERCHANT_ID"></script>

Step 4: pass the affiliate

// Read tracking info from the LinkJolt script
const info = window.linkjolt.getTrackingInfo();

// Include in your GoPay payment request
"additional_params": [
  { "name": "tc", "value": info.trackingCode },
  { "name": "aff", "value": info.affiliateId },
  { "name": "cid", "value": info.clickId }
]

Or send one parameter instead of three: name linkjolt_ref, value window.linkjolt.referral. GoPay allows up to four additional parameters of 256 characters each. A visitor who did not come through an affiliate link has no values, and no commission is created.

FAQ

GoPay affiliate tracking FAQs

What GoPay merchants ask before setting a program up

How does LinkJolt track GoPay payments?

Through GoPay's payment notification. You set LinkJolt's notification URL on each payment you create, GoPay calls it with the payment id when the payment changes state, and LinkJolt reads the payment from GoPay's API with your Client ID and Client Secret. A payment in the PAID state that carries the affiliate parameters is recorded as a sale for that affiliate, once per GoPay payment.

What do I add to my GoPay payment request?

Two things: the notification_url, set to your LinkJolt address, and the affiliate in additional_params. In the browser, read window.linkjolt.getTrackingInfo() and send its tracking code, affiliate id and click id as three parameters named tc, aff and cid, or send window.linkjolt.referral as one parameter named linkjolt_ref. GoPay allows up to four additional parameters of 256 characters each, so either form fits.

What happens when a GoPay payment is refunded?

A full refund reverses the commission. When GoPay reports the payment as REFUNDED, the commission is reversed and any payout still queued for it is cancelled. A partial refund is different: GoPay's payment status does not say how much was refunded, so LinkJolt leaves the commission as it is and sends you a notification to review that sale in Commissions and reduce it by hand before you approve or pay it.

Can I test with a GoPay sandbox account?

Yes. Tick Sandbox when you save your GoPay credentials in LinkJolt and it reads payments from GoPay's sandbox. Those payments are recorded as test sales, apart from your live commissions: they never count toward revenue, send no emails and are never paid out. When you go live, save your production credentials; they replace the sandbox ones.

Does LinkJolt pay recurring commissions on GoPay payments?

No. Every paid GoPay payment that carries the affiliate parameters is recorded as its own one-time sale at the campaign's commission rate; the recurring commission settings (a separate recurring rate, a cap by months or by payments) are not applied to GoPay payments. LinkJolt's Stripe, Paddle, Polar and Creem integrations apply them.

How do I pay affiliates for GoPay sales?

From LinkJolt, separately from GoPay. Automated Stripe payouts settle in GBP, US dollars and euros to affiliates in the US, UK, EEA, Canada and Switzerland; a commission in Czech koruna or another currency is paid from the CSV export for PayPal or Wise. Every sale waits as pending until you approve it, so nothing is paid on a sale you have not reviewed.

Works with GoPay

Launch your GoPay affiliate program

From $19.99 a month with 0% transaction fees on every plan.

7-Day Free Trial

0% Platform Fees

Cancel Anytime

LIVE

🇺🇸

4

🇬🇧

2

🇩🇪

2

10+

SaaS companies joined this week