See also the
Braintree_Transaction response object.
Cloning a transaction will create a new transaction by copying all the attributes, except amount, of the original transaction. Instead of cloning transactions, a better practice in most cases is to use the Vault to save and reuse payment method or customer information.
$result = Braintree_Transaction::cloneTransaction("transactionId", [ 'amount' => '10.00', 'options' => [ 'submitForSettlement' => true ] ]);
If the transaction cannot be found, you'll receive a
The amount of the cloned transaction. This value must be greater than 0, and must match the appropriate currency format.