v1

latestOpenAPI 3.0.3Commercial — see Terms2026-07-13274891.4 KB
Affiliate program

Become an affiliate (public)

Open a partner account. Returns an affiliate_id (format aff_<8 hex>) you embed in checkout URLs to earn 15% commission. Idempotent on email.

post/api/v1/visa/affiliate/register

Request body

namestring required
emailstring email required
websitestring

A valid URL, or the literal string ios-app for app-store affiliates.

payment_method'paypal' | 'iban'
payment_infostring
source'web' | 'ios'

Example request

{
  "name": "Ada Lovelace",
  "email": "ada@example.com",
  "website": "https://travelblog.example",
  "payment_info": "ada@paypal.com"
}

Response

Existing affiliate returned.

affiliate_idstring
dashboard_urlstring uri
messagestring

Example response

{
  "affiliate_id": "aff_4f2a91c8"
}