POST /v1/billing/portal
POST /v1/billing/portal
POST
Request body
{ "$ref": "#/components/schemas/BillingPortalRequest"}Responses
200— Portal URL404— No billing customer502— Billing provider error503— Billing provider unconfigured
Example
curl -X POST "https://mercury-api.deepeshkalurs.workers.dev/v1/billing/portal" \ -H "Authorization: Bearer $MR_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'