Skip to content

Open a one-click Stripe Billing Portal session for a buyer license or subscription

POST
/v1/portal/billing-portal
curl --request POST \
--url https://api.extport.dev/api/v1/portal/billing-portal \
--header 'Content-Type: application/json' \
--cookie extport_buyer_session=<extport_buyer_session> \
--data '{ "key": "example", "subscriptionId": "example" }'
Media typeapplication/json
object
key
string
>= 1 characters <= 64 characters
subscriptionId
string
>= 1 characters <= 128 characters
Examplegenerated
{
"key": "example",
"subscriptionId": "example"
}

Billing Portal URL

No buyer session

Purchase not found or no billing portal available

Stripe API unavailable