1. Home
  2. Docs
  3. Enterprise Wallet
  4. Developer Documentation
  5. Deposits

Deposits

Users can receive funds after setting up wallet and address.

Enterprise Wallet API Endpoint.

List Deposits

This endpoint lists all deposits for a specific wallet.

Request Type and Endpoint

GET /api/v1/wallets/:wallet_id/deposits

Request Query Parameters

ParameterTypeDescriptionRequired
wallet_idIntegerid of the wallet in which address has to be generatedYes
Request – Response Example
HTTP_METHOD=GET    
HOST=https://coinome.com/wallet  
URI=/api/v1/wallets/1331612684/deposits    
CONTENT_TYPE=application/json   
ACCESS_TOKEN=2c6bbada11f6c21738deea51c215ba664d6f6a4a707e4e5fdc10161ee2bb6abf  

curl -H "Content-Type: $CONTENT_TYPE" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-X $HTTP_METHOD "$HOST$URI"
{
    "data": [{
        "id": "12",
        "type": "deposit",
        "attributes": {
            "wallet_id": 789797987,
            "coin": "btc",
            "txid": "44f8ea3284b78cd7d4e9e72fa3a7d7a4194738dd943b556561cab386516b88cf",
            "address": "asdadsadsada",
            "amount": 60000,
            "confirmations": 2,
            "block_height": 145628,
            "block_hash": "qweqdsadawdasdaseadcsadead",
            "created_at": "2019-03-29T04:41:15.917Z",
            "updated_at": "2019-03-29T04:41:15.917Z",
            "details": {
                "vout": 0
            }
        }

    }]
}

Enterprise Wallet API Endpoint.

Show Deposits

This endpoint returns a specific deposit details.

Request Type and Endpoint

GET /api/v1/wallets/:wallet_id/deposits/:id

Request Query Parameters

ParameterTypeDescriptionRequired
wallet_idIntegerId of the wallet in which address has to be generatedYes
idIntegerId of deposit to be retrievedYes
Request – Response Example
HTTP_METHOD=GET    
HOST=https://coinome.com/wallet  
URI=/api/v1/wallets/1331612684/deposits/1    
CONTENT_TYPE=application/json   
ACCESS_TOKEN=2c6bbada11f6c21738deea51c215ba664d6f6a4a707e4e5fdc10161ee2bb6abf  

curl -H "Content-Type: $CONTENT_TYPE" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-X $HTTP_METHOD "$HOST$URI"
{
    "data": {
        "id": "12",
        "type": "deposit",
        "attributes": {
            "wallet_id": 789797987,
            "coin": "btc",
            "txid": "44f8ea3284b78cd7d4e9e72fa3a7d7a4194738dd943b556561cab386516b88cf",
            "address": "asdadsadsada",
            "amount": 60000,
            "confirmations": 2,
            "block_height": 145628,
            "block_hash": "qweqdsadawdasdaseadcsadead",
            "created_at": "2019-03-29T04:41:15.917Z",
            "updated_at": "2019-03-29T04:41:15.917Z",
            "details": {
                "vout": 0
            }
        }
    }
}