18+ Only  |  Gambling can be addictive — please gamble responsibly  |  Gambling Help: 1800 858 858  |  GambleAware

API reference / Account

GET /v1/billing/portal

Self-service billing portal link

Returns a short-lived Stripe billing portal URL for this key's subscription: update the card, download invoices, see what the next charge will be. THE API KEY IS THE IDENTITY. The website has its own portal at /account, but it needs a website login and reads a stripe_customer_id out of the website's own subscriptions table. A customer who subscribed through this API has neither — they never registered on the website, and their customer id lives on their api_keys row. Before this endpoint the only way for them to change a failing card was to email us, which is how a subscription is lost to an expired card rather than a decision. The returned URL is a BEARER link: anyone holding it can manage the subscription until it expires. It is deliberately never logged, and callers should not paste it anywhere.

Requires X-API-Key 0 credits

Request

curl 'https://api.puntersedge.online/v1/billing/portal' \
  -H 'X-API-Key: YOUR_KEY'

Parameters

This endpoint takes no parameters beyond authentication.

Responses

Status codes: 200, 401, 402, 422, 429, 500. Response bodies are JSON; the full schema is in /openapi.json.

Related endpoints

Try it against live data

The free tier needs no credit card, and the sandbox endpoints need no key at all.

Get a free API key Quickstart
This site contains wagering-related analysis and is intended for Australian users aged 18+. Gambling involves risk. Please gamble responsibly.