-
Notifications
You must be signed in to change notification settings - Fork 17
Company_Retrieve
Craig Christenson edited this page Oct 26, 2012
·
1 revision
You must specify your API username and password using the twocheckout.Api.credentials
method before calling a method in this class.
##Methods
###retrieve
Use to retrieve company information from your 2Checkout Site Management page.
####Arguments
- none
####Returns
Returns a Python object.
####Example Usage:
twocheckout.Api.credentials({'username':'APIuser1817037', 'password':'APIpass1817037'})
result = twocheckout.Company.retrieve()
print result
####Example Response:
{
'affiliate_url': None,
'currency_code': 'USD',
'currency_name': 'US Dollars',
'currency_symbol': '$',
'demo': 'P',
'pending_return_url': None,
'return_method': '0',
'return_url': 'http://localhost:51393/Orders/Return',
'secret_word': 'tango',
'site_category': 'Other',
'site_description': '',
'site_title': '',
'soft_descriptor': 'D1817037',
'url': 'http://localhost/',
'vendor_id': '1817037',
'vendor_name': 'Library Test Account'
}
Please feel free to contact 2Checkout directly for assistance with your integration.