Get an affiliate's invite code. Create it if it doesn't exist.
Request Body
Name
Type
Description
address*
String
User's address
chain*
String
Blockchain name
slug*
String
Project slug
Save a referral via referral id or wallet address
POSThttps://sharemint.xyz/api/external/save
One of address, email, or transactionHash is required.
Request Body
Name
Type
Description
slug*
String
Project slug
invitedById
String
The invite code of the referrer that invited the user
invitedByAddress
String
The address of the referrer that invited the user
address
String
User's wallet address
email
String
User's email
transactionHash
String
Transaction hash
chain
String
Chain
minter
String
One of "payer" or "receiver"
apiSecret
String
Your secret API key from the project admin page
verified
Boolean
If the referral is verified. Can only be set when providing an apiSecret
disqualifiedAsReferee
Boolean
If the user is disqualified from being a referee. Can only be set when providing an apiSecret. This field has no impact if the user has already been referred by someone.