We’ve added a new API endpoint to make it easy for developers to retrieve users’ point balances at a business. It’s documented here.
With this new endpoint developers can fetch recently modified point balances. That’s right, no need to look through ALL connections anymore.
For instance, if you want all updated balances between 8 AM and 10 AM on August 7th, you can do the following:
GET https://api.perkville.com/v2/connection-balances/?business=3&last_mod_dt__gte=2019-08-07%2008%3A00Z&last_mod_dt__lte=2019-08-07%2010%3A00Z
So if your app needs to reliably and routinely pull in point balances, now you can! Feel free to contact api@perkville.com if you have any questions and we’ll be happy to assist.