Open Stripe's customer portal, for your cards, bank accounts, billing address, VAT id and invoices: its owner
POST
/v1/buyer/billing/portal
const url = 'https://example.com/v1/buyer/billing/portal';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/buyer/billing/portal \ --header 'Authorization: Bearer <token>'Who: a workspace’s owner. Not for API keys.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Idempotency-Key
string
Made once per action and sent again on every retry of it, so the service acts once: the request_id of the create or money-moving call; a new one when left out
Responses
Section titled “Responses”Created
Media typeapplication/json
object
url
required
string
Example generated
{ "url": "example"}default
Section titled “default”An error, as go-commons apperr maps it
Media typeapplication/json
object
error
required
object
code
required
string
fields
object
key
additional properties
string
message
required
string
Example generated
{ "error": { "code": "example", "fields": { "additionalProperty": "example" }, "message": "example" }}