Xtrempay Api Documentation
{
"email": "agent@example.com",
"referralCode": "XTR748495829",
"isAgent": true
}curl --location --request POST 'https://mock.apidog.com/m1/918700-0-default/v1/user/admin/referrals/agent' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "agent@example.com",
"referralCode": "XTR748495829",
"isAgent": true
}'{
"status": 200,
"success": true,
"message": "Referral code fetched",
"data": {
"referralCode": "XTR748495829",
"isAgent": false
}
}