billing

Create customer portal session

Creates a Dodo Payments customer portal link for the authenticated workspace.

post/api/v1/billing/portal

Request

  • Base URL: https://api.cadencz.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.cadencz.com/api/v1/billing/portal
  • Auth: HTTP bearer

Request body

return_urlstring nullable

Example request

{
  "return_url": "http://localhost:3000/billing"
}

Response

Successful Response

linkstring required

Example response

{
  "link": "https://test.dodopayments.com/customer-portal/session_123"
}

Changes

No recorded changes to this operation across all 1 revision of this API.