QM Developer Docs
Getting Started

Message Signing

The signature of a message is a string that is generated by signing the message with your Secret Key. The signature is used to verify that the message is sent by you.

Signature Generation

The signature is generated from your request body and your Secret Key. The following shows the steps to generate the signature:

  1. Concatenate the request body and your Secret Key.
  2. Calculate the MD5 hash of the concatenated string.
Sign: MD5(RequestBody + SecretKey)

Example

The following is an example of a valid Sign header value.

Secret Key

5f4dcc3b5aa765d61d8327deb882cf99

Request Body

{
  "amount": 100
}

Resulting Sign value

e5c8d5c5f4c06e5850897c93a99d7ceb

© 2023-2024 Quantum Metal Sdn Bhd