SDK reference · Python SDK
prov.account.billing
prov.account.billing in Python SDK.
Signature
prov.account.billing() -> AnyParameters
No parameters.
Returns
Any The account's plan, billing status and Stripe mode.
HTTP operation
GET /v1/account/billing: Get billing status
Errors
Example
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/account/billing`, {
headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/account/billing", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()