# Place orders with dynamic product information

Use this object to create new orders and collect payments from shoppers using products with dynamic information.

Purchase types available are PRODUCT, TAX, SHIPPING, and COUPON. The surcharge defined in the pricing option is used for calculating the order renewal price, when applicable.

You can find a list of common errors that may arise when using the placeOrder call via APIv6 here: <https://verifone.cloud/docs/2checkout/API-Integration/JSON-RPC\\_API\\_6.0/API-6.0-Error-Codes>

{% hint style="info" %}
This functionality is available for merchants on the 2Sell and 2Subscribe accounts (PSP business model), for orders that are placed both through ConvertPlus/InLine ordering engines and API calls and for 2Monetize accounts (MoR business model) only for orders placed through API calls.
{% endhint %}

## Supported payment methods

* [Credit / debit cards](/json-rpc-api-reference/json-rpc-api-6.0/api-requests/place-orders-with-dynamic-product-information/use-credit-cards.md): Visa, Visa Electron, MasterCard, Maestro, Amex, Discover, Dankort, Carte Bleue, JCB. 2Checkout supports local Brazilian cards.
* [PayPal](/json-rpc-api-reference/json-rpc-api-6.0/api-requests/place-orders-with-dynamic-product-information/use-paypal.md)
* [Free orders](/json-rpc-api-reference/json-rpc-api-6.0/api-requests/place-orders-with-dynamic-product-information/use-free-orders.md) (no payment information required)
* [2Pay.js](/2checkout-apis/2checkout-apis/2pay.js-payments-solution-integration-guide/use-cases/place-orders-via-api-using-a-2pay.js-token.md)

## How to test?

Place test orders with dynamic product information by following the instructions from [this](/json-rpc-api-reference/json-rpc-api-6.0/api-requests/place-orders-with-dynamic-product-information/place-test-orders.md) article.

## Requirements

* The product code must be sent as null.
* The order currency must match the payment currency otherwise, an error is thrown.
* The `isDynamic` parameter of the `Items` object must be true.

For credit card orders placed using API 5.0 or newer versions, you need to pass additional parameters that support the 3D Secure flow. 3D Secure works by redirecting customers to pages provided by their banks, where they need to enter additional security tokens or passwords to trigger the completion of the charge. By using 3D Secure, you get additional protection from liability for fraudulent card payments, with customers having to go through an extra layer of authentication.

Send the following parameters as part of the `PaymentMethod` object:

<table><thead><tr><th width="193.7332763671875">Parameter</th><th>Type / Description</th></tr></thead><tbody><tr><td><code>Vendor3DSReturnURL</code></td><td><strong>Required (string)</strong><br>URL address to which customers are redirected after the 3DS details get validated by the bank and the order is successfully authorized.</td></tr><tr><td><code>Vendor3DSCancelURL</code></td><td><strong>Required (string)</strong><br>URL address to which customers are redirected if the 3DS details were not validated or the order could not be authorized.</td></tr><tr><td><code>WSOrder</code></td><td><strong>Optional (String)</strong><br>The WSOrder parameter is used to control the website URL displayed in the email messages shoppers receive after they place an order. By default, 2Checkout reports the URL set as Homepage in the Account information area. Adding WSOrder to the buy-links for your products will cause the optional website address set by using the parameter to override and replace the Homepage URL in the email notifications sent to customers. The behavior is similar to the WS_ORDER parameter supported on checkout/cart pages and described <a href="https://verifone.cloud/docs/2checkout/Documentation/07Commerce/Checkout-links-and-options/Manage-store-URLs-for-shopper-emails">here</a>.</td></tr></tbody></table>

## Limitations

* Placing an order with both catalog and dynamic product information is not possible.
* Recurring options can be set only for purchase type PRODUCT and TAX.
* For MoR business model, the purchase type can only be PRODUCT and COUPON.

## Request parameters

