๐ŸฆTenants

API's for managing Tenants.

Create Tenant

Requirement: Request an Auth Code from NovaX Support at [email protected] to create a Tenant Account.

Create a Tenant.

post
Body
codestringRequired

The Auth Code provided by NovaX to create a new tenant.

namestringRequired

The name of the tenant.

contactEmailstringRequired

The contact email of the tenant - typically the admin contact email.

Responses
200
User successfully created.
application/json
post
POST /tenant HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 51

{
  "code": "text",
  "name": "text",
  "contactEmail": "text"
}
{
  "apiSecret": "text",
  "apiKey": "text",
  "message": "text"
}

Get Tenant Wallets

Fetches the wallets for a tenant.

get
Header parameters
x-api-keystringRequired

Your unique API Key.

x-api-hashstringRequired

Your API Hash.

Responses
200
OK
application/json
get
GET /tenant/wallets HTTP/1.1
Host: 
x-api-key: text
x-api-hash: text
Accept: */*
[
  {
    "name": "text",
    "type": "text",
    "balance": 1,
    "totalDeposited": 1,
    "totalDistributed": 1
  }
]

Get Tenant Deposit Addresses

Fetches the deposit addresses for a tenant.

get
Header parameters
x-api-keystringRequired

Your unique API Key.

x-api-hashstringRequired

Your API Hash.

Responses
200
OK
application/json
get
GET /tenant/deposit-addresses HTTP/1.1
Host: 
x-api-key: text
x-api-hash: text
Accept: */*
[
  {
    "name": "text",
    "address": "text",
    "network": "text",
    "supportedTokens": [
      "text"
    ]
  }
]

Last updated