Cloud Internal

Create Stripe portal session

Creates a Stripe portal session.

get/api/v1/stripe/portal

Request

  • Base URL
    https://openmeter.cloud (the document declares no server; this is the origin it was published from)
  • Auth
    • HTTP bearer
    • or API key in cookie __session

Headers

refererstring required

Response

An unexpected error response.

detailstring required

A human-readable explanation specific to this occurrence of the problem.

extensionsobject

Additional properties specific to the problem type may be present.

instancestring uri required

A URI reference that identifies the specific occurrence of the problem.

statusinteger

The HTTP status code generated by the origin server for this occurrence of the problem.

titlestring required

A a short, human-readable summary of the problem type.

typestring uri required

Type contains a URI that identifies the problem type.

Example response

{
  "detail": "The request body must be a JSON object.",
  "extensions": {
    "otherAttribute": "otherValue",
    "validationErrors": [
      {
        "code": "validation_error",
        "message": "Validation error"
      }
    ]
  },
  "instance": "urn:request:local/JMOlctsKV8-000001",
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.