cURL
curl --request GET \ --url https://prod.oneloop.ai/api/v1/customer-billing \ --header 'Authorization: Bearer <token>'
{ "billing": { "id": "<string>", "totalCredits": "<string>", "usedCredits": "<string>", "allowOverages": true, "spendCap": "<string>", "createdAt": "<string>", "updatedAt": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The workspace id.
The external meter id.
Customer billing
The response is of type object.
object