Solved

Is it possible to get the billing dashboard info through the API?

  • 25 August 2020
  • 5 replies
  • 6 views

Badge +5

In the documentation, i can only get something like :

{"balance":0.0,"available_credit":243.67,"estimated_costs":8.99}

Is there a way to get as much details as on the dashboard page through the API? If not is there a way to generate a token to call directly the billing dashboard page?

icon

Best answer by stewartatsafe 24 March 2022, 18:21

View original

5 replies

Badge +2

Hi @antoine​ 

What extra billing info would you like returned through the API?

It does look like GET account/balance is the only billing information we return through the API, which as far as I can tell excludes Billing Address and Payment Method.

Badge +5

Hi,

At the end of the day, I would like to be able to know which instance is costing money and why without accessing each FME Server. More metrics could be added to the instances instead of adding to the Billing directly if it is easier.

Best regards,

Antoine.

Badge +2

@antoine​ 

If you're the owner of an account you should be able to see all instances and their costs. You can expand each instance to where the costs are coming from. This way you don't have to go and look at each instance, you can do it from the Account Settings instead.

Screen Shot 2020-09-10 at 2.26.57 PM

Badge +5

The new FME Cloud API V2 is now out which provides a lot more billing information:

 

https://api.fmecloud.safe.com/api/v2/billing/cost_summary gives you a summary of account costs from the last 12 months or since account creation.

 

https://api.fmecloud.safe.com/api/v2/invoices endpoints give you access to the estimated current estimated costs and historic invoices.

 

Badge +5

The new FME Cloud API V2 is now out which provides a lot more billing information:

 

https://api.fmecloud.safe.com/api/v2/billing/cost_summary gives you a summary of account costs from the last 12 months or since account creation.

 

https://api.fmecloud.safe.com/api/v2/invoices endpoints give you access to the estimated current estimated costs and historic invoices.

 

Thanks for the answer. I noticed it, it is much better! Great work from your team on this and the new FME Cloud webpages!

Reply