ReAuthorize Method
Reauthorize the transaction.
Syntax
reauthcapture.reAuthorize(authorizationId, newAmount, [callback])
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for this method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
Use the ReAuthorize method to check the availability of a PayPal member's funds to make a payment higher than you originally authorized, up to 115% of the originally authorized amount (not to exceed an increase of $75 USD) and up to $10,000 USD. Simply supply the original transaction Id in the AuthorizationId parameter, and the new amount you wish to authorize in the NewAmount parameter.
NOTE: The ReAuthorize method will only return successfully after the initial 3-day authorization period has ended. It will fail if you attempt to re authorize a transaction before this period is up.
You can call ReAuthorize as many times as necessary to obtain one successful reauthorization. When this method returns successfully the three-day authorization period is reset, and you cannot reauthorize the transaction..