internal

Create billing portal session

Changed on
post/api/billing/portal

Request

  • Base URL
    https://app.scanopy.net
  • URL
    https://app.scanopy.net/api/billing/portal
  • Auth
    • API key in header Authorization
    • or API key in cookie session_id

Request body text/plain

string required

Response

Portal session URL

datastring

The result payload. Omitted on failure.

errorstring nullable

Not sent on a successful response. Failure messages arrive in an ApiErrorResponse.

successboolean required

Always true on a successful response.

Example response

{
  "meta": {
    "api_version": 1,
    "server_version": "0.19.4"
  }
}

Changes