curl --location '/ads/payments/summary?from=&to=' \
--header 'Authorization: Bearer viewer'\''s-access-token'{
"data": {
"totalSpent": {
"amount": {
"amount": 0,
"currency": "usd"
},
"count": 0
},
"pending": {
"amount": {
"amount": 0,
"currency": "usd"
},
"count": 0
},
"failed": {
"amount": {
"amount": 0,
"currency": "usd"
},
"count": 0
}
}
}