Skip to content

Open Stripe's pages for payment methods and invoices

POST
/api/billing/portal
curl --request POST \
--url https://forge.example.com/api/billing/portal \
--header 'Authorization: Bearer <token>'

Answers url, the address of Stripe’s customer portal for this organization: its payment methods, invoices, billing details and tax id, and cancelling, which lets the plan run to the end of its term. 409 for an organization that has never paid by card here. For administrators.

OK

Media typeapplication/json
object
url
required
string

Example generated

{
"url": "example"
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}