Read auto-recharge and the current payment handoff

Owner-only. Reads saved consent and gross UTC-month spending; a pending Stripe card setup may be resumed. No charge is initiated by reading. Private Stripe URLs must not be logged.

get/v1/organizations/{organization_id}/billing/recharge

Request

  • Base URL: https://app.ohmyho.st
  • URL: https://app.ohmyho.st/v1/organizations/{organization_id}/billing/recharge
  • Auth: HTTP bearer

Path parameters

organization_idstring required

Headers

X-Request-Idstring

Optional caller-provided correlation identifier.

Response

Actual recharge settings; disabled by default.

organization_idstring required
portal_availableboolean required

An existing customer in this billing account is ready for a hosted billing-portal handoff; this does not imply a paid subscription.

enabledboolean required
revisioninteger required
status'off' | 'setup_required' | 'on' | 'payment_required' | 'monthly_limit' | 'needs_reconciliation' | 'tax_required' required
monthly_limit_minorinteger required
spent_minorinteger required
currency'usd' required
amount_minor900 required
credits1000 required
threshold_credits100 required
setup_urlstring uri nullable required
invoice_urlstring uri nullable required

Changes

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