Billing
User
Create a Stripe Customer Portal session through the legacy alias
Changed onDeprecated alias of POST /api/v1/billing/portal. Requires an authenticated browser session and a valid CSRF token supplied either in X-CSRF-Token or the form field csrf. New clients must use the canonical billing route.
post/api/v1/portal
Request
- Base URLhttps://openmercantil.es
- AuthAPI key in cookie ob_sess
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-CSRF-Tokenstring
Required unless the same token is sent in the form field csrf.
Request body application/x-www-form-urlencoded
Response
Stripe Customer Portal URL
Changes
- info
endpoint added
- info