please see How to find Merchant No. Page.
If you are using SDK, there is sample included in each SDK package. If you are using API, please ask in the support channel and we will be happy to provide.
Please raise your question in the support channel. We will be happy to hear from you.
The sign field is generated using RSA signature algorithm, Please read Signature Algorithm for detail.