v2 Billing

Customer portal (server-side get-customer-portal)

EP-023-T8 (implemented). EP-025-T5: now reachable by a web session OR a device-signed linked device (the extension), resolved by AccountAuthMiddleware — so "Manage billing" works from the extension, which cannot send a SameSite=Lax session cookie cross-site. Email/account are taken from the resolved actor. x-api-key only on the server.

post/api/v2/billing/portal

Request

  • Base URL: https://pdf2md.dev
  • URL: https://pdf2md.dev/api/v2/billing/portal
  • Auth: one of:
    • API key in cookie p2m_session
    • HTTP bearer

Response

Portal URL

portal_urlstring uri required

customer portal

Changes

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