Deposits
To deposit, you can send funds directly to the wallet address via the associated network. We will send you a webhook notification once the funds have been received. To test this in sandbox, use the following request.
Create Mock Deposit
To get started, submit the currency and amount you wish to deposit.
curl --request POST \
--url https://api.oneliquidity.technology/wallets/v1/deposit \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '
{
"currency": "BTC",
"amount": 1
}
'
We will send you an ok response and a webhook notification.
{
"message": "Ok"
}
API Reference ➡️
Get Deposits
You can get all deposits to your wallets. Include optional lek & limit query parameters for pagination.
curl --request GET \
--url https://api.oneliquidity.technology/wallets/v1/deposits \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{token}}'
Our ok response will include details about all deposits made to your wallets including details like the amount (in the lowest denomination of the currency), the originating address of the deposit, the transaction hash etc.
{
"message": "Ok",
"data": [
{
"depositId": "6ec65f48-455a-5920-95c8-7fe4807a9117",
"amount": "10000000000000000000",
"createdAt": "2022-09-04T21:15:01.944Z",
"currency": "BSC-USDT-BEP20",
"decimal": 18,
"fees": "919854000000000",
"fromAddress": "0xaa25Aa7a19f9c426E07dee59b12f944f4d9f1DD3",
"isCompleted": false,
"isValid": false,
"isVerified": false,
"toAddress": "0x64c861A819773F51A4d0735cdfef8A0B4e1e08EA",
"txId": "0x981cf00b01e6fd4566e0faa1f6abef1abe05fdedded8b1b0e70bbb6be23c6afd",
"updatedAt": "2022-09-04T21:15:01.944Z"
},
{
"depositId": "df6b5800-b126-4647-b263-acc4ab054891",
"amount": "300000000",
"createdAt": "2022-08-29T22:20:34.461Z",
"currency": "USDT",
"fees": "mock_transaction",
"fromAddress": "mock_transaction",
"isCompleted": true,
"isValid": true,
"isVerified": true,
"toAddress": "0x64c861A819773F51A4d0735cdfef8A0B4e1e08EA",
"txId": "mock_transaction",
"updatedAt": "2022-08-29T22:20:34.461Z"
},
{
"depositId": "a2fc7b6a-38ef-5869-8338-ba3c26945a37",
"amount": "10000000000000000000",
"createdAt": "2022-09-04T21:04:46.059Z",
"currency": "BSC-USDT-BEP20",
"decimal": 18,
"fees": "919854000000000",
"fromAddress": "0xaa25Aa7a19f9c426E07dee59b12f944f4d9f1DD3",
"isCompleted": false,
"isValid": false,
"isVerified": false,
"toAddress": "0x201C716f5fD942E2701B3AaaaA72F2D4077215Fe",
"txId": "0x3f40ec987adf7c4f7ee3fa2fd9f32b446668d5c580399ee913cf06c8f60ccdf6",
"updatedAt": "2022-09-04T21:04:46.059Z"
},
{
"depositId": "a657f276-a815-5ac7-99bb-6cc83f199771",
"amount": "100000000000000",
"createdAt": "2022-09-04T18:59:53.983Z",
"currency": "ETH",
"decimal": 18,
"fees": "31500000210000",
"fromAddress": "0x1086957eA2aE8D4d4D425D24527f503D04848e46",
"isCompleted": true,
"isValid": true,
"isVerified": true,
"toAddress": "0xE6138A68A53249409E1Cc78C788c11861b9A3840",
"txId": "0xba2903d8e9ce973d2eacb623e7c98d1bb5f59698c7e1e6deba3f4dba8e857f9b",
"updatedAt": "2022-09-04T18:59:53.983Z"
},
{
"depositId": "92153dd7-d818-5451-b969-825fe818e53f",
"amount": "2000000000000000",
"createdAt": "2022-09-04T20:46:42.894Z",
"currency": "ETH",
"decimal": 18,
"fees": "31500000210000",
"fromAddress": "0x1086957eA2aE8D4d4D425D24527f503D04848e46",
"isCompleted": true,
"isValid": true,
"isVerified": true,
"toAddress": "0xBBF7AaDE38d8da6aF72877325AA1D46866614853",
"txId": "0x442fb1814d30b0b9a65fa650c1a59ead2d9f3ab3578fc138019b79a3d38e1dcc",
"updatedAt": "2022-09-04T20:51:46.103Z"
},
{
"depositId": "4445dc92-2ca8-458b-ab3d-b95f3ea580bd",
"amount": "200000000",
"createdAt": "2022-09-07T17:34:45.868Z",
"currency": "USDT",
"fees": "mock_transaction",
"fromAddress": "mock_transaction",
"isCompleted": true,
"isValid": true,
"isVerified": true,
"toAddress": "0x64c861A819773F51A4d0735cdfef8A0B4e1e08EA",
"txId": "mock_transaction",
"updatedAt": "2022-09-07T17:34:45.868Z"
},
{
"depositId": "19a5389f-4452-4da2-9fbf-9b480b7a3b17",
"amount": "100000000",
"createdAt": "2022-09-12T13:38:26.508Z",
"currency": "BTC",
"fees": "mock_transaction",
"fromAddress": "mock_transaction",
"isCompleted": true,
"isValid": true,
"isVerified": true,
"toAddress": "2N3zr9ddTySbaiid6p1N8B14Be5mBdr5yGE",
"txId": "mock_transaction",
"updatedAt": "2022-09-12T13:38:26.508Z"
}
]
}
API Reference ➡️
Updated about 2 years ago