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