POST consumer-billing/portal
POST /api/v1/consumer-billing/portal
Creates a billing portal session for the signed-in consumer.
Authenticate with a portal session token.
Request body
application/json object
return_urlstring (uri) requiredLength: at most 2048 characters
Generated sample
{
"return_url": "https://example.com"
}Responses
200 Successful response.
application/json object
Any keys are accepted.
401 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
422 The request failed validation.
application/json object
Any keys are accepted.
429 The route throttle limit was exceeded.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string
502 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.