Read effective plan and monthly versus one-time credit balance

get/v1/organizations/{organization_id}/account

Request

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

Path parameters

organization_idstring required

Response

Authenticated account data.

organization_idstring required
namestring required
workos_organization_idstring required
plan'free' | 'paid' required
plan_source'free' | 'stripe' | 'granted' | 'manual' required
paid_untilstring date-time nullable required

End of the paid Stripe billing period or the applicable grant; null on Free or for an unbounded grant. During an unpaid renewal the effective Paid plan may remain available for up to 14 days after this Stripe period end, without new monthly credits.

available_microsstring required

Non-negative microcredits, at most 9223372036854775807. One credit equals 1000000 microcredits.

monthly_microsstring required

Non-negative microcredits, at most 9223372036854775807. One credit equals 1000000 microcredits.

one_time_microsstring required

Non-negative microcredits, at most 9223372036854775807. One credit equals 1000000 microcredits.

reserved_microsstring required

Non-negative microcredits, at most 9223372036854775807. One credit equals 1000000 microcredits.

next_expirystring date-time nullable required
as_ofstring date-time required

Changes

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