About this endpoint
What it does
Generates global pricing recommendations from a base subscription price, base currency, and home country. The response returns a list of country-specific pricing recommendations with the country code, country name, justification, and formatted recommended price.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| basePrice | Number | Yes | Base subscription price in the home market. |
| homeCountry | String | Yes | ISO 3166-1 alpha-2 two-letter country code representing the home market (e.g., US, IN, GB). |
| baseCurrency | String | Yes | ISO 4217 currency code for the base price (e.g., USD, EUR, INR). |
| billingFrequency | ENUM | No | Billing cycle for the subscription. Allowed values: monthly, weekly, annually. Default: monthly. |
| annualDiscountPercent | Number | No | Discount percentage applied for annual billing plans. Must be between 0 and 100. |
Response
Returns a JSON object with a recommendations array field. Each item in the array is an object containing countryCode, countryName, justification, and recommendedPrice.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| recommendations | Object Array | No | List of pricing recommendations, one per country. |
| recommendations[].countryCode | String | No | ISO 3166-1 alpha-2 two-letter country code. |
| recommendations[].countryName | String | No | Full name of the country. |
| recommendations[].justification | String | No | Explanation of how the recommended price was derived for this market. |
| recommendations[].recommendedPrice | String | No | Recommended price formatted with the local currency symbol and amount. |