Skip to main content
POST
/
billing
/
portal
Create a Stripe billing portal session
curl --request POST \
  --url https://api.spike.ac/billing/portal \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://doc.spike.ac/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authentication using either a Supabase JWT token or an API key (prefixed with sk_). Both token types are passed as Bearer tokens in the Authorization header.

Response

Portal session created successfully

url
string<uri>
required

Stripe billing portal URL