Open the billing portal
Returns the URL of Polar's customer portal, with the invoices, the payment method and the cancellation. Needs a session cookie (401 without one); 503 when the server has no billing or Polar did not answer.
/v1/account/portalReturns the URL of Polar's customer portal, with the invoices, the payment method and the cancellation. Needs a session cookie (401 without one); 503 when the server has no billing or Polar did not answer.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.conjure.design/v1/account/portal"
{
"url": "string"
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
{
"error": {
"code": "bad_request",
"message": "string",
"requestId": "string"
}
}
Get the sign-in options and the allowances GET
Returns the sign-in providers, the call allowances of the plans, and whether billing is on with the monthly and yearly prices of the unlimited plan. Open: the login page and the pricing read it before a sign-in.
Read the subscription again POST
Reads the account's subscription from Polar again and returns the account. Needs a session cookie (401 without one); 503 when the server has no billing or Polar did not answer.