curl --request GET \
--url https://v2.firstpromoter.com/api/v2/affiliate/affiliate/v1/payouts/due_stats \
--header 'Account-ID: <account-id>' \
--header 'Authorization: Bearer <token>'
{
"meta": {
"net_payout_days": 123,
"payout_cycle": "<string>",
"min_payment": 123,
"min_paying_customers": 123,
"terms_description": "<string>",
"selected_payout_methods": [
"<string>"
],
"payout_method_options": {},
"managed_payouts": true
},
"data": {
"next": {
"promoters_count": 123,
"amounts": {},
"total_incl_tax": 123,
"due_date": "2023-12-25",
"period_end": "2023-12-25"
},
"overdue": {
"promoters_count": 123,
"amounts": {},
"total_incl_tax": 123,
"due_date": "2023-12-25",
"period_end": "2023-12-25"
},
"custom": {
"promoters_count": 123,
"amounts": {},
"total_incl_tax": 123,
"due_date": "2023-12-25",
"period_end": "2023-12-25"
}
}
}
curl --request GET \
--url https://v2.firstpromoter.com/api/v2/affiliate/affiliate/v1/payouts/due_stats \
--header 'Account-ID: <account-id>' \
--header 'Authorization: Bearer <token>'
{
"meta": {
"net_payout_days": 123,
"payout_cycle": "<string>",
"min_payment": 123,
"min_paying_customers": 123,
"terms_description": "<string>",
"selected_payout_methods": [
"<string>"
],
"payout_method_options": {},
"managed_payouts": true
},
"data": {
"next": {
"promoters_count": 123,
"amounts": {},
"total_incl_tax": 123,
"due_date": "2023-12-25",
"period_end": "2023-12-25"
},
"overdue": {
"promoters_count": 123,
"amounts": {},
"total_incl_tax": 123,
"due_date": "2023-12-25",
"period_end": "2023-12-25"
},
"custom": {
"promoters_count": 123,
"amounts": {},
"total_incl_tax": 123,
"due_date": "2023-12-25",
"period_end": "2023-12-25"
}
}
}
Access token passed as a Bearer token in the Authorization header
Account identifier that specifies which account is making the request
"acc_123456"
Payout stats
The response is of type object
.