Query the deposit history for current customer
Security
SSO_TOKEN
- Mock serverhttps://docs.fxinside.net/_mock/openapi/integral-api-reference/rest/custody/v2/deposit/history
const query = new URLSearchParams({
currency: 'string',
txId: 'string',
status: '0',
limit: '1000',
startTime: '0',
endTime: '0'
}).toString();
const resp = await fetch(
`https://docs.fxinside.net/_mock/openapi/integral-api-reference/rest/custody/v2/deposit/history?${query}`,
{
method: 'GET',
headers: {
SSO_TOKEN: 'YOUR_API_KEY_HERE'
}
}
);
const data = await resp.text();
console.log(data);Successful operation
Array []
An integer that indicates the status of the deposit transactions to return:
- 0 = pending
- 1 = successful
Example:0
Deposit address.
Example:"bc1qrpp7g75sx3ejclvsfdw2uahzchtyu7vumkuadu"
Additional field required by some blockchains for identifying the transaction recipient beyond a wallet address.
Example:""
Transaction ID.
Example:"98A3EA560C6B3336D348B6C83F0F95ECE4F1F5919E94BD006E5BF3BF264FACFC"
The time the transaction was created. Unix time in milliseconds.
Example:1661493146000
Response
[ { "id": "769800519366885376", "amount": "0.01", "currency": "BTC", "network": "BTC", "status": 0, "address": "bc1qrpp7g75sx3ejclvsfdw2uahzchtyu7vumkuadu", "tag": "", "txId": "98A3EA560C6B3336D348B6C83F0F95ECE4F1F5919E94BD006E5BF3BF264FACFC", "createdTime": 1661493146000, "confirmedTime": 1661493146000 } ]