How to get lifetime amount if patron is not active?

I want to check if a user has paid a certain amount to my campaign, regardless of whether or not they’re actively supporting it.

The endpoint https://www.patreon.com/api/oauth2/v2/campaigns/{campaign_id} seems to only return active patrons. Is there a way to retrieve all patrons, including former?

I can see this information in the Relationship Manager by removing the Active filter. Can I access this through the API?

Alternatively, is there a way to get lifetime amount of an inactive patron via OAuth and current_user?

GET /api/oauth2/v2/campaigns/{campaign_id}/members

Is probably what you’re looking for. This should return anything from an active patron to a former patron to a follower. Just make sure you request the right fields.

Alternatively, if you do it through the member’s tokens, and store the tokens, it’s just a matter of refreshing them if needed and gathering the updated data. My app does this rather than the above because I need to check for current patron status to ensure rewards are granted fairly to those who should have them.

campaign lifetime support cents is what you are looking for.

https://docs.patreon.com/#member