| Parameter                                                     | Type / Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Currency`                                                    | <p><strong>Optional (string)</strong><br>The currency ISO code for the payment - ISO 4217. Example: “usd.”</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `Country`                                                     | <p><strong>Optional (string)</strong><br>Shopper country. ISO 3166 two-letter code. Example: “us.”</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `Language`                                                    | <p><strong>Optional (string)</strong><br>ISO 639-1 two-letter code. Language used for the purchase process. Example: “en.”</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `ExternalReference`                                           | <p><strong>Optional (string)</strong><br>Set external reference identifiers for orders. Enables you to replicate the functionality of the <strong>REF</strong> parameter included into Buy Links. Maximum 100 characters. If there is a need for longer references, you can apply an md5 hash for any string value, resulting in a 32 characters string. You can verify the hash after the order notification, on the client-side.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `Source`                                                      | <p><strong>Optional (string)</strong><br>The link source for the sales. Enables you to replicate the functionality of the <strong>SRC</strong> (separate link identifier) parameter when included in the buy-links. Use the SRC parameter to track sale sources.</p><p>Maximum length 255 characters.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `CustomerReference`                                           | <p><strong>Optional (integer)</strong><br>External customer ID you can attach to the customer.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `MachineId`                                                   | <p><strong>Optional (string)</strong><br>Unique, system-generated code for each unique customer, identifying returning customers.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `Items`                                                       | <p><strong>Required (array of Objects)</strong><br>Details below. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `Items.Code`                                                  | <p><strong>Optional (string)</strong><br>Should be <strong>sent as NULL</strong>. Any other value is ignored.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `Items.Quantity`                                              | <p><strong>Required (integer)</strong><br>Number of units purchased.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Items.ProductExternalReference`                              | **Optional (string)**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `Items.IsDynamic`                                             | <p><strong>Required (boolean)</strong><br>Send <strong>TRUE</strong> for orders with dynamic product information.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `Items.Tangible`                                              | <p><strong>Required (boolean)</strong></p><p>Possible values:</p><ul><li><strong>FALSE</strong> for products delivered electronically.</li><li><strong>TRUE</strong> for tangible products, that require physical delivery.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `Items.PurchaseType`                                          | <p><strong>Required (string)</strong></p><p>Purchase types available are:</p><ul><li><strong>PRODUCT -</strong> Item purchased by the customer. Is mandatory to send the name and price of the product item. Can also have pricing options and recurring options attached.</li><li><strong>TAX -</strong> additional handling fee added to the purchase.</li><li><strong>SHIPPING -</strong> shipping fee applied to purchase.</li><li><strong>COUPON -</strong> amount deducted from total order price<strong>. Send positive values.</strong></li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `Items.PriceOptions`                                          | <p><strong>Optional (array of Objects)</strong><br>Array of price option groups.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Items.PriceOptions.Name`                                     | <p> <strong>Optional (string)</strong> <br>Name of the pricing option group.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `Items.PriceOptions.Options`                                  | <p><strong>Optional (array of Objects)</strong><br>Array of pricing options.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `Items.PriceOptions.Options.Name`                             | <p><strong>Optional (string)</strong><br>Pricing option name. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Items.PriceOptions.Options.Value`                            | <p><strong>Optional (string)</strong><br>Pricing option code. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Items.PriceOptions.Options.Surcharge`                        | <p><strong>Optional (double)</strong><br>Surcharge of the pricing option. For renewal orders, the renewal price includes the pricing option surcharge from the initial order. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Items.RecurringOptions`                                      | <p><strong>Optional (object)</strong><br>Contains recurring options.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Items.RecurringOptions.CycleLength`                          | <p><strong>Optional (integer)</strong><br>The length of the recurring billing cycle.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Items.RecurringOptions.CycleUnit`                            | <p><strong>Optional (string)</strong><br>Unit of measuring billing cycles (years, months).</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `Items.RecurringOptions.CycleAmount`                          | <p><strong>Optional (integer)</strong><br>The amount to be billed on each renewal.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `Items.RecurringOptions.ContractLength`                       | <p><strong>Optional (integer)</strong><br>The contact length for which the recurring option will apply.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Items.RecurringOptions.ContractUnit`                         | <p><strong>Optional</strong><br>Unit of measuring contact length (years, months).</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `Items.Name`                                                  | **Required (string)**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `Items.Price`                                                 | <p><strong>Required (object)</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Items.Price.Amount`                                          | <p><strong>Required (double)</strong><br>Amount of the product.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `Items.Price.Type`                                            | <p><strong>Optional (string)</strong><br>Send "<strong>CUSTOM</strong>" for dynamic pricing.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `Items.ProductTaxCategoryUUID`                                | <p><strong>Required (string)</strong><br>The UUID of the tax category used for the product. Must be a category existent on your account.</p><p>Must be passed as NULL on PSP business model.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `Items.PriceType`                                             | <p><strong>Optional (string)</strong><br>Possible values:</p><ul><li><strong>GROSS</strong> - with taxes included</li><li><strong>NET</strong> - without taxes</li></ul><p>If parameter is not sent, the default PriceType applied is GROSS.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `Items.Trial`                                                 | <p><strong>Optional (object) – Can be NULL</strong><br>Details below. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `Items.Trial.Period`                                          | <p><strong>Optional (integer)</strong><br>The length of the trial subscription lifetime in days.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Items.Trial.Price`                                           | <p><strong>Optional (double)</strong><br>Total trial price in the payment currency before 2Checkout deducts any taxes, discounts, etc.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `Items.AdditionalFields`                                      | **Optional (array of objects) – Can be NULL**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `Items.AdditionalFields.AdditionalFieldSet`                   | <p><strong>Optional (object) – Can be NULL</strong><br>Details below</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Items.AdditionalFields.AdditionalFieldSet.Code`              | <p><strong>Optional (string)</strong><br>Identifier code for the additional field.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `Items.AdditionalFields.AdditionalFieldSet.Text`              | <p><strong>Optional (string)</strong><br>Text displayed in the additional field.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Items.AdditionalFields.AdditionalFieldSet.Value`             | <p><strong>Optional (string)</strong><br>Additional field value.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Items.SubscriptionStartDate`                                 | <p><strong>Optional (string)</strong><br>Specify the date time stamp when the subscription becomes active. Format 2016-07-02 22:22:22 (YYYY-MM-DD HH:mm:ss). Available for JSON-RPC and REST.</p><p>Send empty or NULL to activate subscriptions on the same date when customers purchase them.</p><p>You can exclude HH:mm:ss when sending the date and include only YYYY-MM-DD. In this case, 2Checkout uses 00:00:01. Default time zone GMT+02:00.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `BillingDetails`                                              | <p><strong>Required (object)</strong><br>Details below. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `BillingDetails.FirstName`                                    | <p><strong>Required (string)</strong><br>Shopper name.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `BillingDetails.LastName`                                     | <p><strong>Required (string)</strong><br>Shopper surname.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `BillingDetails.CountryCode`                                  | <p><strong>Required (string)</strong><br>Shopper country. ISO 3166 two-letter code.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `BillingDetails.State`                                        | <p><strong>Optional (string) – Required for US, Canada, Brazil, Turkey, India and Romania</strong><br>The state in the shopper's country. Mandatory when you set the Billing Country to US, Canada, Brazil, Turkey, India and Romania. Use case insensitive utf8 strings for the full name, or just the two-letter code.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `BillingDetails.City`                                         | <p><strong>Required (string)</strong><br>Shopper city.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `BillingDetails.Address1`                                     | <p><strong>Required (string)</strong><br>Shopper address.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `BillingDetails.Address2`                                     | <p><strong>Optional (string)</strong><br>Shopper address.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `BillingDetails.Zip`                                          | <p><strong>Required (string)</strong><br>ZIP/ Postal code.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `BillingDetails.Email`                                        | <p> <strong>Required (string)</strong><br>Shopper email address.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `BillingDetails.Phone`                                        | <p><strong>Optional (string)</strong><br>Shopper phone number. Mandatory when you set Brazil as the Billing Country. Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `BillingDetails.Company`                                      | <p><strong>Optional (string)</strong><br>Company name. Can be null for end users. When present, you also need to provide the FiscalCode.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `BillingDetails.FiscalCode`                                   | <p><strong>Optional (string) – Required for Brazil</strong></p><ul><li>For companies, it needs to be the VAT ID. 2Checkout will validate the value provided and throw an error if the VAT ID is invalid/incorrect when calling <code>setPaymentDetails</code>. When present, you also need to provide the <strong>Company name</strong>.</li><li>Mandatory when you set Brazil as the Billing Country. For Brazilian customers, it represents the Fiscal Code (CPF/CNPJ).</li><li>Mandatory when you set India as the Billing Country and purchase is made by a Company.</li></ul><p>Can be NULL for end users.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `BillingDetails.TaxExemptionId`                               | <p><strong>Optional (string)</strong><br>Tax Exempt Certification id used to deduct taxes for US orders<br>Example: <code>1b80eecc349v</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `DeliveryDetails`                                             | <p><strong>Required (object)</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `DeliveryDetails.FirstName`                                   | <p><strong>Required (string)</strong><br>Shopper name from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `DeliveryDetails.LastName`                                    | <p><strong>Required (string)</strong><br>Shopper surname from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `DeliveryDetails.CountryCode`                                 | <p><strong>Optional (string)</strong><br>Shopper country. ISO 3166 two-letter code from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `DeliveryDetails.State`                                       | <p><strong>Optional (string) – Required for US, Canada, Brazil, Turkey, India and Romania</strong><br>The state in the shopper's country. Mandatory when you set the Billing Country to US, Canada, Brazil, Turkey, India and Romania. Use case insensitive utf8 strings for the full name, or just the two-letter code.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `DeliveryDetails.City`                                        | <p><strong>Optional (string)</strong><br>Shopper city from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `DeliveryDetails.Address1`                                    | <p><strong>Optional (string)</strong><br>Shopper address from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `DeliveryDetails.Address2`                                    | <p><strong>Optional (string)</strong><br>Shopper address from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `DeliveryDetails.Zip`                                         | <p><strong>Optional (string)</strong><br>ZIP/ Postal code from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `DeliveryDetails.Email`                                       | <p><strong>Optional (string)</strong><br>Shopper email address from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `DeliveryDetails.Phone`                                       | <p><strong>Optional (string)</strong><br>Shopper phone number from the delivery details. Mandatory when you set Brazil as the Billing Country. Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `DeliveryDetails.Company`                                     | <p><strong>Optional (string)</strong><br>Company name from the delivery details. Can be null for end users. When present, you also need to provide the FiscalCode.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `DeliveryInformation`                                         | <p><strong>Optional (object)</strong></p><p>For products that require physical delivery, use this object to send the shipping method.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `DeliveryInformation.ShippingMethod`                          | <p><strong>Object</strong></p><p>Details below</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `DeliveryInformation.ShippingMethod.Code`                     | <p><strong>String</strong><br>System-generated identified for your shipping method configuration.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `PaymentDetails`                                              | <p><strong>Required (object)</strong><br>Adapt this object to the desired payment method.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `PaymentDetails.Type`                                         | <p><strong>Required (string)</strong></p><p>The payment method:</p><ul><li><strong>CC</strong> (credit/debit card - including local Brazilian cards).</li><li><strong>ENCRYPTED\_PAYMENT\_DATA</strong> (client-side encryption)</li><li><strong>PAYPAL</strong></li><li><strong>PAYPAL\_EXPRESS</strong></li><li><strong>TEST</strong> (for test orders).</li><li><strong>PREVIOUS\_ORDER</strong>(place new orders using the reference of a previous order).</li><li><strong>EXISTING\_PAYMENT\_DATA</strong> (use a card one of your customers already used to purchase from your account).</li><li><strong>WIRE</strong> – the placeOrder response includes Wire payment details.</li><li><strong>CHECK</strong> – the placeOrder response includes Check payment details.</li><li><strong>WE\_CHAT\_PAY</strong> (for WeChat payments).</li><li><strong>IDEAL</strong> (for iDEAL payments).</li><li><strong>PURCHASEORDER</strong> - use for orders with POs.</li><li><strong>FREE –</strong> for 0 value orders for which you’re not requiring customers to provide payment details.</li><li><strong>EES\_TOKEN\_PAYMENT</strong> (2Pay.js)</li><li><strong>GOOGLE PAY</strong></li></ul> |
| `PaymentDetails.Currency`                                     | <p><strong>Required (string)</strong><br>The currency ISO code for the payment - ISO 4217. Example: “usd.”</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `PaymentDetails.PaymentMethod`                                | **Optional (object)**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `PaymentDetails.PaymentMethod.RecurringEnabled`               | <p><strong>Optional (boolean)</strong><br><strong>true</strong> – shopper checks the auto-renewal checkbox and 2Checkout charges subscription renewals using a recurring billing process.</p><p><strong>false</strong> – shopper doesn’t check the auto-renewal checkbox.<br>Object structure and parameters differ according to the payment method selected and API method (placing orders (POST) vs. retrieving order data (GET)).</p><p><strong>NULL</strong> for 0 value orders for which you’re not requiring customers to enter payment details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `PaymentDetails.PaymentMethod.CardPayment`                    | <p><strong>Optional (object)</strong><br>Details below. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `PaymentDetails.PaymentMethod.CardPayment.CardNumber`         | <p><strong>Required (string)</strong><br>The credit/debit card number.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `PaymentDetails.PaymentMethod.CardPayment.CardType`           | <p><strong>Required (string)</strong><br>visa, visaelectron, mastercard, maestro, amex, discover, dankort, cartebleue, jcb, hipercard, elo</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `PaymentDetails.PaymentMethod.CardPayment.ExpirationYear`     | <p><strong>Required (string)</strong><br>The year in which the card expires.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `PaymentDetails.PaymentMethod.CardPayment.ExpirationMonth`    | <p><strong>Required (string)</strong><br>The month in which the card expires.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `PaymentDetails.PaymentMethod.CardPayment.HolderName`         | <p><strong>Required (string)</strong><br>Card holder name.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `PaymentDetails.PaymentMethod.CardPayment.Vendor3DSReturnURL` | <p><strong>Required (string)</strong><br>URL address to which customers are redirected after the 3DS details get validated by the bank and the order is successfully authorized.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `PaymentDetails.PaymentMethod.CardPayment.Vendor3DSCancelURL` | <p><strong>Required (string)</strong><br>URL address to which customers are redirected if the 3DS details were not validated or the order could not be authorized.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `PaymentDetails.PaymentMethod.CardPayment.CCID`               | <p><strong>Optional (string)</strong><br>Credit Card Identification - an extra ID printed on the card, usually a 3-4 digit number, the CVC2/CVV2.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `PaymentDetails.PaymentMethod.CardPayment.HolderNameTime`     | <p><strong>Optional (float)</strong><br>The interval of time in seconds in which shoppers enter their name in the <code>HolderName</code> field. An abnormally short interval is usually a red flag for fraud attempts.</p><p>Can be NULL, but not a negative number.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `PaymentDetails.PaymentMethod.CardPayment.CardNumberTime`     | <p><strong>Optional (float)</strong><br>The interval of time in seconds in which shopper enter their card number in the <code>CardNumber</code> field. An abnormally short interval is usually a red flag for fraud attempts.</p><p>Can be NULL, but not a negative number.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `PaymentDetails.PaymentMethod.InstallmentsNumber`             | <p><strong>Optional (integer)</strong><br>Number of installments. Available only when customers un Brazil pay with Visa or MasterCard using Brazilian Real as the order currency. Use <strong>1</strong> or exclude the parameter for full payments. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `PaymentDetails.CustomerIP`                                   | <p><strong>Optional (string)</strong><br>Shopper IP.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Promotions`                                                  | <p><strong>Optional (array of strings)</strong><br>Array of promotion codes.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `LocalTime`                                                   | <p><strong>Optional (string)</strong><br>Local shopper time in the following format: Y-m-d H:i:s.</p><p>This parameter can impact the fraud score of an order when it's missing, NULL or incorrectly formatted.</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-requests/place-orders-with-dynamic-product-information.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.
