{"openapi":"3.1.0","info":{"title":"GET /api/v1/billing/pricing-config","version":"1.0.0","description":"Get Pricing Config"},"servers":[{"url":"https://api.ondayzero.com","description":"Production"}],"paths":{"/api/v1/billing/pricing-config":{"get":{"tags":["billing"],"summary":"Get Pricing Config","description":"Return billing pricing configuration derived from the single discount knob.\n\nThe frontend uses this to render annual savings and badge labels without\nduplicating the discount percentage. Changing the discount on the backend\n(``ANNUAL_DISCOUNT_PCT``) automatically updates every UI surface.\n\n**Returns:**\n- `annual_discount_pct`: Fractional annual discount (e.g. `0.1667`).\n- `annual_discount_label`: Human label for the annual badge.","operationId":"get_pricing_config_api_v1_billing_pricing_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessEnvelope_GetPricingConfigResponse_"}}}}}}}},"components":{"schemas":{"GetPricingConfigResponse":{"properties":{"annual_discount_pct":{"type":"number","title":"Annual Discount Pct"},"annual_discount_label":{"type":"string","title":"Annual Discount Label"}},"additionalProperties":true,"type":"object","required":["annual_discount_pct","annual_discount_label"],"title":"GetPricingConfigResponse","description":"Response for ``get_pricing_config``."},"SuccessEnvelope_GetPricingConfigResponse_":{"properties":{"success":{"type":"boolean","title":"Success","default":true},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"data":{"anyOf":[{"$ref":"#/components/schemas/GetPricingConfigResponse"},{"type":"null"}]}},"additionalProperties":true,"type":"object","title":"SuccessEnvelope[GetPricingConfigResponse]"}},"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API Token","description":"API token authentication. Format: `Bearer dz_...`"}}},"security":[{"BearerAuth":[]}]}