Claim customer referral

Claim a referral code for a customer. A customer may only claim a referral code once.

When creating a customer, if a referralCode is provided and the redemption event is set to create_user, the referral reward is claimed immediately. If the redemption event is set to add_balance, the reward is claimed upon the first qualifying balance addition that meets the redemption threshold.


Authorization Scope

Both the merchant secret key and client secret key are authorized to call this endpoint.

Path Params
string
required

The id of the customer.

Body Params
string
required

The sender’s referral code.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json