Why do I get "Merchant Authorization Failed"?

Why do I get "Merchant Authorization Failed"?

As per our Errors and Causes table, the signature is incorrect. Please note that the API signature is generated from the MD5 hash of the alphabetised submitted header and body variables, along with the passphrase.

Ensure that you include the correct merchant-id, version, timestamp and passphrase when generating the signature.