Deductions & credits

You can get an automatic extension when you make a payment with Direct Pay, the Electronic Federal Tax Payment System or by debit or credit card. When paying electronically, you must select Form 4868 as the payment type and the payment date to get the automatic extension.

 

https://www.irs.gov/pub/irs-utl/oc-electronic-payment-and-automatic-extension.pdf