curl --location --request GET 'https://aff-api.uppromote.com/api/v2/payments/total-paid' \
--header 'Accept: application/json' \
--header 'Authorization: ****************************' \
--header 'Content-Type: application/json'
{
"status": 200,
"message": "success",
"data": 21
}