Skip to content

Contact_Retrieve

Jacob McConnell edited this page Jun 6, 2014 · 2 revisions

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

##Methods

###ContactInfo

Use to retrieve contact information from your 2Checkout Contact Information page.

####Arguments

  • none

####Returns

Returns a Contact object.

####Example Usage:

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

####Example Response:

{TwoCheckout.Contact}
  customer_service_email: "[email protected]"
  customer_service_phone: "6149212450"
  customer_service_phone_ext: "0"
  mailing_address_1: "​855 Grandview Avenue"
  mailing_address_2: "​855 Grandview Avenue"
  mailing_address_id: "4774374395"
  mailing_city: "Columbus"
  mailing_country_code: "USA"
  mailing_postal_code: "43215"
  mailing_state: "OH"
  office_email: "[email protected]"
  office_phone: "6149212450"
  office_phone_ext: "0"
  physical_address_1: "​855 Grandview Avenue"
  physical_address_2: "​855 Grandview Avenue"
  physical_address_id: "4774374398"
  physical_city: "Columbus"
  physical_country_code: "USA"
  physical_postal_code: "43215"
  physical_state: "OH"
  vendor_id: 1817037

Clone this wiki locally