Returns existing referral code or generates a new one if none exists.
The referral code can be used in two formats:
https://gnosispay.com/oginvite?rcc=${referrerCode}&utm_source=referral&utm_campaign=${userId}
https://gnosispay.com/nonoginvite?rcc=${referrerCode}&utm_source=referral&utm_campaign=${userId}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successfully retrieved or created referral code
The response is of type object
.