Premium

Get current subscription price

Changed on

Returns the exact price the authenticated user is being billed for their active Stripe subscription, including whether they are on a grandfathered legacy rate.

get/premium/current-subscription-price

Request

  • Base URL: https://web.fluxer.app/api/v1
  • URL: https://web.fluxer.app/api/v1/premium/current-subscription-price
  • Auth: API key in header Authorization

Response

Success

price_idstring required

The Stripe price ID the user is currently billed against

amount_minorinteger required

The amount the user is actually charged, in the currency minor unit

currencystring required
billing_cycle'monthly' | 'yearly' required

The recurring billing cycle of the active subscription

is_grandfatheredboolean required

Whether the user is on a legacy price that no longer matches the current list price

list_amount_minorinteger nullable required

The current list price for the same cycle/currency, in the currency minor unit

list_price_idstring nullable required

The current list Stripe price ID for the same cycle/currency

Changes

    • info

      removed the BRL enum value from the / response property for the response status

    • info

      removed the DKK enum value from the / response property for the response status

    • info

      removed the EUR enum value from the / response property for the response status

    • info

      removed the INR enum value from the / response property for the response status

    • info

      removed the NOK enum value from the / response property for the response status

    • info

      removed the PLN enum value from the / response property for the response status

    • info

      removed the SEK enum value from the / response property for the response status

    • info

      removed the TRY enum value from the / response property for the response status

    • info

      removed the USD enum value from the / response property for the response status

    • info

      the / response's property pattern ^[A-Z]{3}$ was added for the status

    • breaking

      the response property / became nullable for the status

    • info

      response property anyOf[subschema #1]/list_price_id list-of-types was narrowed by removing types null from media type application/json of response 200