transHistory
This method gives list of deposits and withdrawals of all currencies.
POST
https://us-central1-appgregator.cloudfunctions.net/indodax/method/
Query Parameters
Name
Type
Description
name*
String
qantor.co.id
connection_name*
String
crypto01
Headers
Name
Type
Description
x-api-key*
String
U2Fsd...
secret-key*
String
84c7373b....(your indodax secret key)
{
"success": 1,
"return": {
"withdraw": {
"idr": [
{
"status": "success",
"type": "coupon",
"rp": "115205",
"fee": "500",
"amount": "114705",
"submit_time": "1539844166",
"success_time": "1539844189",
"withdraw_id": "1783717",
"tx": "BTC-IDR-RDTVVO2P-ETD0EVAW-VTNZGMIR-HTNTUAPI-84ULM9OI",
"sender": "boris",
"used_by": "viginia88"
},
...
],
"btc": [],
"abyss": [],
...
},
"deposit": {
"idr": [
{
"status": "success",
"type": "duitku",
"rp": "393000",
"fee": "5895",
"amount": "387105",
"submit_time": "1576555012",
"success_time": "1576555012",
"deposit_id": "3395438",
"tx": "Duitku OVO Settlement"
},
...
],
"btc": [
{
"status": "success",
"btc": "0.00118769",
"amount": "0.00118769",
"success_time": "1539529208",
"deposit_id": "3602369",
"tx": "c816aeb35a5b42f389970325a32aff69bb6b2126784dcda8f23b9dd9570d6573"
},
...
],
"abyss": [],
...
}
}
}
curl --location --request POST 'https://us-central1-appgregator.cloudfunctions.net/indodax/method/?name=qantor.co.id&connection_name=crypto01' \
--header 'secret-key: 84c7373...' \
--header 'x-api-key: U2Fsd...' \
--header 'Content-Type: application/json' \
--data-raw '{
"method": "transHistory",
"timestamp": "1578304294000",
"recvWindow": "1578303937000"
}'
var axios = require('axios');
var data = JSON.stringify({
"method": "transHistory",
"timestamp": "1578304294000",
"recvWindow": "1578303937000"
});
var config = {
method: 'post',
url: 'https://us-central1-appgregator.cloudfunctions.net/indodax/method/?name=qantor.co.id&connection_name=crypto01',
headers: {
'secret-key': '84c7373...',
'x-api-key': 'U2Fsd...',
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://us-central1-appgregator.cloudfunctions.net/indodax/method/?name=qantor.co.id&connection_name=crypto01',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS =>'{
"method": "transHistory",
"timestamp": "1578304294000",
"recvWindow": "1578303937000"
}',
CURLOPT_HTTPHEADER => array(
'secret-key: 84c7373...',
'x-api-key: U2Fsd...',
'Content-Type: application/json'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Last updated