Keys & Billing

Open the billing portal for a subscribed key (key in body)

Returns a Stripe Billing Portal URL where a subscriber manages or cancels their subscription. Only keys with an active card subscription qualify (400 otherwise). Rate-limited per client address. Response envelope note: standalone endpoint — flat {success, url}.

post/v1/billing/portal

Request

  • Base URL: https://api.insumermodel.com
  • URL: https://api.insumermodel.com/v1/billing/portal
  • Auth: none required

Request body

keystring required

The full insr_live_ key (50 chars).

Response

Portal session created

successboolean
urlstring

Example response

{
  "success": true
}

Changes

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