Fetch Wallet balance for the bulk users

Hello Team,
Hope you’re doing well. We need to fetch the customer wallet balance to enable certain features for multiple users. When we call the funding-source/{id}/balance API endpoint, an error occurs after processing a certain number of users.

Could you guide us here if there is an alternative way to proceed for fetching bulk users wallet balance ?

Hi @Srinivasan_K_K, you’re likely hitting a rate limit when fetching the balances. To avoid hitting the rate limit, please try spacing out your requests so there aren’t more than 1500 requests being made inside a 10 second window. This rate limit is subject to change though, So if you do run into a rate limit, please retry the calls again after the 5 minute wait period.

Hope this helps!