Delete a Paycode

Paycode can be deleted at any time, because it is not directly related to other objects.

The worst it can happen is that your customer cannot pay using the deleted Paycode, in which case you can just create a new one and resend it.

DeleteResult result = gateway.paycode().delete("paycode-uid");

Result

DeleteResult object is returned, indicating the status of the delete operation.