Skip to content

Sale_Reauth

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.

##Method

###reauth

Use to reauth a sale.

####Arguments

  • None
  • Must be called on a sale instance.

####Returns

Returns a Python object.

####Example Usage:

params = {
    'sale_id': 4834917619,
    }
sale = twocheckout.Sale.find(params)

result = sale.reauth()

print result

####Example Response:

{
   'response_code': 'OK',
   'response_message': 'Payment reauthorized.'
}
Clone this wiki locally