Legacy Dev Forum Posts

 View Only

Sign Up

Billing API and Client Credentials grant type

  • 1.  Billing API and Client Credentials grant type

    Posted 06-05-2025 18:15

    HirotoMasaki | 2019-09-11 02:57:13 UTC | #1

    Assuming that we create an OAuth Client with Client Credentials grant, and call Billing API like GET /api/v2/billing/reports/billableusage, given it is from a Client Credentials client, is that going to report billing data without affecting the billable usage itself? I think so, but wanted to confirm. Thanks!


    Becky_Powell | 2019-09-11 13:12:05 UTC | #2

    Calls to the Billing API from a customer's OAuth client are subject to the Fair Use Policy and will be billed in the event that a customer exceeds their API request allocation.


    HirotoMasaki | 2019-09-13 00:09:13 UTC | #3

    Thanks Becky. Yes, I have forgotten to mention that API fair usage policy portion would kick in, which we have understood. On the other hand, I just wanted to ensure that the standard user usage portion is not affected since Client Credentials do not represent any user, and do you have words on that? Thanks!


    Becky_Powell | 2019-09-17 20:15:50 UTC | #4

    API calls from a client credentials oath grant type would not count against an orgs’s user license reporting, since those calls are not made in the context of a user.


    system | 2019-10-18 20:27:33 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 5995