General APIs with JWT

Create Custom Referral Link

Create a new custom referral link (admin only).

post/admin/custom-referral-links

Request body

credit_amountnumber required

Amount of credits to grant on signup

expires_atstring date-time nullable

Expiration date (optional)

descriptionstring nullable

Optional description

Response

Successful Response

idstring uuid required
codestring required
admin_idstring uuid required
credit_amountnumber required
expires_atstring date-time nullable required
is_usedboolean required
is_activeboolean required
descriptionstring nullable required
created_atstring date-time required
updated_atstring date-time nullable required
encrypted_codestring required

Return encrypted version of the code for frontend use.

Changes

No recorded changes to this endpoint across all 1 revision of this API.