# Order with catalog products

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

* [Place orders with catalog products](/json-rpc-api-reference/json-rpc-api-6.0/api-requests/place-orders-with-catalog-products.md)
* [Retrieve an order](/json-rpc-api-reference/json-rpc-api-6.0/api-requests/retrieve-an-order.md)

## Catalog order object

| Parameter                                                                           | Type / Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `RefNo`                                                                             | <p><strong>String</strong><br>2Checkout generates unique reference numbers for all orders (purchases). You can use this parameter to retry authorizations for orders with failed transactions by changing the payment method.</p><p>NULL when you place new orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `ChargebackResolution`                                                              | <p><strong>String</strong><br>Chargeback status information. Possible values:</p><ul><li>OPEN (chargeback is in progress)</li><li>WON (chargeback won by you)</li><li>LOST (chargeback won by the customer)</li><li>ACCEPTED (you agreed to repay the value of the order to the customer)</li><li>NONE (no chargeback initiated for the order)</li></ul><p>To manage chargeback notifications navigate to Control Panel <em>Dashboard →Integrations → Webhooks and API</em>, and click on the <a href="https://secure.avangate.com/cpanel/ipn_settings.php">IPN settings tab</a>.</p><p>In the <strong>General IPN Settings</strong> section, under <strong>Triggers</strong>, make sure to check the boxes next to the following options:</p><ul><li>chargeback open (2Checkout sends an IPN when shoppers open a chargeback dispute).</li><li>chargeback closed - (2Checkout sends an IPN when the parties involved resolve a chargeback dispute).</li></ul><p>Also, check the checkbox next to the <strong>CHARGEBACK\_RESOLUTION</strong> parameter featured in the <strong>Response tags</strong> area.</p>                                                                                                                                                                                                                |
| `ChargebackReasonCode`                                                              | <p><strong>String</strong></p><p>Identifier for the chargeback dispute reason from the 2Checkout system. Empty for orders with no chargeback dispute initiated.</p><p>Possible values:</p><ul><li>MERCHANDISE\_NOT\_RECEIVED - Order not fulfilled/not delivered</li><li>NOT\_AS\_DESCRIBED - Product(s) not as described/unfunctional</li><li>DUPLICATE\_TRANSACTION - Duplicate order</li><li>FRAUD / NOT\_RECOGNIZED - Fraud/Order not recognized</li><li>CREDIT\_NOT\_PROCESSED - Agreed refund not processed</li><li>NOT\_RECOGNIZED - New/renewal order not recognized</li><li>AUTHORIZATION\_PROBLEM - Authorization problem</li><li>INFO\_REQUEST - Information request</li><li>UNKNOWN - Unknown</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `OrderNo`                                                                           | <p><strong>String</strong><br>The consecutive order number 2Checkout associates with orders and displays in the <a href="https://secure.avangate.com/cpanel/reports.php">Order search</a> area of your account.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `ExternalReference`                                                                 | <p><strong>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>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `Status`                                                                            | <p><strong>String</strong></p><p>The status of the order:</p><ul><li>AUTHRECEIVED – 2Checkout blocks the amount corresponding to the transaction, but the process of collecting funds is incomplete.</li><li>PENDING - 2Checkout has yet to block the amount corresponding to the transaction or shoppers used an offline payment method like wire transfer.</li><li>COMPLETE – The shopper completed the transaction for the purchase and 2Checkout or you fulfilled the order (when required).</li><li>CANCELED – 2Checkout cancels orders for which shoppers fail to transfer funds in due time.</li><li>REVERSED – 2Checkout reverses order transactions that never reach the Complete/Finished stage. Shoppers never complete transactions for such purchases.</li><li>REFUND – 2Checkout refunds orders only after they reach the Complete/Finished stage and returns the funds collected to shoppers.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                          |
| `ApproveStatus`                                                                     | <p><strong>String</strong></p><p>The status of the order resulted from the evaluation by the 2Checkout anti-fraud system or by a member of the anti-fraud department. This status varies for new purchases and for orders requiring customers to make manual payments.</p><p>Possible values:</p><ul><li><strong>WAITING</strong>: The 2Checkout anti-fraud system or a member of the anti-fraud department has yet to approve the order.</li><li><strong>OK</strong>: The 2Checkout anti-fraud system or a member of the anti-fraud department approved the order.</li><li><strong>INVALIDDATA</strong>: Shopper-supplied data is invalid – 2Checkout did not approve the order.</li><li><strong>FRAUD</strong>: The order is fraudulent.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `VendorApproveStatus`                                                               | <p><strong>String</strong></p><p>Shows if you approved or not a partner order. Possible values:</p><ul><li>OK</li><li>WAITING</li><li>REJECTED</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `Language`                                                                          | <p><strong>String</strong><br>ISO 639-1 two-letter code. Language used for the purchase process. Example: “en.”</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `OrderDate`                                                                         | <p><strong>String</strong><br>Y-m-d H:i:s (2014-05-22 00:12:12) The datetime stamp (in the API time zone defined in cPanel) when customers place their orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `FinishDate`                                                                        | <p><strong>String</strong><br>Y-m-d H:i:s (2014-05-22 00:12:12) The datetime stamp (in the API time zone defined in cPanel) when the order reach the Complete status.</p><p>NULL for order that did not reach the Complete/Finished stage.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `Source`                                                                            | <p><strong>String</strong><br>The link source for the sale. Enables you to replicate the functionality of the <strong>SRC</strong> (separate link identifier) parameter when included into Buy Links. Use the SRC parameter to track sale sources.</p><p>Maximum length 255 characters. Cannot be null.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `Affiliate`                                                                         | <p><strong>Object</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `Affiliate.AffiliateCode`                                                           | <p><strong>String</strong><br>The unique code of the affiliate who refer orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `Affiliate.AffiliateSource`                                                         | <p><strong>String</strong><br>The link source for affiliate referred sales. Similar to the functionality of the <strong>SRC</strong> (separate link identifier) parameter included into Buy Links, but controlled by the <strong>AFFSRC</strong> parameter. Affiliates use the <strong>AFFSRC</strong> parameter to track sale sources for their referrals. Maximum length 255 characters.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `Affiliate.AffiliateName`                                                           | <p><strong>String</strong><br>Affiliate name.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Affiliate.AffiliateUrl`                                                            | <p><strong>String</strong><br>Affiliate website URL from the Affiliate Details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `HasShipping`                                                                       | <p><strong>Boolean</strong><br><strong>true</strong> or <strong>false</strong>, depending on whether the order requires shipping.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `DeliveryFinalized`                                                                 | <p><strong>Boolean</strong><br><strong>true</strong> or <strong>false</strong>, depending on whether product delivery has been completed.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `BillingDetails`                                                                    | <p><strong>Object</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `BillingDetails.FirstName`                                                          | <p><strong>String</strong><br>Shopper name.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `BillingDetails.LastName`                                                           | <p><strong>String</strong><br>Shopper surname.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `BillingDetails.CountryCode`                                                        | <p><strong>String</strong><br>Shopper country. ISO 3166 two-letter code.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `BillingDetails.State`                                                              | <p><strong>String</strong><br>The state in the shopper's country. Mandatory when you set the Billing Country to US, Turkey, India and Romania. Use case insensitive utf8 strings for the full name, or just the two letter code.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `BillingDetails.City`                                                               | <p><strong>String</strong><br>Shopper city.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `BillingDetails.Address1`                                                           | <p><strong>String</strong><br>Shopper address.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `BillingDetails.Address2`                                                           | <p><strong>String</strong><br>Shopper address.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `BillingDetails.Zip`                                                                | <p><strong>String</strong><br>ZIP/ Postal code.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `BillingDetails.Email`                                                              | <p><strong>String</strong><br>Shopper email address.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `BillingDetails.Phone`                                                              | <p><strong>String</strong><br>Shopper phone number. Mandatory when you set Brazil as the Billing Country. Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `BillingDetails.Company`                                                            | <p><strong>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>String</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 the Billing Country is set to Brazil. For Brazilian customers it represents the Fiscal Code (CPF/CNPJ).</li><li>Mandatory when the Billing Country is set to India, and purchase is made by a Company.</li></ul><p>Can be null for end users.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `DeliveryDetails`                                                                   | <p><strong>Object</strong></p><p>Optional. When missing, 2Checkout uses the same details as for the <code>BillingDetails</code> object.<br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `DeliveryDetails.FirstName`                                                         | <p><strong>String</strong><br>Shopper name from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `DeliveryDetails.LastName`                                                          | <p><strong>String</strong><br>Shopper surname from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `DeliveryDetails.CountryCode`                                                       | <p><strong>String</strong><br>Shopper country. ISO 3166 two-letter code from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `DeliveryDetails.State`                                                             | <p><strong>String</strong><br>The state in the shopper's country from the delivery details. Mandatory when you set the Billing Country to US, Turkey and Romania. Use case insensitive utf8 strings for the full name, or just the two letter code.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `DeliveryDetails.City`                                                              | <p><strong>String</strong><br>Shopper city from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `DeliveryDetails.Address1`                                                          | <p><strong>String</strong><br>Shopper address from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `DeliveryDetails.Address2`                                                          | <p><strong>String</strong><br>Shopper address from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `DeliveryDetails.Zip`                                                               | <p><strong>String</strong><br>ZIP/ Postal code from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `DeliveryDetails.Email`                                                             | <p><strong>String</strong><br>Shopper email address from the delivery details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `DeliveryDetails.Phone`                                                             | <p><strong>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>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>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `PaymentDetails`                                                                    | <p><strong>Optional (object)</strong><br>Adapt this object to the desired payment method.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `PaymentDetails.Type`                                                               | <p><strong>String</strong></p><p>The payment method:</p><ul><li><strong>CC</strong> (credit/debit card - including local Brazilian cards).</li><li><strong>PAYPAL</strong></li><li><strong>PAYPAL\_EXPRESS</strong></li><li><strong>CCNOPCI</strong> (credit/debit card for non-PCI certified merchants).</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>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>GOOGLE PAY -</strong> the placeOrder response includes the GooglePay payment details in the PaymentMethod object.</li><li><strong>APPLEPAY -</strong> the placeOrder response includes the ApplePay payment details in the PaymentMethod object.</li><li><strong>eCheck/ACH</strong></li><li><strong>Stored Credit</strong></li></ul> |
| `PaymentDetails.Currency`                                                           | <p><strong>String</strong><br>The currency ISO code for the payment - ISO 4217. Example: “usd.”</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `PaymentDetails.PaymentMethod`                                                      | <p><strong>Optional (object)</strong><br>Object structure and parameters differ according to payment method selected and API method (placing orders (POST) vs. retrieving order data (GET)). For payments with credit cards, PalPay Express, previous order reference and purchase order use the objects below.</p><p>For payments with check and wire, send only the ‘CHECH’ and ‘WIRE’ strings.</p><p><strong>null</strong> for 0 value orders for which you’re not requiring customers to enter payment details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `PaymentDetails.PaymentMethod.RecurringEnabled`                                     | <p><strong>Boolean</strong><br><strong>true</strong> or <strong>false</strong>, depending on whether the shoppers checked the subscription auto-renewal checkbox or not, during the purchase process.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `PaymentDetails.PaymentMethod.PaymentDetailsCard`                                   | <p><strong>Optional (object)</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `PaymentDetails.PaymentMethod.PaymentDetailsCard.CardType`                          | <p><strong>String</strong><br>visa, visaelectron, mastercard, maestro, amex, discover, dankort, cartebleue, jcb, hipercard, elo</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `PaymentDetails.PaymentMethod.PaymentDetailsCard.FirstDigits`                       | <p><strong>String</strong><br>First four digits of the credit card.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `PaymentDetails.PaymentMethod.PaymentDetailsCard.LastDigits`                        | <p><strong>String</strong><br>Last four digits of the credit card.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `PaymentDetails.PaymentMethod.PaymentDetailsCard.RecurringEnabled`                  | <p><strong>Boolean</strong><br><strong>true</strong> or <strong>false</strong>, depending whether the order has active recurring options</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `PaymentDetails.PaymentMethod.PaymentDetailsCard.Vendor3DSReturnURL`                | <p><strong>String</strong><br>URL to which customers are redirected after a successful 3DS process.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `PaymentDetails.PaymentMethod.PaymentDetailsCard.Vendor3DSCancelURL`                | <p><strong>String</strong><br>URL to which customers are redirected after a failed 3DS process.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `PaymentDetails.PaymentMethod.PaymentDetailsCard.InstallementsNumber`               | <p><strong>Integer</strong><br>Number of installments used for paying the order.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `PaymentDetails.PaymentMethod.CheckPaymentDetails`                                  | <p><strong>Optional (object)</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `PaymentDetails.PaymentMethod.CheckPaymentDetails.Beneficiary`                      | <p><strong>String</strong><br>The beneficiary of the payment.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `PaymentDetails.PaymentMethod.CheckPaymentDetails.CheckPostalAddress`               | <p><strong>String</strong><br>The address of the beneficiary.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `PaymentDetails.PaymentMethod.CheckPaymentDetails.Amount`                           | <p><strong>Float</strong><br>The total costs incurred by the customer for an order.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `PaymentDetails.PaymentMethod.CheckPaymentDetails.Currency`                         | <p><strong>String</strong><br>The currency ISO code of the order/payment - ISO 4217.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `PaymentDetails.PaymentMethod.PayPalExpress`                                        | <p><strong>Object</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `PaymentDetails.PaymentMethod.PayPalExpress.Email`                                  | <p><strong>String</strong><br>Email address customers use for their PayPal account.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `PaymentDetails.PaymentMethod.PayPalExpress.ReturnURL`                              | <p><strong>String</strong><br>The PayPal Express Checkout redirect URL returned by calling the getPayPalExpressCheckoutRedirectURL method. The return URL is the page on your website to which PayPal redirects your buyer's browser after the buyer logs into PayPal and approves the payment. Typically, this is a secure page (<a href="https://.../">https\://...</a>) on your site.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `PaymentDetails.PaymentMethod.PayPalExpress.CancelURL`                              | <p><strong>String</strong><br>The cancel URL is the page on your website to which PayPal redirects your buyer's browser if the buyer does not approve the payment. Typically, this is the secure page (<a href="https://.../">https\://...</a>) on your site from which you redirected the buyer to PayPal.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `PaymentDetails.PaymentMethod.WirePaymentDetails`                                   | <p><strong>Object</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.Amount`                            | <p><strong>Float</strong><br>The total costs customers incur.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.Currency`                          | <p><strong>String</strong><br>The currency ISO code of the order - ISO 4217.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.PaymentReference`                  | <p><strong>String</strong><br>Transaction identifier.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.RoutingNumber`                     | <p><strong>String</strong><br>Identification number assigned to financial institutions.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.BankAccounts`                      | <p><strong>Optional (array of objects)</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.BankAccounts.Beneficiary`          | <p><strong>String</strong><br>The beneficiary of the payment.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.BankAccounts.BankName`             | <p><strong>String</strong><br>The name of the beneficiary's bank.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.BankAccounts.BankCountry`          | <p><strong>String</strong><br>The country of the beneficiary's bank.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.BankAccounts.BankCity`             | <p><strong>String</strong><br>The city of the beneficiary's bank.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.BankAccounts.BankAddress`          | <p><strong>String</strong><br>The address of the beneficiary's bank.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.BankAccounts.BankAccount`          | <p><strong>String</strong><br>The number for the account in which customers transfer the funds.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.BankAccounts.BankAccountIban`      | <p><strong>String</strong><br>The IBAN of the beneficiary's bank.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.BankAccounts.BankAccountSwiftCode` | <p><strong>String</strong><br>The Swift Code of the beneficiary's bank.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `PaymentDetails.PaymentMethod.WirePaymentDetails.BankAccounts.Currency`             | <p><strong>String</strong><br>The currency ISO code for the bank account - ISO 4217.</p><p>Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `PaymentDetails.PaymentMethod.DIRECT_DEBIT_ACH`                                     | <p><strong>Object</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `PaymentDetails.PaymentMethod.DIRECT_DEBIT_ACH.AccountHolderName`                   | <p><strong>String</strong><br>Full name of the account holder.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `PaymentDetails.PaymentMethod.DIRECT_DEBIT_ACH.BankRoutingNumber`                   | <p><strong>String</strong><br>Bank Routing number with fixed 9 digit length.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `PaymentDetails.PaymentMethod.DIRECT_DEBIT_ACH.AccountNumber`                       | <p><strong>String</strong><br>Account number consisting of up to 17 digits.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `PaymentDetails.PaymentMethod.DIRECT_DEBIT_ACH.AccountType`                         | <p><strong>String</strong><br>Possible values are "S" for SAVINGS accounts or "C" for CHECKING accounts.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `PaymentDetails.CustomerIP`                                                         | <p><strong>String</strong><br>Shopper IP.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `CustomerDetails`                                                                   | <p><strong>Object</strong></p><p>2Checkout populates the parameters of the customer entity with information from the customer whose <code>AvangateCustomerReference</code> or <code>ExternalCustomerReference</code> you send during the purchase.<br>Details Below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `CustomerDetails.AvangateCustomerReference`                                         | <p><strong>Integer</strong><br>System-generated 2Checkout customer reference. Aggregate subscriptions under the same Customer account if the products they're associated to are purchased by the same shopper by adding the <strong>AV\_CUSTOMERID</strong> (case sensitive) parameter to buy links. The 2Checkout system generates default customer numerical (integer) IDs (AV\_CUSTOMERID) automatically for all orders containing products that feature subscriptions.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `CustomerDetails.ExternalCustomerReference`                                         | <p><strong>String</strong><br>The external customer reference you control. Aggregate subscriptions under the same Customer account if the products they're associated to are purchased by the same shopper by adding the <strong>CUSTOMERID (case sensitive) parameter</strong>  to buy links.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `CustomerDetails.FirstName`                                                         | <p><strong>String</strong><br>Customer's first name.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `CustomerDetails.LastName`                                                          | <p><strong>String</strong><br>Customer's last name.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `CustomerDetails.CountryCode`                                                       | <p><strong>String</strong><br>Customer's country code (ISO 3166 two-letter code).</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `CustomerDetails.State`                                                             | <p><strong>String</strong><br>Customer's state. For example, "Alabama","Alaska","Arizona".</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `CustomerDetails.City`                                                              | <p><strong>String</strong><br>Customer's city.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `CustomerDetails.Address1`                                                          | <p><strong>String</strong><br>Customer's address.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `CustomerDetails.Address2`                                                          | <p><strong>String</strong><br>Customer's address.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `CustomerDetails.Zip`                                                               | <p><strong>String</strong><br>Zip code.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `CustomerDetails.Email`                                                             | <p><strong>String</strong><br>Customer's email.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `CustomerDetails.Phone`                                                             | <p><strong>String</strong><br>Customer's phone number.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `CustomerDetails.Company`                                                           | <p><strong>String</strong><br>Company name.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `CustomerDetails.FiscalCode`                                                        | <p><strong>String</strong><br>For companies, it needs to be the VAT ID. 2Checkout validates this values and throws an error if the VAT ID is invalid/incorrect. When present, you need to also provide Company name.</p><p>Can be null for end users.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `CustomerDetails.Fax`                                                               | <p><strong>String</strong><br>Customer's fax number.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `CustomerDetails.Enabled`                                                           | <p><strong>Boolean</strong><br><strong>true</strong> or <strong>false</strong>, depending on whether the customer account is active or inactive. An active customer account features at least one <strong>Active</strong> or <strong>Past due</strong> subscription.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `CustomerDetails.Trial`                                                             | <p><strong>Boolean</strong><br><strong>true</strong> or <strong>false</strong>, depending on whether the customer account features only trials or also paid subscriptions.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `CustomerDetails.Language`                                                          | <p><strong>String</strong><br>ISO 639-1 two-letter code. Example: “en.”</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `CustomerDetails.ExistingCards`                                                     | <p><strong>Array of objects</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `CustomerDetails.ExistingCards.TransientToken`                                      | <p><strong>Object</strong><br>Populated only when you retrieve <strong>customer information</strong> by SSOToken.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `CustomerDetails.ExistingCards.TransientToken.Token`                                | <p><strong>String</strong><br>Token for the EXISTING\_PAYMENT\_DATA flow. Use it to charge customers using cards they used in the past for purchases from your 2Checkout account.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `CustomerDetails.ExistingCards.CardType`                                            | <p><strong>String</strong><br>visa, visaelectron, mastercard, maestro, amex, discover, dankort, cartebleue, jcb, hipercard, elo</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `CustomerDetails.ExistingCards.LastDigits`                                          | <p><strong>String</strong><br>Last four digits of the credit card.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `CustomerDetails.ExistingCards.ExpirationMonth`                                     | <p><strong>String</strong><br>Card expiration month.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `CustomerDetails.ExistingCards.ExpirationYear`                                      | <p><strong>String</strong><br>Card expiration year.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `CustomerDetails.ExistingCards.NameOnCard`                                          | <p><strong>String</strong><br>Card holder name.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Origin`                                                                            | <p><strong>String</strong></p><p>2Checkout automatically tracks the source of purchases:</p><ul><li><strong>Web</strong> – When customers use the desktop version of the 2Checkout shopping cart.</li><li><strong>API</strong> - When customers use a custom, API-based ordering interface.</li><li><strong>Mobile</strong> - When customers use the mobile version of the 2Checkout shopping cart.</li><li><strong>Automatic Billing</strong> – For auto-renewals and trial conversions.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `AvangateCommission`                                                                | <p><strong>Optional (Int)</strong><br>2Checkout's commission for the order.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `OrderFlow`                                                                         | <p><strong>String</strong><br><strong>PURCHASE\_ORDER</strong> - Sent only when shoppers used Purchase Orders.</p><p><strong>REGULAR</strong> - Sent in all other cases.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `GiftDetails`                                                                       | <p><strong>Optional (object)</strong><br>Contains contact details for the recipient of a gift purchase.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `GiftDetails.FirstName`                                                             | <p><strong>String</strong><br>First name of gift recipient.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `GiftDetails.LastName`                                                              | <p><strong>String</strong><br>Last name of gift recipient.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `GiftDetails.Email`                                                                 | <p><strong>String</strong><br>Email of gift recipient. 2Checkout uses this email for the delivery/fulfillment process.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `GiftDetails.GiftNote`                                                              | <p><strong>String</strong><br>Custom text shoppers provide as a message to the gift recipient.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `PODetails`                                                                         | <p><strong>Object (optional)</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `PODetails.Status`                                                                  | <p><strong>String</strong></p><p>PO status. Possible values:</p><ul><li>AWAITING\_UPLOAD - <strong>Awaiting form submission</strong> - Waiting for the customer to submit the PO form</li><li>TIME\_EXPIRED - <strong>Expired, form not received</strong> - The customer did not submit the PO form</li><li>AWAITING\_MERCHANT - <strong>Awaiting your confirmation</strong> - PO approved by 2Checkout, awaiting vendor confirmation</li><li>MERCHANT\_TIME\_EXPIRED - <strong>Expired, PO not confirmed</strong> - You didn't confirm/reject the PO</li><li>AWAITING\_MERCHANT - <strong>Rejected</strong> - You rejected the PO</li><li>AWAITING\_PAYMENT - <strong>Awaiting payment</strong> - You approved the PO, waiting for payment</li><li>AWAITING\_PAYMENT - <strong>Expired, not paid</strong> - The customer did not complete the PO payment. 2Checkout accepts  payments up to 30 days after the PO payment interval expires</li><li>NOT\_PAID - <strong>Canceled, not paid</strong> - The customer did not complete the PO payment</li><li>NOT\_PAID - <strong>Canceled by 2Checkout</strong> - 2Checkout canceled the PO</li><li>NOT\_PAID - <strong>Canceled via API</strong> - You canceled the PO (via API)</li><li>PAID - <strong>Complete</strong> - Customer paid the PO. The order is complete</li></ul> |
| `PODetails.AutoApprove`                                                             | <p><strong>Boolean</strong><br>TRUE or FALSE, depending on whether you set POs to auto-approve or not.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `PODetails.RequireDocumentUpload`                                                   | <p><strong>Boolean</strong><br>TRUE or FALSE, depending on whether require document upload or not.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `PODetails.NetPaymentTerms`                                                         | <p><strong>Integer</strong><br>The term of net payment in days.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `PODetails.CopyPreviousDocuments`                                                   | <p><strong>Boolean</strong><br>TRUE or FALSE, depending on whether copy documents from previous order or not.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `PODetails.PdfFormUrl`                                                              | <p><strong>String</strong><br>URL of Purchase Order form which needs to be printed, signed and uploaded.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `PODetails.InternalPONumber`                                                        | <p><strong>String</strong><br>Identifier that business customers use internally in their organization to track and manage Purchase Orders (PO). Can be NULL.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `ExtraInformation`                                                                  | <p><strong>Optional (object)</strong><br>Details below. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `ExtraInformation.PaymentLink`                                                      | <p><strong>String</strong><br>Can be:</p><p>1. The PO doc upload link - If you set <strong>AutoApprove</strong> as <strong>FALSE</strong> on the original order and before shoppers upload the PO. </p><p>2. Payment link for orders with POs. Business customers can use the <strong>PaymentLink</strong> to finalize payment for orders with POs. If you set <strong>AutoApprove</strong> as <strong>TRUE</strong> on the original order and if 2Checkout and you approve the PO. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `PaymentLink`                                                                       | <p><strong>String</strong><br>In scenarios in which an issue blocks the transaction from finalizing, 2Checkout provides a retry link where shopper can complete their purchase by providing new payment details.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `PartnerCode`                                                                       | <p><strong>String</strong><br>Partner code you configured for your partner. NULL for eStore orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `PartnerMargin`                                                                     | <p><strong>Float</strong><br>Partner margin you set for the order. NULL for eStore orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `PartnerMarginPercent`                                                              | <p><strong>Float</strong><br>The percentage of the partner margin from the net value of the products ordered, minus the value of any discounts. NULL for eStore orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `ExtraMargin`                                                                       | <p><strong>Float</strong><br>Extra margin you offer by editing partner orders. NULL for eStore orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `ExtraMarginPercent`                                                                | <p><strong>Float</strong><br>The percentage of the extra partner margin from the net value of the products ordered, minus the partner margin and the value of any discounts. NULL for eStore orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `ExtraDiscount`                                                                     | <p><strong>Float</strong><br>Extra discount you offer by editing partner orders. NULL for eStore orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `ExtraDiscountPercent`                                                              | <p><strong>Float</strong><br>The percentage of the partner margin from the net value of the products ordered, minus the value of any coupon discounts. NULL for eStore orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `LocalTime`                                                                         | <p><strong>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>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `TestOrder`                                                                         | <p><strong>Boolean</strong><br>True for test orders. False of regular orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Errors`                                                                            | <p><strong>Array of strings</strong><br>Payment gateway processing errors.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `Items`                                                                             | <p><strong>Array of objects</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Items.ProductDetails`                                                              | **Object**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Items.ProductDetails.Name`                                                         | <p><strong>String</strong><br>Product name.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `Items.ProductDetails.ShortDescription`                                             | <p><strong>String</strong><br>Product short description.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `Items.ProductDetails.Tangible`                                                     | <p><strong>Boolean</strong><br>true or false, depending on product delivery type.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `Items.ProductDetails.IsDynamic`                                                    | <p><strong>Boolean</strong></p><p>Possible values:</p><ul><li><strong>true</strong> - dynamic product information</li><li><strong>false</strong> - catalog products</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `Items.ProductDetails.ExtraInfo`                                                    | <p><strong>String</strong><br>The text entered in the <strong>Additional information</strong> field when generating Buy links, or via the <strong>INFO\[PRODUCT\_ID]</strong> parameter used in <strong>Buy links</strong>.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `Items.ProductDetails.RenewalStatus`                                                | <p><strong>Boolean</strong></p><ul><li><strong>true</strong> for orders renewing subscriptions.</li><li><strong>false</strong> for all other orders: new purchases, upgrades.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Items.ProductDetails.DeliveryInformation`                                          | <p><strong>Object</strong><br>Details below</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `Items.ProductDetails.DeliveryInformation.Delivery`                                 | <p><strong>String</strong></p><p>Possible values:</p><ul><li>BY\_VENDOR</li><li>NO\_DELIVERY</li><li>BY\_AVANGATE</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `Items.ProductDetails.DeliveryInformation.DownloadFile`                             | <p><strong>Object</strong><br>Information related to the download file.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `Items.ProductDetails.DeliveryInformation.DeliveryDescription`                      | <p><strong>String</strong><br>Delivery description.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Items.ProductDetails.DeliveryInformation.CodesDescription`                         | <p><strong>String</strong><br>Description of codes delivered.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Items.ProductDetails.DeliveryInformation.Codes`                                    | <p><strong>Array of strings</strong><br>Array with the codes delivered</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Items.ProductDetails.Subscriptions.SubscriptionReference`                          | <p><strong>String</strong><br>Unique, system-generated subscription identifier.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Items.ProductDetails.Subscriptions.PurchaseDate`                                   | <p><strong>String</strong></p><p>The date time stamp when shoppers acquired their subscriptions corresponding to the moment when the 2Checkout system marks the purchase as finished. Format (YYYY-MM-DD HH:mm:ss). Default GMT+02:00.</p><p>e.g. 2015-08-11 15:18:52</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `Items.ProductDetails.Subscriptions.SubscriptionStartDate`                          | <p><strong>String</strong><br>Example: 2015-09-29 17:57:59</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `Items.ProductDetails.Subscriptions.ExpirationDate`                                 | <p><strong>String</strong><br>The date time stamp of upcoming renewal/expiration for subscriptions not taking into account grace period settings.</p><p>Format (YYYY-MM-DD HH:mm:ss). Default GMT+02:00.</p><p>e.g. 2015-09-11 15:18:52</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `Items.ProductDetails.Subscriptions.Lifetime`                                       | <p><strong>Boolean</strong></p><ul><li><strong>true</strong> – For non-recurring, evergreen subscriptions.</li><li><strong>false</strong> – For recurring subscriptions with a specific billing cycle from 7 days to 36 months.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `Items.ProductDetails.Subscriptions.Trial`                                          | <p><strong>Boolean</strong></p><ul><li><strong>true</strong> – For trial subscriptions.</li><li><strong>false</strong> – For non-trial, recurring subscriptions with a specific billing cycle from 7 days to 36 months.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Items.ProductDetails.Subscriptions.Enabled`                                        | <p><strong>Boolean</strong></p><ul><li><strong>true</strong> – For <strong>active</strong> and <strong>past due</strong> subscriptions.</li><li><strong>false</strong> – For expired and cancelled subscriptions.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `Items.ProductDetails.Subscriptions.RecurringEnabled`                               | <p><strong>Boolean</strong><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Items.UpgradeInformation`                                                          | **Object**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Items.UpgradeInformation.SubscriptionReference`                                    | <p><strong>String</strong><br>Unique, system-generated subscription identifier.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Items.PriceOptions`                                                                | <p><strong>Array of strings</strong><br>Array of price option codes.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `Items.PriceOptions.Code`                                                           | <p><strong>String</strong><br>Unique code that the 2Checkout system generates or that you set for each pricing options group.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Items.PriceOptions.Required`                                                       | <p><strong>Boolean</strong></p><ul><li><strong>true</strong> – you require shoppers to select the price option  through the way in which you configured pricing.</li><li><strong>false</strong> – you do not require shoppers to select the price option.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| `Items.PriceOptions.Options`                                                        | <p><code>Array of strings</code><br>The code you set or that the 2Checkout system generates for each price option child inside a pricing options group parent.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `Items.Price`                                                                       | <p><strong>Object</strong><br>This object returns the price per unit at order line level.</p><p>In the case of trials, the object returns the costs for the trial to full subscription conversion.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `Items.Price.UnitNetPrice`                                                          | <p><strong>Float</strong><br>The value per product unit, excluding sales tax/VAT expressed in the payment currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Items.Price.UnitGrossPrice`                                                        | <p><strong>Float</strong><br>Total value per product unit, including sales tax/VAT expressed in the payment currency. <strong>UnitGrossPrice</strong> does not reflect any discounts.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `Items.Price.UnitVAT`                                                               | <p><strong>Float</strong><br>Sales tax/VAT per product unit expressed in the payment currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `Items.Price.UnitDiscount`                                                          | <p><strong>Float</strong><br>Value of the discount per product unit expressed in the payment currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Items.Price.UnitNetDiscountedPrice`                                                | <p><strong>Float</strong><br>The value per product unit, expressed in the payment currency, excluding sales tax/VAT, from which 2Checkout deducts the unit discount.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `Items.Price.UnitGrossDiscountedPrice`                                              | <p><strong>Float</strong><br>Total costs shoppers incur per product unit<strong>,</strong> expressed in the payment currency<strong>.</strong> This value includes sales tax/VAT, 2Checkout and affiliate commissions, but 2Checkout deducts the value of any discounts.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `Items.Price.UnitAffiliateCommission`                                               | <p><strong>Float</strong><br>Value of the affiliate commission per product unit calculated expressed in the payment currency.</p><p>2Checkout deducts discounts from the costs incurred by shoppers before calculating affiliate commissions.</p><p>2Checkout does not take into account shipping costs when calculating affiliate commissions.</p><p>NULL when 2Checkout does not apply an affiliate commission.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `Items.Price.Currency`                                                              | <p><strong>String</strong></p><p>The currency ISO code for the payment - ISO 4217. Example: usd.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `Items.Price.NetPrice`                                                              | <p><strong>Float</strong><br>The value per order line, excluding sales tax/VAT expressed in the payment currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `Items.Price.GrossPrice`                                                            | <p><strong>Float</strong><br>Total value per order line, including sales tax/VAT expressed in the payment currency. <strong>UnitGrossPrice</strong> does not reflect any discounts.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Items.Price.NetDiscountedPrice`                                                    | <p><strong>Float</strong><br>The <strong>NetPrice</strong> value per order line (in the payment currency), excluding sales tax/VAT, from which 2Checkout deducts discounts.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `Items.Price.GrossDiscountedPrice`                                                  | <p><strong>Float</strong></p><p>Total costs shoppers incur per order line<strong>,</strong> expressed in the payment currency<strong>.</strong> This value includes sales tax/VAT, 2Checkout and affiliate commissions, but 2Checkout deducts the value of any discounts.</p><p>Example:</p><ul><li>UnitNetPrice: 99</li><li>UnitGrossPrice: 120.39</li><li>UnitVAT: 21.39</li><li>UnitDiscount: 9.9</li><li>UnitNetDiscountedPrice: 89.1</li><li>UnitGrossDiscountedPrice: 110.49</li><li>UnitAffiliateCommission: 22.28</li><li>Currency: "usd"</li><li>NetPrice: 198</li><li>GrossPrice: 240.77</li><li>NetDiscountedPrice: 178.2</li><li>GrossDiscountedPrice: 220.97</li><li>Discount: 19.8</li><li>VAT: 42.77</li><li>AffiliateCommission: 44.56</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `Items.Price.Discount`                                                              | <p><strong>Float</strong><br>Value of the discounts per order line expressed in the payment currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `Items.Price.VAT`                                                                   | <p><strong>Float</strong><br>Value of sales tax/VAT per order line expressed in the payment currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `Items.Price.AffiliateCommission`                                                   | <p><strong>Float</strong><br>Value of the affiliate commission per order line, calculated from the <strong>NetDiscountedPrice</strong> expressed in the payment currency. Or NULL. 2Checkout does not take into account shipping costs when calculating affiliate commissions.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `Items.Price.VATPercent`                                                            | <p><strong>Integer</strong><br>Percentage of the VAT/tax applied to the order.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `Items.Price.HandlingFeeNetPrice`                                                   | <p><strong>Integer</strong><br>Handling fee applied to the NET price configuration.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Items.Price.HandlingFeeGrossPrice`                                                 | <p><strong>Integer</strong><br>Handling fee applied to the GROSS price configuration.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `Items.LineItemReference`                                                           | <p><strong>String</strong><br>System-generated reference for the product item.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `Items.PurchaseType`                                                                | <p><strong>String</strong></p><p>Possible values:</p><ul><li>PRODUCT</li><li>SHIPPING</li><li>TAX</li><li>COUPON</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Items.Code`                                                                        | <p><strong>String</strong><br>Unique product identifier your control. Max length 256 characters.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `Items.Quantity`                                                                    | <p><strong>Integer</strong><br>Number of units</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| `Items.SKU`                                                                         | <p><strong>String</strong><br>SKU identifier.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Items.CrossSell`                                                                   | <p><strong>Object</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `Items.CrossSell.ParentCode`                                                        | <p><strong>String</strong><br>The product code of the master product you set to trigger the campaign.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `Items.CrossSell.CampaignCode`                                                      | <p><strong>String</strong><br>Unique, system-generated identifier for cross-sell campaigns.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `Items.Trial`                                                                       | <p><strong>Object</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `Items.Trial.Period`                                                                | <p><strong>Integer</strong><br>The length of the trial subscription lifetime in days.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `Items.Trial.GrossPrice`                                                            | <p><strong>Float</strong><br>Total trial price in the payment currency before 2Checkout deducts any taxes, discounts, etc.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| `Items.Trial.VAT`                                                                   | <p><strong>Float</strong><br>The total value of taxes for the trial in the payment currency, before 2Checkout deducts any discounts.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `Items.Trial.NetPrice`                                                              | <p><strong>Float</strong><br>Total trial price in the payment currency, not including taxes, before 2Checkout deducts any discounts.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `Items.AdditionalFields`                                                            | <p><strong>Array of objects</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Items.AdditionalFields.Code`                                                       | <p><strong>String</strong><br>The alpha-numeric characters, underscores and dashes that are set as the field identifier.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `Items.AdditionalFields.Text`                                                       | <p><strong>String</strong><br>Field text visible to shoppers in the cart.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `Items.AdditionalFields.Value`                                                      | <p><strong>String</strong><br>Selected field value.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Items.Promotion`                                                                   | <p><strong>Object</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `Items.Promotion.Name`                                                              | <p><strong>String</strong><br>Promotion name.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Items.Promotion.Description`                                                       | <p><strong>String</strong><br>Promotion description.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `Items.Promotion.StartDate`                                                         | <p><strong>String</strong><br>The date when you set the promotion to start. NULL for promotions that start immediately after you create them.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Items.Promotion.EndDate`                                                           | <p><strong>String</strong><br>The date when you set the promotion to end. NULL for promotions you want active indefinitely.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `Items.Promotion.MaximumOrdersNumber`                                               | <p><strong>Integer</strong></p><p>2Checkout only applies the promotion to a maximum number of orders you define.</p><p>Can be NULL if you want the promotion to apply to an unlimited number of orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `Items.Promotion.MaximumQuantity`                                                   | <p><strong>Integer</strong><br>Discount only applies to a maximum number of units purchased through a single order, smaller than the quantity you defined. Shoppers purchase any extra units at full price. Can be NULL if you want the promotion to apply to an unlimited number units.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `Items.Promotion.InstantDiscount`                                                   | <p><strong>Boolean</strong><br>The instant discount option auto-applies the discount for ALL selected products, without the need for shoppers to enter a discount coupon.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `Items.Promotion.Coupon`                                                            | <p><strong>String</strong><br>Promotion coupon/voucher.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `Items.Promotion.DiscountLabel`                                                     | <p><strong>String</strong><br>Discounts can be set as a percentage from the product price or as a fixed amount in the chosen currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Items.Promotion.Enabled`                                                           | <p><strong>String</strong><br><strong>true</strong> or <strong>false</strong>, depending on whether a promotion is active or disabled. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `Items.Promotion.Type`                                                              | <p><strong>String</strong></p><ul><li>REGULAR – product/cart line level discounts.</li><li>ORDER – quantity discounts.</li><li>GLOBAL – order-level discounts.</li><li>AFFILIATE – for discounts created by affiliates.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Promotions`                                                                        | <p><strong>Array of objects</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `Promotions.Name`                                                                   | <p><strong>String</strong><br>Promotion name.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Promotions.Description`                                                            | <p><strong>String</strong><br>Promotion description.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `Promotions.StartDate`                                                              | <p><strong>String</strong><br>The date when you set the promotion to start. NULL for promotions that start immediately after you create them.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `Promotions.EndDate`                                                                | <p><strong>String</strong><br>The date when you set the promotion to end. NULL for promotions you want active indefinitely.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| `Promotions.MaximumOrdersNumber`                                                    | <p><strong>Integer</strong><br>2Checkout only applies the promotion to a maximum number of orders you define.</p><p>Can be NULL if you want the promotion to apply to an unlimited number of orders.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `Promotions.MaximumQuantity`                                                        | <p><strong>Integer</strong><br>Discount only applies to a specific number of units purchased at once, smaller than the maximum quantity you defined. Shoppers purchase any extra units at full price. Can be NULL if you want the promotion to apply to an unlimited number units.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `Promotions.InstantDiscount`                                                        | <p><strong>Boolean</strong><br>The instant discount option auto-applies the discount for ALL selected products, without the need for shoppers to enter a discount coupon.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `Promotions.Coupon`                                                                 | <p><strong>String</strong><br>Promotion coupon/voucher.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `Promotions.DiscountLabel`                                                          | <p><strong>String</strong><br>Discounts can be set as a percentage from the product price or as a fixed amount in the payment currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `Promotions.Enabled`                                                                | <p><strong>String</strong><br><strong>true</strong> or <strong>false</strong>, depending on whether a promotion is active or disabled. </p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| `Promotions.Type`                                                                   | <p><strong>String</strong></p><ul><li>REGULAR – product/cart line level discounts.</li><li>ORDER – quantity discounts.</li><li>GLOBAL – order-level discounts.</li><li>AFFILIATE – for discounts created by affiliates.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `AdditionalFields`                                                                  | <p><strong>Array of objects</strong><br>Details below.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `AdditionalFields.Code`                                                             | <p><strong>String</strong><br>The alpha-numeric characters, underscores and dashes that are set as the field identifier.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `AdditionalFields.Text`                                                             | <p><strong>String</strong><br>Field text visible to shoppers in the cart.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `AdditionalFields.Value`                                                            | <p><strong>String</strong><br>Selected field value.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Currency`                                                                          | <p><strong>String</strong><br>The currency ISO code for the payment - ISO 4217. Example: usd.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| `NetPrice`                                                                          | <p><strong>Float</strong><br>Order value excluding sales tax/VAT expressed in the payment currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `GrossPrice`                                                                        | <p><strong>Float</strong><br>Total order value, including sales tax/VAT expressed in the payment currency. <strong>GrossPrice</strong> does not reflect any discounts.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `NetDiscountedPrice`                                                                | <p><strong>Float</strong><br>The <strong>NetPrice</strong> order value excluding sales tax/VAT, from which 2Checkout deducts discounts. <strong>NetDiscountedPrice</strong> is expressed in the payment currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| `GrossDiscountedPrice`                                                              | <p><strong>Float</strong></p><p>Total costs shoppers incur<strong>,</strong> expressed in the payment currency<strong>.</strong> This value includes sales tax/VAT, 2Checkout and affiliate commissions, but 2Checkout deducts the value of any discounts.</p><p>For example:</p><ul><li>Currency: "usd"</li><li>NetPrice: 396</li><li>GrossPrice: 486.29</li><li>NetDiscountedPrice: 376.2</li><li>GrossDiscountedPrice: 466.49</li><li>Discount: 19.8</li><li>VAT: 90.29</li><li>AffiliateCommission: 94.05</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `Discount`                                                                          | <p><strong>Float</strong><br>Value of the discounts for an order expressed in the payment currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| `VAT`                                                                               | <p><strong>Float</strong><br>Value of sales tax/VAT expressed in the payment currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| `AffiliateCommission`                                                               | <p><strong>Float</strong><br>Value of the affiliate commission for the order calculated from the <strong>NetDiscountedPrice</strong> expressed in the payment currency. Or NULL. 2Checkout does not take into account shipping costs when calculating affiliate commissions.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| `FxRate`                                                                            | <p><strong>Integer</strong><br>Exchange rate used by 2Checkout for converting the order to your payout currency.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| `FxMarkup`                                                                          | <p><strong>Integer</strong><br>Exchange rate markup for the order.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `PayoutCurrency`                                                                    | <p><strong>String</strong><br>The ISO code of your account's payout currency - ISO 4217.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |


---

# Agent Instructions: Querying This Documentation

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

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

```
GET https://docs.2checkout.com/json-rpc-api-reference/json-rpc-api-6.0/api-responses/order-with-catalog-products.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.
