Documentation Home
Merchant ID
Your Merchant ID can be found on the Profile page when logged into the Nekbit Exchange portal. Your Merchant ID was automatically generated when your account was created and is unique to you. The Merchant ID is required for all API Services.
API Key
Your API Key must be generated by you. You can add an API Key on the Profile page. You can click the Generate button to have a key generated for you. The API Key is required for all API services.
Hash Value
All API services require a Hash Value to be provided in your post fields. The Hash Value is a result of hashing your arguments with your API Key. The Hash Value is expected to be generated using the MD5 algorithm and it should be the final argument in the post fields.
In this example we have a user whose API key is sabsHo7fnLhth51YUp7y1qtzEHgdSsJh. The initial post fields to query the Quote API service would look something like this:
merchant_id=B4FFFAE5-2618-4C2B-A8A0-1A62421CF227¤cy_code=cad&cryptocurrency_code=btc&mode=sell
The Hash Value is generated by running a hash of the postfields plus the API Key. In this example the string to be hashed would look like this:
merchant_id=B4FFFAE5-2618-4C2B-A8A0-1A62421CF227¤cy_code=cad&cryptocurrency_code=btc&mode=sellsabsHo7fnLhth51YUp7y1qtzEHgdSsJh
The Hash Value should be submitted to the API as part of the argument list. Below is what the final result would look like:
merchant_id=B4FFFAE5-2618-4C2B-A8A0-1A62421CF227¤cy_code=cad&cryptocurrency_code=btc&mode=sell&hash_value=3445618e7fcc5d9673b9d4db89544a2f
API Services
The system supports a variety of API services that can be queried by sellers and buyers. You can learn about the different services using the following links:
Postbacks
The system also supports postback urls which you can define on the Account Settings page. If defined, the system will send postback responses to the url you provided whenever the appropriate events are triggered. You can learn more about the different postbacks by using the following links: