You cannot delete pending transactions. PhonePe allows you only to delete completed transactions. The pending transaction will be canceled automatically or goes through successfully.