Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Atlassian Billing API

하이디 July 16, 2023

hello,


I wonder if Atlassian's payment API support will be possible.
I want to access the total amount of payment per month by API method.

 

Thank you.

1 answer

1 accepted

0 votes
Answer accepted
David Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2023

Hello @하이디 

Given the updated information you've provided, I've updated this answer and can advise the following;

  1. Jira does not have any 'billing' API. It provides only the License metrics endpoints to give your basic Jira licence type, status and user count.
  2. That feature request for Atlassian to provide a central billing API for their cloud products hasn't been done yet.

In summary, I think you are looking for a unicorn. Atlassian currently doesn't provide an API to meet your specific needs that I know of.

If you look all the Atlassian Cloud feature requests that include the word 'billing' in their summary, there are many on the same topic. Specifically, there is feature request CLOUD-11223 "Ability to pull billing info and basic usage via API". I think you should vote for that feature request as it best matches what you would like Atlassian to provide in the future.

하이디 July 16, 2023

I'll correct 'payment' to 'billing'.

 

https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#about

In the Jira API documentation above, I was looking for an API to check my biliing details.

하이디 July 16, 2023

https://community.atlassian.com/t5/Confluence-questions/Atlassian-API-Billing/qaq-p/1426950

I also found an old question like my request on this community site,
We've confirmed that the feature isn't ready yet.

하이디 July 16, 2023

I want to automatically collect cloud costs, but I really need an API that can check Atlassian's payment information.

하이디 July 16, 2023

@David Bakkers Could i get some help?

David Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 16, 2023

 

@하이디 

I've updated my original answer.

 

Khai Shaun Ng December 19, 2023

From URL, it is possible to get the data when you fill in your cloud site's ID
https://admin.atlassian.com/gateway/api/billing-ux/cloud/<CLOUD_ID>/billing/v2/site-entitlements

However, this URL above can't be accessed via Postman or any other external REST API, it seems to be missing Basic Auth / OAuth feature, the only way that we can get the information is using the generated cloud.session.token retrieved from the browser, and then we have a problem of getting an updated cloud.session.token everytime. 

It would be very helpful if we can retrieve such information from somewhere else.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events