# Total\_historical\_amount\_cents always returns null!

**URL:** <https://www.patreondevelopers.com/t/total-historical-amount-cents-always-returns-null/1799>\
**Category:** API Feedback\
**Created:** [April 30, 2019, 9:39am UTC](https://www.patreondevelopers.com/t/total-historical-amount-cents-always-returns-null/1799 "2019-04-30T09:39:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![david2278](https://avatars.discourse-cdn.com/v4/letter/d/3e96dc/32.png) [@david2278](https://www.patreondevelopers.com/u/david2278)\
**Post date:** [April 30, 2019, 9:39am UTC](https://www.patreondevelopers.com/t/total-historical-amount-cents-always-returns-null/1799/1 "2019-04-30T09:39:37Z")

</div>

This is a php snippet.

```auto
$scope_parameters = '&scope=identity%20identity'.urlencode('[email]').'%20identity.memberships';
$href .= $scope_parameters;

```

I’ve got 2 accounts. One is subscribed to the other and I’m logged into Patreon with the “Patron” account. I use this account to click the link with the $href which directs me to the grant access page. After this I get JSON back which contains everything I need about my Patron. However, even though I paid $1 to the campaign I’m subscribed to over a MONTH ago, I still see `total_historical_amount_cents: null`. But when I logout and log into my campaign account I can clearly see the $1 payment from the Patron. What gives???

---

<div class="post-metadata">

**Author:** ![david2278](https://avatars.discourse-cdn.com/v4/letter/d/3e96dc/32.png) [@david2278](https://www.patreondevelopers.com/u/david2278)\
**Post date:** [May 1, 2019, 7:57am UTC](https://www.patreondevelopers.com/t/total-historical-amount-cents-always-returns-null/1799/2 "2019-05-01T07:57:12Z")

</div>

This has completely halted my progress integrating patreon with my website. Is the API broken?
