Skip to main content

Order object

Overview

Use this object to create new orders and collect payments from shoppers. 

The attributes below in this page include all possible properties from both the request and the response

To implement placing orders, please reference the API Request page (Place orders with catalog products or Place orders with dynamic product information).

Supported payment methods

  1. Credit/Debit cards: Visa, Visa electron, MasterCard, Maestro, Amex, Discover, Dankort, Carte Bleue, JCB. 2Checkout supports local Brazilian cards.
  2. PayPal and PayPal Express
  3. Purchase Order
  4. Wire
  5. Check
  6. WeChat Pay
  7. iDEAL
  8. Previous order references - In addition to the payment methods enumerated above, 2Checkout also supports 1-click purchase flows in which you use valid previous order references belonging to returning customers to pay for new orders with their previously used cards and PayPal accounts. 

Attributes

Parameters   Type/Description
RefNo Optional (string)
 

Unique, system-generated, order reference number.

 

Do not include it when placing new orders or send it as NULL.

Currency Optional (string)
  The currency ISO code for the payment - ISO 4217. Example: “usd.”
Country Optional (string)
  Shopper country. ISO 3166 two-letter code. Example: “us.”
Language Optional (string)
  ISO 639-1 two-letter code. Language used for the purchase process. Example: “en.”
ExternalReference Optional (string)
  Set external reference identifiers for orders. Enables you to replicate the functionality of the REF 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.
Source Optional (string)
 

The link source for the sales. Enables you to replicate the functionality of the SRC (separate link identifier) parameter when included into Buy Links. Use the SRC parameter to track sale sources.

 

Maximum length 255 characters.

Affiliate Object/Optional
  AffiliateCode String/Required
    The affiliate unique code (as returned by the affiliates API methods).
  AffiliateSource String/Optional
    The affiliate source.
