It's called a letter of intent to pay:

How to Write a Letter of Intent (with Sample Letters)