NodeHub.io API Docs
Go to NodeHub.io
  • NodeHub.io API
  • Masternode Hosting API
    • REST API
      • Masternodes
      • Validators
      • Coins
      • Billing
      • Account
Powered by GitBook
On this page
  • Get generated wallets
  • Get accepted currencies
  • View transactions
  • Generate wallet address
  1. Masternode Hosting API
  2. REST API

Billing

How to manage your account billing via NodeHub.io API.

Get generated wallets

GET https://api.nodehub.io/v1/billing/wallets

This endpoint returns the deposit addresses you've generated, which you can use to top up your account.

Headers

Name
Type
Description

Authorization*

string

Authentication token you've generated in your account

[
  {
    "address": "WjrzHKPnqp2r1BJsWCkCxyXv3Kd1jfYquy", 
    "currency": "TWINS"
  }, 
  {
    "address": "DKZXt3UihQow2iZWbmTTpfXb9vAj32FSNn", 
    "currency": "CDZC"
  }, 
  {
    "address": "STkQPSay4E3kdLyysTdF7Wymn4sfxF8cjm", 
    "currency": "SEND"
  }, 
  {
    "address": "CRWQmejc94xF1UbDb2yjUbgxzjnAu9jtLaNB", 
    "currency": "CRW"
  }, 
  {
    "address": "XvFLS4KJhaazgiD2rYvmbU6gV2F5SGoP6X", 
    "currency": "DASH"
  }
...
]

Get accepted currencies

GET https://api.nodehub.io/v1/billing/accepted

This endpoint returns the accepted currencies for topping up your account.

Headers

Name
Type
Description

Authorization*

string

Authentication token you've generated in your account

[
  {
    "confirmations": 3, 
    "label": "Crown", 
    "ticker": "CRW"
  }, 
  {
    "confirmations": 3, 
    "label": "SafeInsure", 
    "ticker": "SINS"
  }, 
  {
    "confirmations": 3, 
    "label": "DeviantCoin", 
    "ticker": "DEV"
  }, 
  {
    "confirmations": 3, 
    "label": "MonetaryUnit", 
    "ticker": "MUE"
  }, 
  {
    "confirmations": 3, 
    "label": "PACcoin", 
    "ticker": "PAC"
  }, 
  {
    "confirmations": 3, 
    "label": "Bitcoin Incognito", 
    "ticker": "XBI"
  }, 
...
]

View transactions

GET https://api.nodehub.io/v1/billing/transactions

This endpoint returns your transaction history.

Headers

Name
Type
Description

Authorization*

string

Authentication token you've generated in your account

[
  {
    "amount": -0.36, 
    "date": "2019/07/14 00:00:01", 
    "description": "Daily Charge"
  }, 
  {
    "amount": -0.36, 
    "date": "2019/07/13 00:09:28", 
    "description": "Daily Charge"
  }, 
  {
    "amount": -0.36, 
    "date": "2019/07/12 00:08:54", 
    "description": "Daily Charge"
  }, 
  {
    "amount": -0.36, 
    "date": "2019/07/11 00:08:21", 
    "description": "Daily Charge"
  }, 
  {
    "amount": -0.0625, 
    "date": "2019/07/10 09:42:50", 
    "description": "Initial Charge for #RealParallelTyrannosaurus"
  }, 
  {
    "amount": -0.0625, 
    "date": "2019/07/10 09:07:32", 
    "description": "Initial Charge for #SneakyMeagerThoqqua"
  }, 
  {
    "amount": -0.0625, 
    "date": "2019/07/10 09:07:11", 
    "description": "Initial Charge for #ColorfulAllDragonne"
  }, 
...
]

Generate wallet address

POST https://api.nodehub.io/v1/billing/wallets

This endpoint generates a deposit address which you can use to top up your account.

Headers

Name
Type
Description

Authorization*

string

Authentication token you've generated in your account

Request Body

Name
Type
Description

currency*

string

Ticker of the coin you'd like to create an address for

{
  "address": "WjrzHKPnqp2r1BJsWCkCxyXv3Kd1jfYquy",
}

PreviousCoinsNextAccount

Last updated 1 year ago