Interface Description:
  • to get deposit and withdrawal records
request URL:
  • https://apiv2.bitz.com/Trade/depositOrwithdraw
Request Mode:
  • POST
Parameters:
Parameter Required Type Description
apiKey true string ApiKey requested by the user
timeStamp true string Current timestamp
nonce true string Random 6-character string
sign true string signature of the requested parameter
coin true string coin name
type true integer 1:deposit,2:withdrawal
page false integer current page
pageSize false integer record per page maximum 100
startTime false string start timestamp
endTime false string end timestamp
How to sign for required parameter:**

All parameters submitted by users except sign require signature.

First, sort signature strings in alphabetical order based on parameters (compare the first letter of all parameter, if they differ, then the string whose first letter comes earlier in the alphabet comes before the other string. If the first letters are the same, then the second letters are compared, and so on).

For example:Sign for the following parameter**

apiKey=376892265asdad5d12726d8bbfbd8912b3&timeStamp=1510235730&nonce=309127&coin=eos&&type=1&page=1&pageSize=10&startTime=1510235730&endTime=1510237730and add application secretKey (only needs value, parameter and ‘&” is not required.)

Example:secretKey=aQmE8U7bxj16KdJcSd3yX8F8Sakd8aO6LopnHXh27d4kWyb28PxcaTvGrajLDvAw

Signature string after splicing: apiKey=376892265asdad5d12726d8bbfbd8912b3&timeStamp=1510235730&nonce=309127&coin=eos&type=1&page=1&pageSize=10&startTime=1510235730&endTime=1510237730aQmE8U7bxj16KdJcSd3yX8F8Sakd8aO6LopnHXh27d4kWyb28PxcaTvGrajLDvAw

Note,"sign" is a required parameter.

Last,use md5 32bit algorithm to apply signature algorithm to the parameter, and then generate final signature string (the string assigns value to parameter ‘sign’).

Example of Return Result:
{
    "status":200,
    "msg":"",
    "data":{
        "data":[
            {
                "id":"397574",
                "uid":"2033056",
                "wallet":"1AG1gZvQAYu3WBvgg7p4BMMghQD2gE693k",
                "txid":"",
                "confirm":"0",
                "number":"1000.00000000",
                "status":1,
                "updated":"0",
                "addressUrl":"http://omniexplorer.info/lookupadd.aspx?address=",
                "txidUrl":"http://omniexplorer.info/lookuptx.aspx?txid=",
                "description":"Tether",
                "coin":"usdt",
                "memo":""
            },
            {
                "id":"153606",
                "uid":"2033056",
                "wallet":"1AG1gZvQAYu3WBvgg7p4BMMghQD2gE693k",
                "txid":"aa2b179f84cd6dedafd41845e0fbf7f01e14c0d71ea3140d03d6f5a9ccd93199",
                "confirm":"0",
                "number":"761.11110000",
                "status":4,
                "updated":"1536726133579",
                "addressUrl":"http://omniexplorer.info/lookupadd.aspx?address=",
                "txidUrl":"http://omniexplorer.info/lookuptx.aspx?txid=",
                "description":"Tether",
                "coin":"usdt",
                "memo":""
            }
        ],
        "pageInfo":{
            "limit":"10",
            "offest":"0",
            "current_page":1,
            "page_size":10,
            "total_count":2,
            "page_count":1
        }
    },
    "time":1552642133,
    "microtime":"0.45690800 1552642133",
    "source":"api"
}

results matching ""

    No results matching ""