Transaction
Transaction: Void
- Node
gateway.transaction.void("theTransactionId", (err, result) => {
});
- Node
if (result.success) {
// transaction successfully voided
} else {
// check errors
console.log(result.message);
}
Arguments
transactionId
required, StringThe unique transaction identifier. You can only void transactions that have a of:
- authorized
- submitted_for_settlement
- settlement_pending (only for certain PayPal transactions)