Language

2Checkout Documentation

Reauth

The SaleService class provides methods to retrieve and update sales.

Method

Reauth

Use to mark a reauth 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."