Payouts
Payouts represent payments made to affiliates for their earned commissions.
List Payouts
GET
/v1/payoutscurl
curl -X GET https://api.icodrip.com/v1/payouts \ -H "Authorization: Bearer sk_live_xxxxxxxxxxxxx" \ -H "Content-Type: application/json"
Create Payout
POST
/v1/payoutscurl
curl -X POST https://api.icodrip.com/v1/payouts \
-H "Authorization: Bearer sk_live_xxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"affiliate_id": "aff_01HXYZ",
"amount": 12500,
"currency": "USD"
}'Get Payout
GET
/v1/payouts/:idcurl
curl -X GET https://api.icodrip.com/v1/payouts/pay_01HXYZ \ -H "Authorization: Bearer sk_live_xxxxxxxxxxxxx" \ -H "Content-Type: application/json"