Forum Academy Marketplace Showcase Pricing Features

Speeding up/handling Stripe API calls

I have a text element which is pulling and displaying the users balance from Stripe. This text element appears on a dropdown which I have inside a focus group and is hidden until the user clicks ‘My account’.

It is working well, but there is roughly a 1 second delay when the user opens the dropdown and the value appearing. Is there a best practice of how to handle this? Can i speed up the API call? Should I be calling and storing the value on page load?

Screenshot 2021-01-12 at 08.51.48