Skip to main content
Solved

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


antoine
Contributor
Forum|alt.badge.img+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?

Best answer by stewartatsafe

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.

 

View original
Did this help you find an answer to your question?

5 replies

Forum|alt.badge.img+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.


antoine
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • September 8, 2020

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.


Forum|alt.badge.img+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


stewartatsafe
Safer
Forum|alt.badge.img+5
  • Safer
  • Best Answer
  • March 24, 2022

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.

 


antoine
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • March 25, 2022
stewartatsafe wrote:

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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings