post
https://api.getansa.com/v1/customers//referrals
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.