Premium

Get Stripe price IDs

Changed on

Retrieves Stripe price IDs for premium subscriptions based on geographic location.

get/premium/price-ids

Request

  • Base URL: https://web.fluxer.app/api/v1
  • URL: https://web.fluxer.app/api/v1/premium/price-ids
  • Auth: none required

Query parameters

country_codestring

Two-letter country code for regional pricing. Only used when the server cannot geolocate the request; otherwise the request GeoIP country wins.

Response

Success

monthlystring nullable

Stripe price ID for the monthly subscription

yearlystring nullable

Stripe price ID for the yearly subscription

gift_1_monthstring nullable

Stripe price ID for the 1 month gift

gift_1_yearstring nullable

Stripe price ID for the 1 year gift

monthly_amount_minorinteger nullable

Monthly price amount in the currency minor unit

yearly_amount_minorinteger nullable

Yearly price amount in the currency minor unit

gift_1_month_amount_minorinteger nullable

Gift 1 month price amount in the currency minor unit

gift_1_year_amount_minorinteger nullable

Gift 1 year price amount in the currency minor unit

currencystring required
gift_currencystring required

Changes

    • breaking

      the response's property type changed from string to no type for status

    • info

      added subschema #2 to the response property anyOf list for the response status

    • info

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

    • 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 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 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 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 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 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 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 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

      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

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • info

      response property gift_1_month list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property gift_1_year list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property monthly list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property yearly list-of-types was narrowed by removing types null from media type application/json of response 200