Accounts

Learn how to create, and manage your crypto accounts with Bitpowr API.

Overview

Our account resource involves a way to manage, create and retrieve details of any crypto account within our specified blockchain network coverage.

Features

  • You can create a sub-account.
  • You can retrieve details of a specific account using the account ID.
  • You can create accounts.
  • You can list or retrieve the transaction history that occurs in an address.
  • You can create account assets.
  • You can retrieve the account assets details.
  • You can retrieve a transaction in the account using the transaction ID.

API Objects

{
    "status": "success",
    "data": {
        "uid": "bfbb4394-fd3b-4054-a821-42b6e7827194",
        "externalId": null,
        "fiatCurrency": "USD",
        "name": "money",
        "type": "DEFAULT",
        "showInDashboard": true,
        "isDeleted": false,
        "isArchived": false,
        "organizationId": "91f55ca6-c413-4ee8-9c4e-197bf9533350",
        "network": "TESTNET",
        "createdAt": "2021-08-18T17:04:14.166Z",
        "mode": "TEST",
        "maxDailyAmount": 10000,
        "maxMonthlyAmount": 100000,
        "maxDailyTransactionsCount": 100,
        "maxMonthlyTransactionsCount": 1000,
        "whiteListAddresses": null,
        "asset": [
            {
                "uid": "1a14df95-9c66-4966-9968-13416f472ba0",
                "guid": "dcc9ad35-9987-4af2-bf5d-9b4ee6e3333e",
                "label": "Bitcoin",
                "isDeleted": false,
                "isArchived": false,
                "isContract": false,
                "chain": "BITCOIN",
                "network": "TESTNET",
                "mode": "TEST",
                "assetType": "BTC",
                "autoForwardAddress": null,
                "createdAt": "2021-08-18T17:04:27.831Z",
                "balance": {
                    "received": "0.04349620",
                    "sent": "0.00000000",
                    "balance": "0.04349620",
                    "pending": "0.00100441",
                    "blocked": "0.00000000"
                }
            },
            {
                "uid": "49e090c7-1570-4bd1-8710-20e7139b34f5",
                "guid": "c634d104-64a6-409d-8792-561c7a52a899",
                "label": "Litecoin",
                "isDeleted": false,
                "isArchived": false,
                "isContract": false,
                "chain": "LITECOIN",
                "network": "TESTNET",
                "mode": "TEST",
                "assetType": "LTC",
                "autoForwardAddress": null,
                "createdAt": "2021-08-18T17:16:35.926Z",
                "balance": {
                    "received": "0.15104900",
                    "sent": "0.00000000",
                    "balance": "0.15104900",
                    "pending": "0.00000000",
                    "blocked": "0.00000000"
                }
            }
        ],
        "fiatBalance": {
            "received": "1711.91",
            "sent": "0.00",
            "balance": "1711.91",
            "pending": "39.18",
            "blocked": "0.00"
        }
    }
}

Accounts Methods

Our Account resource provides you with detailed account information, such as being able to create an account, list details in an account, create sub-accounts, and retrieve the balance and transaction history in an account.

We offer the following methods when it comes to interacting with the Account API:

EndpointMethodDescription
Create sub-accountsPOSTCreate sub-accounts using this endpoint.
Get sub-accountGETRetrieve a list of sub-account via this endpoint.
Get accountGETRetrieve a list of accounts using this endpoint.
Create accountPOSTCreate an account using this endpoint.
Get accountGETList account details using this endpoint.
Get account assets by account idGETGet an account asset details by the account id, using this endpoint.
Create account assets by idPOSTCreate account assets using this endpoint.
Get account assets by assets idGETGet or retrieve a list of assets in an account.
Get account balanceGETRetrieve the account balance contained in an account.
Get account transactionGETList or retrieve the transaction information of of an account.
Get transactionGETGet a list of transaction that occurs in an account.