Delete customer

Customer can be deleted only if it was not used to make any transactions. When Customer is deleted, all the associated objects are deleted as well (Address, CrediCard, BankAccount and so on).

DeleteResult result = gateway.customer().delete("customer_uid");

Result

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