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