Language

2Checkout Documentation

CompanyInfo

The .NET library provides the AccountService class to pull company,contact and payment information for your account.

Method

CompanyInfo

Use to retrieve company information from your 2Checkout Site Management page.

Arguments

  • none

Returns

Returns a Company object.

Example Usage:

var ServiceObject = new AccountService();
var result = ServiceObject.CompanyInfo();

Example Response:

{TwoCheckout.Company}
  affiliate_url: null
  currency_code: "USD"
  currency_name: "US Dollars"
  currency_symbol: "$"
  demo: "P"
  pending_return_url: null
  return_method: 0
  return_url: "http://localhost:51393/Orders/Return"
  secret_word: "tango"
  site_category: "Other"
  site_description: null
  site_title: null
  soft_descriptor: "Developer"
  url: "http://localhost/"
  vendor_id: 1817037
  vendor_name: "Library Test Account"