billing

Get your subscription

Returns your Personal account's plan and Premium subscription, any free Premium period from a redeemed code (promotion), and what checkout and the billing portal offer.

get/v1/billing

Request

  • Base URL: https://api.pomerado.ai
  • URL: https://api.pomerado.ai/v1/billing
  • Auth: HTTP bearer

Response

Your subscription

plan'free' | 'premium' required
status'free' | 'active' | 'trialing' | 'canceling' | 'past_due' | 'payment_failed' required

canceling: Premium until current_period_end, then Free. past_due: still Premium while a failed payment is retried. payment_failed: the first payment failed, so still Free

interval'monthly' | 'yearly' nullable required
current_period_endstring nullable required

When the current period ends: the next renewal, the end of a trial, or when Premium ends

liveboolean required

False when Stripe couldn't be read, so this is the last stored subscription

portalboolean required

The billing portal can open

Changes

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