curl --location --request GET 'https://aff-api.uppromote.com/api/v2/payments/unpaid' \
--header 'Accept: application/json' \
--header 'Authorization: ****************************'
{
"status": 200,
"message": "success",
"data": [
{
"affiliate_id": 1969236,
"affiliate_email": "example1@gmail.com",
"total_referrals": 2,
"payment_method": null,
"total_commission": 56.98,
"total_sales": 598.75,
"total_products": 1
},
{
"affiliate_id": 1987024,
"affiliate_email": "example2@outlook.com",
"total_referrals": 2,
"payment_method": "store_credit",
"total_commission": 553.817,
"total_sales": 10069.34,
"total_products": 1
}
]
}