Affiliate Payment Request
post
https://platform.shoffi.app/API/affiliate/requestPayment
Issuing a payment request to the app, on behalf of the affiliate.
curl -X POST 'https://platform.shoffi.app/API/affiliate/requestPayment' \
-H 'Content-Type: application/json' \
-d '{
"apiKey": "YourKey",
"appId": 00000000,
"affiliateDetails": {
"email": "[email protected]",
"paypalEmail": "[email protected]"
}
}'
Please Note!
Some affiliates already added their PayPal email account to Shoffi. In that case, the PayPal account will remain the old one, and not the one you have sent in in the request.
You can see the final PayPal email account in the response data.
200 OK
Content-Type: application/json
{
"affiliateDetails": {
"email": "[email protected]",
"firstName": "Tobias",
"lastName": "Lütke",
"nickName": "tobi"
},
"affiliatePerformance": {
"appProfit": 39.8,
"affiliateProfit": "7.96",
"paidToAffiliate": 0,
"linkViews": 3
},
"paypalAddress": "[email protected]"
}