Skip to content

Sale_Reauth

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

The SaleService class provides methods to retrieve and update sales.

##Method

###Reauth

Use to reauthorize a sale.

####Arguments

  • TwoCheckoutConfig - Set your ApiUsername and ApiPassword.
  • SaleReauthServiceOptions Object containing a 'sale_id'

####Returns

Returns a TwocheckoutResponse object.

####Example Usage:

var ArgsObject = new SaleReauthServiceOptions();
ArgsObject.sale_id = sale_id;

var result = ServiceObject.Reauth(ArgsObject);

####Example Response:

{TwoCheckout.TwoCheckoutResponse}
  response_code: "OK"
  response_message: "Payment reauthorized."
Clone this wiki locally