I have a requirement in which i need only the value of current credit available in Azure subscription, For this I am using Resource Usage API and Resource RateCard API which gives very large Json detailed data for usage in the subscription and rates per meter based on OfferDurableId respectively.
https://github.com/Azure/azure-content/blob/master/articles/billing-usage-rate-card-partner-solution-cloudyn.md
Do I need to cross multiply the values from Rate card json with the Usage json details to get the usage amount.
But I require only Current credit available. Is there any simple way to get the current credit/billing amount.