# Pricing configuration

This object is returned directly or within a successful response from the following API requests:

* [Retrieve configuration by name](/json-rpc-api-reference/json-rpc-api-6.0/api-requests/pricing-configuration/retrieve-configuration-by-name.md)
* [Retrieve configuration by code](/json-rpc-api-reference/json-rpc-api-6.0/api-requests/pricing-configuration/retrieve-configuration-by-code.md)
* [Retrieve all configurations](/json-rpc-api-reference/json-rpc-api-6.0/api-requests/pricing-configuration/retrieve-all-configurations.md)

## Pricing configuration object

| Parameter                            | Type / Description                                                                                                                                                                                                                                  |
| ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Name`                               | <p><strong>String</strong></p><p>Pricing configuration name.</p>                                                                                                                                                                                    |
| `Code`                               | <p><strong>String</strong></p><p>System-generated identifier. Read-only.</p>                                                                                                                                                                        |
| `Default`                            | <p><strong>Boolean</strong></p><p>True for the default pricing configuration.</p>                                                                                                                                                                   |
| `BillingCountries`                   | <p><strong>Array of strings</strong></p><p>ISO codes of the countries assigned to the pricing configuration. Empty unless a pricing configuration has specific countries assigned.</p>                                                              |
| `PricingSchema`                      | <p><strong>String</strong></p><p>DYNAMIC – With a base price; </p><p>FLAT – Without a base price</p>                                                                                                                                                |
| `PriceType`                          | <p><strong>String</strong></p><p>Possible values: NET, GROSS</p>                                                                                                                                                                                    |
| `DefaultCurrency`                    | <p><strong>String</strong></p><p>The ISO code of the default currency for the pricing configuration.</p>                                                                                                                                            |
| `Prices`                             | <p><strong>Object</strong></p><p>Details below.</p>                                                                                                                                                                                                 |
| `Prices.Regular`                     | <p><strong>Array of objects</strong><br>Details below.</p>                                                                                                                                                                                          |
| `Prices.Regular.Amount`              | <p><strong>Int</strong><br>The price of the product. Use -1 to delete it.</p>                                                                                                                                                                       |
| `Prices.Regular.Currency`            | <p><strong>String</strong><br>ISO code of the currency for the product price.</p>                                                                                                                                                                   |
| `Prices.Regular.MinQuantity`         | <p><strong>Int</strong><br>The minimum quantity of volume discounts. Default is 1.</p>                                                                                                                                                              |
| `Prices.Regular.MaxQuantity`         | <p><strong>Int</strong><br>The maximum quantity of volume discounts. Default is 99999.</p>                                                                                                                                                          |
| `Prices.Regular.OptionCodes`         | <p><strong>Array of objects</strong><br>Details below.</p>                                                                                                                                                                                          |
| `Prices.Regular.OptionCodes.Code`    | <p><strong>String</strong><br>System generated pricing options group code (you can also configure it) that the 2Checkout system uses to calculate product prices for pricing configurations without a base price.</p>                               |
| `Prices.Regular.OptionCodes.Options` | <p><strong>StringArray</strong><br>The pricing options group option code you configured that the 2Checkout system uses to calculate product prices for pricing configurations without a base price.</p>                                             |
| `Prices.Renewal`                     | <p><strong>Array of</strong> <strong>objects</strong><br>Details below.</p>                                                                                                                                                                         |
| `Prices.Renewal.Amount`              | <p><strong>Int</strong><br>The price of the product. Use -1 to delete it.</p>                                                                                                                                                                       |
| `Prices.Renewal.Currency`            | <p><strong>String</strong><br>ISO code of the currency for the product price.</p>                                                                                                                                                                   |
| `Prices.Renewal.MinQuantity`         | <p><strong>Int</strong><br>The minimum quantity of volume discounts. Default is 1.</p>                                                                                                                                                              |
| `Prices.Renewal.MaxQuantity`         | <p><strong>Int</strong><br>The maximum quantity of volume discounts. Default is 99999.</p>                                                                                                                                                          |
| `Prices.Renewal.OptionCodes`         | <p><strong>Array of objects</strong><br>Details below.</p>                                                                                                                                                                                          |
| `PriceOptions`                       | <p><strong>Array of objects</strong></p><p>Details below.</p>                                                                                                                                                                                       |
| `PriceOptions.Code`                  | <p><strong>String</strong><br>System generated pricing options group code (you can also configure it) that the 2Checkout system uses to calculate product prices for pricing configurations without a base price.</p>                               |
| `PriceOptions.Required`              | <p><strong>Boolean</strong><br><strong>true</strong> – you set the price options group as required during the purchase process.</p><p><strong>false</strong> - you did not set the price options group as required during the purchase process.</p> |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.2checkout.com/json-rpc-api-reference/json-rpc-api-6.0/api-responses/pricing-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