CustomerReference Optional (Int)
  System-generated 2Checkout customer reference. Aggregate subscriptions under the same Customer account by adding the AV_CUSTOMERID (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.
MachineId Optional (string)
  Unique, system generated code for each unique customer, identifying returning customers.
Items Required (array of objects)
  Details below. 
  OrderItem Object
    Details below. 
    Code Required (string)
      Unique product identifier your control. Max length 256 characters.
    Quantity Required (integer)
      Number of units
    PriceOptions Optional (array of strings)
      Array of price option codes.
    SKU Optional (string)
      SKU identifier.
    Price Object - Can be NULL
        OrderPrice Object - Can be NULL
        Currency Optional (string)
          The currency ISO code for the payment - ISO 4217. Example: usd.
        NetPrice Optional (double)
          Order value excluding sales tax/VAT expressed in the payment currency.
        GrossPrice Optional (double)
          Total order value, including sales tax/VAT expressed in the payment currency. GrossPrice does not reflect any discounts.
        NetDiscountedPrice Optional (double)
          The NetPrice order value excluding sales tax/VAT, from which 2Checkout deducts discounts. NetDiscountedPrice is expressed in the payment currency.
        GrossDiscountedPrice Optional (double)
          Total costs shoppers incurexpressed in the payment currencyThis value includes sales tax/VAT, 2Checkout and affiliate commissions, but 2Checkout deducts the value of any discounts. For example, the GrossDiscountedPrice can be derived from the GrossPrice minus a Discount.
        Discount Optional (double)
          Value of the discounts for an order expressed in the payment currency.
        VAT Optional (double)
          Value of sales tax/VAT expressed in the payment currency.
        AffiliateCommission Optional (double)
          Value of the affiliate commission for the order calculated from the NetDiscountedPriceexpressed in the payment currency. Or NULL. 2Checkout does not take into account shipping costs when calculating affiliate commissions.
        UnitNetPrice Optional (double)
          The value per product unit, excluding sales tax/VAT expressed in the payment currency.
        UnitGrossPrice Optional (double)
          Total value per product unit, including sales tax/VAT expressed in the payment currency. UnitGrossPrice does not reflect any discounts.
        UnitVAT Optional (double)
          Sales tax/VAT per product unit expressed in the payment currency.
        UnitDiscount Optional (double)
          Value of the discount per product unit expressed in the payment currency.
        UnitNetDiscountedPrice Optional (double)
          The value per product unit, expressed in the payment currency, excluding sales tax/VAT, from which 2Checkout deducts the unit discount.
        UnitGrossDiscountedPrice Optional (double)
          Total costs shoppers incur per product unitexpressed in the payment currencyThis value includes sales tax/VAT, 2Checkout and affiliate commissions, but 2Checkout deducts the value of any discounts.
        UnitAffiliateCommission Optional (double)
         

Value of the affiliate commission per product unit calculated expressed in the payment currency.

 

2Checkout deducts discounts from the costs incurred by shoppers before calculating affiliate commissions.

 

2Checkout does not take into account shipping costs when calculating affiliate commissions.

 

NULL when 2Checkout does not apply an affiliate commission.

    CrossSell Object – Can be NULL
      Details below. 
      ParentCode Optional (string)
        The product code of the master product you set to trigger the campaign.
      CampaignCode Optional (string)
        Unique, system-generated identifier for cross-sell campaigns.
    Trial Optional (Object) – Can be NULL
      Details below. 
      Period Optional (integer)
        The length of the trial subscription lifetime in days.
      Price Optional (double)
        Total trial price in the payment currency before 2Checkout deducts any taxes, discounts, etc.
    AdditionalFields Optional (array of objects) – Can be NULL
      AdditionalFieldSet Optional (Object) – Can be NULL
        Code Optional (string)
          The alpha-numeric characters, underscores and dashes that are set as the field identifier.
        Value Optional (string)
            Selected field value.
    SubscriptionStartDat Optional (string)
     

Specify the date time stamp when the subscription becomes active. Format 2016-07-02 22:22:22 (YYYY-MM-DD HH:mm:ss). Available for JSON-RPC and REST.

Send empty or NULL to activate subscriptions on the same date when customers purchase them.

You can exclude HH:mm:ss when sending the date and include only YYYY-MM-DD. In this case, 2Checkout uses 00:00:01. Default time zone GMT+02:00.

    Promotion Optional (Object)
      Details below. 
      Name Optional (string)
        Promotion name.
      Description Optional (string)
        Promotion description.
      StartDate Optional (string)
        The date when you set the promotion to start. NULL for promotions that start immediately after you create them.
      EndDate Optional (string)
        The date when you set the promotion to end. NULL for promotions you want active indefinitely.
      MaximumOrdersNumber Optional (integer)
       

2Checkout only applies the promotion to a maximum number of orders you define.

 

Can be NULL if you want the promotion to apply to an unlimited number of orders.

      MaximumQuantity Optional (integer)
        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 of units.
      InstantDiscount Optional (boolean)
        The instant discount option auto-applies the discount for ALL selected products, without the need for shoppers to enter a discount coupon.
      Coupon Optional (string)
        Promotion coupon/voucher.
      DiscountLabel Optional (string)
        Discounts can be set as a percentage of the product price or as a fixed amount in the chosen currency.
      Enabled Optional (string)
        true or false, depending on whether a promotion is active or disabled. 
      Type Optional (string)
       
  • REGULAR – product/cart line-level discounts.
  • ORDER – quantity discounts.
  • GLOBAL – order-level discounts.
BillingDetails Required (Object)
  Details below. 
  Person Object
      Details below. 
    FirstName Required (string)
      Shopper name.
    LastName Required (string)
      Shopper surname.
    CountryCode Required (string)
      Shopper country. ISO 3166 two-letter code.
    State

Optional (string) – Required for US, Brazil, India and Romania

The state in the shopper's country. Mandatory when you set the Billing Country to US, Brazil, India and Romania. Use case insensitive utf8 strings for the full name, or just the two letter code.

     
    City Optional (string)
      Shopper city.
    Address1 Optional (string)
      Shopper address.
    Address2 Optional (string)
      Shopper address.
    Zip Optional (string)
      ZIP/ Postal code.
    Email Optional (string)
      Shopper email address.
    Phone Optional (string)
      Shopper phone number. Mandatory when you set Brazil as the Billing Country. Can be NULL.
    Company Optional (string)
      Company name. Can be null for end users. When present, you also need to provide the FiscalCode.
    TaxExemptionId  Optional (string)
      Tax Exempt Certification id used to deduct taxes for US orders
Example: 1b80eecc349v
  FiscalCode Optional (string) – Required for Brazil
   

• 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 setPaymentDetails. When present, you also need to provide the Company name.

• Mandatory when you set Brazil as the Billing Country. For Brazilian customers, it represents the Fiscal Code (CPF/CNPJ).

• Mandatory when you set India as Billing Country, and purchase is made by a Company.

• Can be NULL for end users.

DeliveryDetails Required (Object)
    Details below. 
  Person Object
    Details below. 
    FirstName Required (string)
      Shopper name from the delivery details.
    LastName Required (string)
      Shopper surname from the delivery details.
    CountryCode Optional (string)
      Shopper country. ISO 3166 two-letter code from the delivery details.
    State Optional (string) – Required for US, Brazil and Romania
      The state in the shopper's country from the delivery details. Mandatory when you set the Billing Country to the US, Brazil, and Romania. Use case insensitive utf8 strings for the full name, or just the two-letter code.
    City Optional (string)
      Shopper city from the delivery details.
    Address1 Optional (string)
      Shopper address from the delivery details.
    Address2 Optional (string)
      Shopper address from the delivery details.
    Zip Optional (string)
      ZIP/ Postal code from the delivery details.
    Email Optional (string)
      Shopper email address from the delivery details.
    Phone Optional (string)
      Shopper phone number from the delivery details. Mandatory when you set Brazil as the Billing Country. Can be NULL.
    Company Optional (string)
      Company name from the delivery details. Can be null for end users. When present, you also need to provide the FiscalCode.
PaymentDetails Required (Object)
  Adapt this object to the desired payment method.
  Type Required (string)
   

The payment method:

  • CC (credit/debit card - including local Brazilian cards).
  • ENCRYPTED_PAYMENT_DATA (client-side encryption)
  • PAYPAL
  • PAYPAL_EXPRESS
  • CCNOPCI(credit/debit card for non-PCI certified merchants).
  • TEST (for test orders).
  • PREVIOUS_ORDER(place new orders using the reference of a previous order).
  • EXISTING_PAYMENT_DATA  (use a card one of your customers already used to purchase from your account).
  • WIRE – the placeOrder response includes Wire payment details.
  • CHECK – the placeOrder response includes Check payment details.
  • WE_CHAT_PAY (for WeChat payments).
  • IDEAL (for iDEAL payments).
  • PURCHASEORDER - use for orders with POs.
  • FREE – for 0 value orders for which you’re not requiring customers to provide payment details.

 

  Currency Optional (string)
    The currency ISO code for the payment - ISO 4217. Example: “usd.”
  PaymentMethod Optional (object)
   

Object structure and parameters differ according to payment method selected and API method (placing orders (POST) vs. retrieving order data (GET)).

 

NULL for 0 value orders for which you’re not requiring customers to enter payment details.

  AutoRenewal Optional (boolean)
   

true – shopper checks the auto renewal checkbox and 2Checkout charges subscription renewals using a recurring billing process.

false – shopper doesn’t check the auto renewal checkbox.

      CardPayment Optional (object)
        Details below. 
        CardNumber Optional (string)
          The credit/debit card number.
        CardType Optional (string)
          visa, visaelectron, mastercard, maestro, amex, discover, dankort, cartebleue, jcb, hipercard, elo
        ExpirationYear Optional (string)
          The year in which the card expires.
        ExpirationMonth Optional (string)
          The month in which the card expires.
        HolderName Optional (string)
          Card holder name.
        CCID Optional (string)
          Credit Card Identification - an extra ID printed on the card, usually a 3-4 digit number, the CVC2/CVV2.
        HolderNameTime Optional (float)
         

The interval of time in seconds in which shoppers enter their name in the HolderName field. An abnormally short interval is usually a red flag for fraud attempts.

Can be NULL, but not a negative number.

        CardNumberTime Optional (float)
         

The interval of time in seconds in which shopper enter their card number in the CardNumber field. An abnormally short interval is usually a red flag for fraud attempts.

Can be NULL, but not a negative number.

        InstallmentsNumber  Optional (Int)
          Number of installments. Available only when customers un Brazil pay with Visa or MasterCard using Brazilian Real as the order currency. Use 1 or exclude the parameter for full payments. 
      PayPalExpress Optional (object)
        Details below. 
        Email Optional (string)
          Email address customers use for their PayPal account.
        ReturnURL Optional (string)
          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 (https://...) on your site.
        CancelURL Optional (string)
          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 (https://...) on your site from which you redirected the buyer to PayPal.
      PreviousOrder Optional (Object)
        Details below. 
        RefNo Optional (string)
         

Order reference a previous purchase which reached the Approved/Complete status. You can use order for which customers paid with credit/debit cards or with PayPal. The status of order should be AUTHRECEIVED or COMPLETE.

 

Check the validity of references with the isValidOrderReference method.

 

The 2Checkout system blocks you from using references for fraudulent or potentially fraudulent orders.

      PurchaseOrderPaymentDetails Optional (Object)
        Details below. 
        InternalPONumber Optional (string)
          Identifier that business customers use internally in their organization to track and manage Purchase Orders (PO). Can be NULL.
        AutoApprove Optional (boolean)
         

TRUE - requires activation of the PO AutoApprove package (If the package is inactive 2Checkout returns an error). Please contact 2Checkout. When AutoApprove is TRUE, 2Checkout no longer requires that business customers upload a PO document. As such, PO orders are automatically approved for your account, without a PO doc. 2Checkout sets the PURCHASE_PENDING status for auto-approved PO orders.

FALSE - Default. Send this if the PO AUtoApprove package is not available for your account. 2Checkout uses the same flow as cart purchases with Purchase Orders for business customers placing orders with POs via API. This means that customers receive the same emails as if they made the purchase using the cart and need to update the PO document, which is reviewed by 2Checkout and that you need to approve. 2Checkout sets the AVAITING_UPLOAD status for POs andUnfinished for their orders.

 

Can be NULL.

      WE_CHAT_PAY Optional (string)
        Details below
        ReturnUR Optional (string)
          The return URL is the page to which your customers are redirected after their successful payment.
        CancelURL Optional (string)
          The cancel URL is the page to which your customers are redirected after their failed payment attempt.
      IDEAL Optional (string)
        Details below
        ReturnURL Optional (string)
          The return URL is the page to which your customers are redirected after their successful payment.
        CancelURL Optional (string)
          The cancel URL is the page to which your customers are redirected after their failed payment attempt.
        BankCode Required (string)
          String contains the SWIFT code of the bank, the plus sign "+", and the first 3 characters from the bank name. E.q.: in the case of Rabobank, code parameter is "RABONL2U+RAB".
      EXISTING_PAYMENT_DATA Optional (Object)
        By using EXISTING_PAYMENT_DATA you no longer require shoppers to enter any payment details.
        TransientToken Optional (string)
          Returned as a part of the process of retrieving customer information by SSOToken.
  CustomerIP Required (string)
    Shopper IP.
Promotions Optional (Array of strings)
  Array of promotion codes.
AdditionalFields  
  Details below. 
  Code Optional (string)
    The alpha-numeric characters, underscores and dashes that are set as the field identifier.
  Text Optional (string)
    Field text visible to shoppers in the cart.
  Value Optional (string)
    Selected field value.
LocalTime Optional (string)
 

Local shopper time in the following format: Y-m-d H:i:s.

This parameter can impact the fraud score of an order when it's missing, NULL or incorrectly formatted.

GiftDetails Optional (object)
  Contains contact details for the recipient of a gift purchase.
  FirstName Optional (string)
    First name of gift recipient.
  LastName Optional (string)
    Last name of gift recipient.
  Email Optional (string)
    Email of gift recipient. 2Checkout uses this email for the delivery/fulfillment process.
  GiftNote Optional (string)
    Custom text shoppers provide as a message to the gift recipient.

 

 

Overview

Use the 2Checkout Channel Manager API to manage partner and reseller orders.

Availability

The partner API methods are available only in tandem with the Channel Manager module.

Requirements

Contact 2Checkout to start using the Channel manager API.

 

Shopping cart best practices

When it comes to shopping cart implementation and design, bringing into play a collection of best practices and minding a set of critical factors can facilitate a successful strategy designed to boost sales effectiveness and volume, increase revenue and drive customer loyalty.

It's easy to see how control over the look and feel of the cart in concert with the purchase flow process needs to be considered a key aspect of optimizing the shopping experience, especially in scenarios in which services are outsourced to an eCommerce platform provider.

Still looking for the perfect template for your business?

shoppingcartbestpractices.png

Workflow

  1. Use the following URL: https://api.avangate.com/channel-manager/2.1/rpc/
  2. Authenticate using the login method and create a session (connection).
  3. Set partner
  4. Throughout the lifetime of the session (max 10 minutes), you can invoke all 2Checkout API methods. To invoke methods you need to send a request to 2Checkout. Read more on the request object below.
  5. The 2Checkout system provides responses to all requests. Read more on the response object below.

Response

Whenever you call an API method, 2Checkout replies with a response. The response is a single object serialized using JSON.

There are two types of response, with the properties detailed below.

Valid response

{
"id" : <int identifier>,
"jsonrpc" : 2.0,
"response" : {<return object>}
}
Valid response object
Properties Type/Description
jsonrpc Required (string)
  JSON-RPC protocol version. Must be 2.0.
id Required (int)
  Mandatory identifier that you control, used to identify the request and the response. Use only integer values.
response Required (object)
  Provided on success (is not included if there was an error invoking the method). Actual value depends on the method invoked.

Invalid response

{
"id" : <int identifier>,
"jsonrpc" : 2.0,
"error" : { "code" : <int error code>, "message" : "<error message>"}
}
Invalid response object
Properties Type/Description
jsonrpc Required (string)
  JSON-RPC protocol version. Must be 2.0.
id Required (int)
  Mandatory identifier that you control, used to identify the request and the response. Use only integer values.
error Required (object)
 

Code - Integer identifying the error.

Message - Error description (string).

Request

Calling API methods involves sending an API request to Avangate. The request object is detailed below. 

{ 
"jsonrpc" : 2.0, 
"id" : <int identifier>, 
"method" : "<methodName>", 
"params" : [<parameters array>] 
}
Request object
Properties Type/Description
jsonrpc Required (string)
  JSON-RPC protocol version. Must be 2.0.
id Required (int)
  Mandatory identifier that you control, used to identify the request and the response. Use only integer values.
method Required (string)
  The name of the method invoked. Case sensitive.
params Optional (object)
 

An object/structure containing the parameters valid for invoking the method used.

 

Parameters structure:

 

Parameters included into the RPC call need to be provided by-position using an Array. (structured value)

 

by-position: include all parameters into an Array. The values must be in order expected by Avangate.

 

At this point we don't support by-name parameters.

 

Upsell

Overview

The object includes information related to the upsell campaigns, including product information and discount settings.

UpSell Object

The object below is returned as a successful response for the following JSON-RPC API 6.0 methods:

Parameters Type Description

Name

String

Name of campaign, max 500 characters.

Code

String

Unique system-generated campaign code.

StartDate

String

The date when the up-sell campaign starts, in the YYYY-MM-DD format. Can be NULL.

EndDate

String

The date when the up-sell campaign ends, in the YYYY-MM-DD format. Can be NULL.

DisplayForManualRenewals

Boolean

Flag to control if the campaign will be displayed for manual subscription renewal orders. Can be set as true/false.

Discount

Object

Discount definition object, details below.

      Type

String

Type of discount. Can be FIXED or PERCENT.

      Value

Integer

Percentage discount value (PERCENT discount only).

      Values

Array of objects

List of currency discounts (FIXED discount only), details below:

            Currency

String

Code of currency for the related amount.

            Amount

Integer

Discount amount value for the related currency.

      DefaultCurrency

String

Code of default currency (FIXED discount only).

PrimaryProduct

Object

Main (primary) product object, details below:

      Code

String

The code of the product that the recommendation is made for.

      Quantity

Integer

The quantity for the primary product. Can be 0 (standing for any quantity).

      PriceOptions

Array of objects

Price options list for the primary product, details below:

            Code

String

Price option group code.

            Options

Array of objects

Price options list, details below:

                  Code

String

Price option code.

                  Value

Integer

Price option value (for scale interval price option group only).

RecommendedProduct

Object

Recommended product object, details below:

      Code

String

The code of the recommended product.

      Quantity

Integer

The quantity for the recommended product. Can be 0 (standing for “match quantity” setting).

      PriceOptions

Array of objects

Price options list for the recommended product, details below:

            Code

String

Price option group code.

            Options

Array of objects

Price options list, details below:

                Code

String

Price option code.

                Value

Integer

Price option value (for scale interval price option group only).

Enabled

Boolean

Sets the campaign enabled or disabled. Can be set as true/false.

Description

Array of objects

List of campaign language descriptions, details below:

      Language

String

Code of the language.

      Text

String

The text of the description in the associated language.

 

Chargeback fees

Overview

For every open dispute, 2Checkout applies a fee, set in your account's default currency. Chargeback rates formula:

Chargeback rate = no. of opened chargebacks (regardless of their current status) in the selected chargeback interval divided by the number of transactions in the same period.

Fixed chargeback fees for each chargeback

This case implies a fixed fee in a single currency for each open dispute.

Threshold-based chargeback fees

This case implies fees with variable values depending on the chargeback rate of your account. 2Checkout agrees on certain chargeback rate thresholds together with you and applies the fees accordingly. Thresholds and chargeback fees may vary for each account. You can see the thresholds applied to your account on the Chargeback reports page.

For example:

  • If your chargeback rate is less than 1%, the chargeback fee is $15/EUR/GBP.
  • If your chargeback rate is between 1% and 2%, the chargeback fee is $20/EUR/GBP.
  • If your chargeback rate is higher than 2%, the chargeback fee is $45/EUR/GBP.

The chargeback rate used as a threshold is the one from the end of the previous month.

Where can I see my chargeback fees?

You can see the 2Checkout fees for your chargebacks in multiple areas throughout the 2Checkout platform:

Accounting report

  1. In the Total chargeback fee column in the email's body.
  2. In the 2Checkout orders with chargeback fees balance.csv report attached to the email.

Control panel

  1. On the 2Checkout dashboard, in the Chargeback Fees field of the Account balance section.
  2. In the Revenue Split report, on the Chargeback Fees field.
  3. In the Account Balance report on the Chargeback Fees column.

Increase AOV, first steps

To grow the average dollar amount that customers spend when placing orders, you can rely tried and tested strategies that favor working smarter rather than harder. To boost your Average Order Value (AOV), you can:

  1. Offer a Discount at a Threshold. Knowing that people are usually drawn to offers, you can increase your AOV by offering a discount for a minimum order amount. 

  2. Market to repeat customers. It is always easier and cheaper to keep an existing customer than to locate a new one. 
  3. Test, test and test. Base your business decision on actionable data that you can extract from A/B testing. 

Follow the path we set up for you to grow your AOV with the tools at your disposal in your 2Checkout account. 

 

 

Adding new partners

Overview

You can add partners in two ways:

  • Via the partner sign-up form
  • Adding them manually

Partner sign-up form

Interested parties can join your partnership programs by filling the sign-up form and choosing the program they are interested in joining.

Follow the steps below to generate a partner sign-up form link.

  1. Go to Setup -> Generate links.
  2. Go to the Partner Links tab.
  3. Select the template that you want the form to use.
  4. Select the Sign-up page type.
  5. Add the generated link to your website.

Once an interested party requests a partnership, you can approve, reject or delete their request from the Control Panel.

  • If you confirm the request, 2Checkout sends an email to the partner, informing him/her of the request approval. You can see the new partner in the list of partners.
  • If you delete the partner, 2Checkout doesn't send any email. The deleted partner/request is not displayed anywhere.
  • If you reject the request, 2Checkout informs the partner via email about the rejection. You can still see the partner in the partner list with the status Rejected.

Partnership status

Partnership requests can have one of the following statuses.

  • Active = Partner account approved and active
  • Inactive = Partner account approved but deactivated by you
  • Rejects = Partnership request rejected
  • Pending = Partnership request under evaluation

Adding partners manually

If none of your partnership programs are published in the form, you can assign partners manually to a partnership program or create individual settings for them.

Follow the steps below to manually add a partner to a partnership program.

  1. Login to the 2Checkout Merchant Control Panel.
  2. Go to Partner management -> Partners.
  3. Click Add partner.
  4. Fill in the partner details.
  5. Click Save partner.
  6. After filling this section, the partner is saved as Inactive. You need to fill in the Commercial settings and Financial details sections before partner activation.

Commercial settings

Payment methods

Select the business model that you want the partner to use:

  • Reseller - payments to 2Checkout as a master reseller. 2Checkout handles all aspects regarding payment, money collection, invoicing and delivery of the subscription/activation keys.
    • Characteristics:
      • 2Checkout details are present on the Partner Invoices.
      • Multiple payment options are available, depending on the order currency (Visa/MasterCard/Eurocard; Bank/Wire transfer).
      • Payments Risk Management handled by 2Checkout.
      • Automatic shopper invoices sent by 2Checkout to your partners.
  • Direct - partners pay directly through our pflatform.
    • Characteristics
      • Your company details are present on the Partner Invoice.
      • Direct payments to your accounts via Bank/Wire transfer.
      • Shopper invoices are handled by your company.

When selecting the transactional currency, the available payment methods will be displayed.

Partnership settings

You can configure partnerships to use two types of settings:

  • Create individual settings. Useful if you want to create unique settings per partner and avoid applying the settings of a partnership program.
  • Add to existing partnership programs. Useful if you want to apply settings previously defined in the partnership program.
  • Assigning a price list. Use price lists to:
    • Define a price in different currencies and assign them to regional partners;
    • Limit a partner access to a certain number of products;
    • Define special prices per product /different currencies;
  • Partner geographic coverage. Depending on the partner geographic focus, you can select the countries where your partner is allowed to sell.
  • Account manager. Select the person responsible of the partner relationship. You can also select a backup account manager. The account managers have access only to data regarding their partners if the standard use role is assigned to them.

Financial details

Fill in the Financial details. Mandatory fields:

  • Company registration name. The legal name of the company;
  • Company registration number. The legal identifier of the company;
  • Address, City & Country. The legal address.

Partner invoice settings

Decide when to generate partner invoices:

  • Manually - you will have to manually create Partner Invoices to receive payments for orders;
  • Automatically after each order;
  • On a specific day of the month.

You can still generate partner invoices manually even if they are set to be generated automatically after each order or on a specific day of the month. 

  • Allow this partner to generate partner invoices. Through this setting the partner can generate partner invoices. By granting partners access to this feature, they can group orders in a single partner invoice.

Users

Add and manage partner account users. Use the drop-down menu to grant user management rights to the partner. Additionally, you can add or configure user roles.

Partner discounts

Overview

You can change a number of parameters impacting specific orders incentivizing your partners. 

Partners can request the revision of discount and margin values through comments. But you can also take it upon yourself to also change the data when placing orders on behalf of your partners. 

Opportunity registration

The edit order functionality offers Opportunity Registration capabilities, enabling partners to place orders that function as opportunity registration equivalents. Partners can indicate that they're in fact registering an opportunity while placing an order by leveraging the comments field to ensure you are aware of the support they require and financial consideration needed. You can easily view such partner requests, and update order details to accommodate demands. 

  1. To edit the discount details of a partner order you need to select Order search in the left hand side pane of the Control Panel, Click on Partner orders and filter existing items to show only those with the Pending approval status. You can always also just search for a partner order, if you have specific details on hand.
  2. Once you identified the order you'd like to refresh, click View and then Edit Order.
  3. Take advantage of this feature to modify details such as the DiscountExtra margin, and Total Price, offering your partners better deals than available by default. Altering any of the values mentioned above will automatically cause the others to adapt and reflect the change introduced.

Use cases

  1. In case the partner invoice was not issued, you can go ahead and alter the discount values as you see fit. When the partner is generated, it will contain only the final, updated details of the order. Partner invoices are issued on-demand either by you, when the Partner invoices settings are configured to generate partner invoices manually for one or more orders at once, or by your partners when the Allow this partner to generate partner invoices option is enabled, but only if you defined a Credit limit in both cases. You also have the option of automating the issuing of partner invoices, generating them automatically on a specific day of the month.
  2. In case the partner invoice was already issued but not paid, you will need to cancel the existing partner ahead of anything else, and subsequently to delete it if it has become irrelevant. Only then will you be able to make the necessary changes to the order. Once all modifications are in place, the partner can be reissued. Partner invoices are issued in tandem with orders for those partner accounts with Partner invoice settings configured to generate them automatically for each order. Partner accounts for which you set no Credit limit will create partner invoices automatically with each order, regardless of the Partner invoice settings for that specific partner. 

Limitation

  • In the eventuality in which an issued partner was already paid, the Edit Order feature is no longer available. You should consider refunding your partner the amount that would have been provided through an increased discount. Partners will receive email notifications of the changes you operate to orders, with messages being issued for each edit. At the same time, the Partner Control Panel will reflect the update in the Order Comments area. 
  • Options such as quantity and the products in a specific order cannot be changed using the Edit Discounts feature.

Promotions

Overview

Use the Promotion object to create/update and update information on discounts/promotions you set up for your account.

Parameters

Parameters Type/Description

Promotion

Object

 

Name

String  / Required

 

 

Promotion name

 

Description

String  / Optional

 

 

Promotion description

 

StartDate

String  / Optional

 

 

Starting date. The date when you set the promotion to start. Is NULL for promotions that start immediately after they're created.

Format: Y-m-d

 

EndDate

String  / Optional

 

 

Ending date. The date when you set the promotion to end. Is NULL for promotions that you want active indefinitely.

Format: Y-m-d

 

MaximumOrdersNumber

Integer / Optional

 

 

2Checkout stops offering the discount when the promotion reaches the maximum number of orders. Can be NULL if you want the promotion to apply to an unlimited number of orders.

 

MaximumQuantity

Integer / Optional

 

 

Discount only applies to a specific number of products, smaller than the maximum quantity you defined. Can be NULL if you want the promotion to apply to an unlimited number of units. Any extra quantity added to the cart will be sold at full price.

 

InstantDiscount

Boolean / Optional

 

 

Selecting the instant discount option will auto-apply the discount for ALL the selected products for all shoppers, without the need to enter the discount coupon.

Coupon

Object / Required

 

Type

String  

 

 

  • SINGLE = one coupon code-shared by all shoppers
  • MULTIPLE = array of unique coupon codes, each designed for individual use

 

Code/Codes

Array of strings 

 

 

Varies according to type. Send:

  • Code = 'single_code'; when Type = 'SINGLE';
  • Codes = ['code1', 'code2']; when Type = 'MULTIPLE';

Enabled

Bolean / Optional

 

Possible values:

  • TRUE - promotion is active.
  • FALSE - promotion is inactive

ChannelType

String / Required

 

Possible values:

  • ECOMMERCE
  • CHANNEL_MANAGER
  • ALL

Type

String / Required

 

Possible values:

  • REGULAR
  • GLOBAL
  • SPECIAL_PRICE (use in combination with PriceMatrix and DefaultCurrency)
DefaultCurrency String/Required
  Required for SPECIAL_PRICE promotions, represents the default currency of the promotion.
PriceMatrix Array of objects (only for SPECIAL_PRICE type of promotion)/Required
  Is generated by the getPriceMatrix call and used to set promotion special prices.

ProductCode

String
  Code of the product that is used by promotion.

PricingConfigurationCode

String
  Code of pricing configuration used by promotion; must be related to the product.

OptionHash

String
  Unique identifier of one combination of price configuration options.

Options

Array of objects/Optional
  Describes price configuration options identified by OptionHash.

GroupName

String

OptionText

String

Prices

Array of objects/Required
  Promotion prices by currency; the price for default currency is required.

Value

Int/Required
  Decimal

Currency

String
  ISO code

Discount

Object / Required

 

Type

String 

 

 

Discount type:

  • PERCENT, use in combination with Value
  • FIXED, use in combination with Values and DefaultCurrency

 

Value / Values

Array of objects

 

 

  • Value = Int, determines the discount percentage from 0 to 100
  • Values = Array of Value objects

 

 

Value

Object 

 

 

         Currency

String 

 

 

 

 

ISO currency code

 

 

          Amount

Integer 

 

 

 

 

Discount amount in corresponding currency.

 

DefaultCurrency

String 

 

 

ISO code

Products

Object/ Optional

 

Code

Integer/ Optional

 

 

Unique product code that you control.

 

PricingConfigurationCode

String / Optional

 

 

Unique system generated pricing configuration code.

 

PricingOptionCodes

Array of strings / Optional

 

 

Array of pricing option codes controlled by you.

PriceThreshold

Object / Optional

 

Limits discount use only when total order value (taxes included) exceeds the threshold you configure.

 

Amount

Decimal / Optional

 

 

The minimum threshold you defined for the default currency.

 

Currency

String / Optional

 

 

Currency code available for the default currency of custom threshold settings.

Translations

Array of objects / Optional

 

PromotionTranslation

Object / Optional

 

 

Name

String / Optional

 

 

 

Localized name corresponding to translated language.

Name: Le product

Language: FR

 

 

Language

String / Optional

 

 

 

Language for localization.

Sources

StringArray / Optional

 

Array of strings defining the sale source through the SRC parameter.

PublishToAffiliatesNetwork

Integer / Optional

 

1 - make promotion available in the Affiliates Network

0 - keep promotion unavailable for the Affiliates Network

ApplyRecurring

String / Required

 

Choose whether to apply the discount to renewal orders. Possible values:

  • NONE
  • ALL
  • CUSTOM

RecurringChargesNumber

Integer / Optional

 

If ApplyRecurring is set to CUSTOM, you can offer discounts for a number of recurring billing charges beyond the initial purchase.

 

 

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo