Transaction
Transaction: Clone Transaction
Important
You must include an amount and an option flag to submit the transaction for settlement.
- C#
var request = new TransactionCloneRequest {
Amount = 10.00M,
Options = new TransactionOptionsCloneRequest {
SubmitForSettlement = true
}
};
Result<transaction> result = gateway.Transaction.CloneTransaction("TransactionId", request);
NotFoundException
.
Arguments
TransactionId
required, stringThe unique transaction identifier. You can only clone non-PayPal transactions that have a status of
authorized
, authorization_expired
, voided
, submitted_for_settlement
, or settled
. Processor declined, gateway rejected, and failed transactions can't be cloned.Additional Parameters
Amount
DecimalThe amount of the cloned transaction. This value must be greater than 0, and must match the appropriate currency format.
Values passed with a request.
Whether to submit the transaction for settlement once authorization succeeds.