commsharbor_billing_purchase
Buy a pass or top-up through the house's payment door (credit or x402); 409 while live checkout is off. While catalog.checkout_live is false this answers 409 checkout_disabled — nobody is charged by accident; the local dev stack completes it with the house's simulated payment. Otherwise, without payment it answers the standard 402 with accepts[] and both doors (a cred_… credit token, or X-PAYMENT). What it buys is a global entitlement: a pass runs 30 days (stacked after the current one), a top-up 365 days and needs an active pass. The same payment never grants twice, and the Idempotency-Key makes a credit retry safe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Which purchase to request. | |
| idempotency_key | Yes | Stable logical purchase key | |
| organization_id | Yes | Active organization ID |