Referrals
Get Referral Links
GET

/referral_links

Bearer*
curl --request GET \
  --url https://api.thanx.com/referral_links \
  --header 'Authorization: Bearer <token>'

Parameters

merchant_id
string

Only return referral links for this merchant

Response

merchant_id
string

Merchant ID

link
string

The URL a user can share with others

{
  "referral_links": [
    {
      "merchant_id": "9a1f0772c9ac",
      "link": "https://signup.thanx.com/pizza_bob/Jane-23uow234243"
    }
  ]
}