Timing of maternity leave benefits

My wife is expecting our first baby in about 10 weeks. I've been trying to wrap my head around how the maternity leave benefits work, but I feel like what I've read online or been told by ChatGPT is sometimes contradictory, so I'd like to hear from someone who has recently been through the process, especially on the timing of the government payments.

If you stopped working a month before your due date, when did you receive your first payment? I've read that it's something like 2 months after the baby is born, but I've also read that pre-maternity leave and maternity leave and childcare leave are all different things. Any light you can shed on the process is greatly appreciated!

by OrionDax