Skip to content

Mint one Stripe-hosted billing-management link after fresh browser confirmation

POST
/v1/mobile/billing/portal
curl --request POST \
--url https://api.vocapable.com/v1/mobile/billing/portal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'

Open only the generic hosted billing home; no native payment or plan mutation exists.

Media typeapplication/json
MobileBillingPortalRequest

An intentionally empty command; the server always opens the generic safe portal.

object
Examplegenerated
{}

Successful Response

Media typeapplication/json
MobileBillingPortalSession

One ephemeral Stripe-hosted URL, never a stored/customer/provider identifier.

object
url
required
Url
string
>= 8 characters <= 2048 characters
expires_at
Any of:
string format: date-time
Examplegenerated
{
"url": "example",
"expires_at": "2026-04-15T12:00:00Z"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}