Is there a way to cancel a cash-in code?

 Yes, just click on “Cancel top-up request” to create a new one.