API's for the diamond industry

Transaction API - Account Info

Overview: This API will give your possible delivery addresses, branches.

Input Parameters

Note: you must use a valid Api Key that provides access to this service.
Parameter Details Format Mandatory
api_key Your API key, for example "HNNSSA1223311" String Yes
api_secret Your API secret, for example "DDccdaaedf123" String Yes

Sample Request

HTTP JSON
Endpoint: https://api.idexonline.com/transactionapi/api/v3.0/accountinfo
{
	"authentication_details":{
		"api_key":"HNNSSA1223311",
		"api_secret":"DDccdaaedf123"
	}
}

Sample Success Response

JSON Data
If all goes well, the HTTP code will be 200 and the JSON will contain a "response_code" with value 0
{
    "result_info": {
        "response_code": 0,
        "response_description": ""
    },
    "results": {
        "account_number": 12345,
        "branches": [
            {
                "branch_id": 12345,
                "company": "Your Branch Name",
                "address": "Emekachu 44",
                "city": "Milano",
                "country": "Italy"
            },
            {
                "branch_id": 6789,
                "company": "Your Other Branch",
                "address": "Macaustreet 12",
                "city": "London",
                "country": "United Kingdom"
            }
        ]
    }
}

Sample Error Response

JSON Data
In case of an exception, either the HTTP code will be 500 or the error message will be displayed in this format:
{
    "result_info": {
        "response_code": 32110,
        "response_description": "A description of the exception."
    }
}

Error Codes

Common error codes
51001
Missing authentication section in JSON
51002
Missing api_key
51003
Missing api_secret
52101
Api Secret does not match Api Key (authentication failed)
52201
Not authorized

Go to the test page







© IDEX 2025, www.idexonline.com