Skip to content

Open the Stripe customer portal.

POST
/api/billing/portal
curl --request POST \
--url https://app.agentic.figentra.com/api/billing/portal \
--header 'Content-Type: application/json' \
--cookie session=<session> \
--data '{ "returnPath": "example" }'
Media typeapplication/json
object
returnPath
string format: starts_with
/^\/.*/

Example generated

{
"returnPath": "example"
}

OK

Media typeapplication/json
object
url
required
string format: uri

Example generated

{
"url": "https://example.com"
}

Error

Media typeapplication/json
object
error
required
object
code
required
string
/^[a-z][a-z0-9_]*$/
message
required
string
>= 1 characters
details
object
key
additional properties

Example generated

{
"error": {
"code": "example",
"message": "example",
"details": {
"additionalProperty": "example"
}
}
}