Search docs

Are you looking for test card numbers?

Would you like to contact support?

Start searching Adyen's documentation...

  Documentation

Cancel a transaction

Class

Name Description
MerchantPed Extends AdyenPed. Class used to implement all PIN entry device (PED) functionality.

Method

Name Description
cancelTender Issues a cancel tender request from the PED for a transaction that is currently being processed.

Parameters

Name Type Required Description
ped String -white_check_mark- Instance of MerchantPed. Represents the PED on which the tender will be executed.
terminalIdOfTender String -white_check_mark- Identifier for the terminal that is processing the tender.
tenderReference String -white_check_mark- Reference for the tender.