The margin requirement for a short vertical spread is the difference in strikes less the premium received.
What exactly do you think margin is? It's the SMA in your account from cash or marginable securities.Not really margin - it would be cash in your account.

- You can't trade options on margin.