Transaction: Void
- Python
result = gateway.transaction.void("the_transaction_id")- Python
if result.is_success:
# transaction successfully voided
else:
p result.errors.deep_errorsArguments
transaction_idrequired, strThe unique transaction identifier. You can only void transactions that have a of:
- authorized
- submitted_for_settlement
- settlement_pending (only for certain PayPal transactions)