You must specify your API username and password using the twocheckout.Api.credentials method before calling a method in this class.
Use to return the number of active recurring lineitems.
Returns result as Python object.
twocheckout.Api.credentials({'username':'APIuser1817037', 'password':'APIpass1817037'}) params = { 'sale_id': 4834917619 } sale = twocheckout.Sale.find(params) result = sale.active() print result
{ 'response_code': 'ACTIVE', 'response_message': '3 active recurring lineitems' }