Will it be a issue if i mail just the 1040x form to IRS without check and make a online payment for the tax dues.

can i mentioned somewhere in the form that i am making a online payment(both federal and state). is the online payment applicable to both federal and state(i am from MA)