Create Portal Session
POST
/billing/portal
const url = 'https://api.mengi.cloud/billing/portal';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.mengi.cloud/billing/portalRedirect to manage subscription. Mollie doesn’t have a built-in portal like Stripe, so we handle this in our own UI. For now, return our billing management page.
Responses
Section titled “ Responses ”Successful Response
Media type application/json
PortalSessionResponse
object
portal_url
required
Portal Url
string
Example generated
{ "portal_url": "example"}