Paying for birth...

H

When it comes to delivery I have a copay. When do I pay for that? Before I deliver, before I leave the hospital, or do they just bill you?