Skip to main content
GET
Get or create the stable referral code for a merchant

Authorizations

Authorization
string
header
required

Merchant API key bearer token. Legacy wire prefixes api_key_ and api_ are also accepted.

Path Parameters

merchantId
string
required

Referring merchant TypeID (mer_...).

Response

200 - application/json
code
string
required
shareUrl
string<uri>
required