Language

2Checkout Documentation

Reauth

You must specify your API username and password using the Twocheckout.apiusername & Twocheckout.apipassword class variables before calling a method in this class.

Method

reauth

Use to reauth a sale.

Arguments

  • None

Returns

Returns a TwocheckoutResponse object.

Example Usage:

Sale sale = TwocheckoutSale.retrieve("4831096515");
TwocheckoutResponse result = sale.reauth();

Example Response (toJson):

{
   "response_code" : "OK",
   "response_message" : "Payment reauthorized."
}