SDK reference · Python SDK

prov.account.billing_portal

prov.account.billing_portal in Python SDK.

Signature

prov.account.billing_portal() -> Any

Parameters

No parameters.

Request fields

Idempotency-Keystringheader
Retry a create safely: the same key + request returns the stored response (24 h, per caller).

Returns

Any The customer portal URL.

HTTP operation

POST /v1/account/billing_portal: Open the billing portal

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/account/billing_portal`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.