NovaX Docs
  • ๐Ÿ‘‹Welcome!
  • ๐Ÿ›’Payment Gateway
    • ๐Ÿ’กHow It Works
    • โ„น๏ธGet Started
  • API
    • ๐Ÿš€API Integration Setup
      • ๐Ÿ”Authentication
      • โ†—๏ธRequests
    • ๐Ÿ“ฆAPIs
      • ๐Ÿ“–Swagger Docs
      • ๐ŸฆTenants
      • ๐Ÿ˜„Users
      • โ†”๏ธTransactions
      • ๐ŸงพOrders
  • Admin Portal
    • โชRefunds
      • โฎ๏ธPaid Order Refunds
      • โ—€๏ธPartial Paid Order Refunds
      • โ—€๏ธOverpaid Order Refunds
Powered by GitBook
On this page
  1. API
  2. APIs

Users

API's to manage Users.

PreviousTenantsNextTransactions

Last updated 7 months ago

Production URL:

Create User

Get User

Get User Balances

Get User Crypto Deposit Addresses

Create te User Card Web Portal

๐Ÿ“ฆ
๐Ÿ˜„
https://users-v1-api-t3mipd377q-ey.a.run.app

Fetch the user by userId, thirdPartyUserId or email.

get
Query parameters
userIdstringOptional

The NovaX user id.

thirdPartyUserIdstringOptional

The Tenant user id.

emailstringOptional

The Tenant user email address.

Header parameters
x-api-keystringRequired

Your unique API Key.

x-api-hashstringRequired

Your API Hash.

Responses
200
The User Information.
application/json
get
GET /user HTTP/1.1
Host: 
x-api-key: text
x-api-hash: text
Accept: */*
200

The User Information.

{
  "userId": "text",
  "thirdPartyUserId": "text",
  "firstName": "text",
  "lastName": "text",
  "languageCode": "text",
  "email": "name@gmail.com",
  "country": "text",
  "dateOfBirth": "2025-05-29",
  "phoneNumber": "text"
}

Fetch the balances of the user by id.

get
Query parameters
userIdstringRequired

The user id.

Header parameters
x-api-keystringRequired

Your unique API Key.

x-api-hashstringRequired

Your API Hash.

Responses
200
Returns a mysterious string.
application/json
get
GET /user/balances?userId=text HTTP/1.1
Host: 
x-api-key: text
x-api-hash: text
Accept: */*
200

Returns a mysterious string.

{
  "totalBalance": 1,
  "mainBalance": 1,
  "pendingBalance": 1
}

Fetches the deposit addresses for a user.

get
Query parameters
userIdstringRequired

The user id.

Header parameters
x-api-keystringRequired

Your unique API Key.

x-api-hashstringRequired

Your API Hash.

Responses
200
OK
application/json
409
Permission denied.
500
Internal error.
get
GET /user/deposit-addresses?userId=text HTTP/1.1
Host: 
x-api-key: text
x-api-hash: text
Accept: */*
[
  {
    "address": "text",
    "network": "text",
    "supportedTokens": [
      "text"
    ]
  }
]
  • Create User
  • POSTCreate a new user.
  • Get User
  • GETFetch the user by userId, thirdPartyUserId or email.
  • Get User Balances
  • GETFetch the balances of the user by id.
  • Get User Crypto Deposit Addresses
  • GETFetches the deposit addresses for a user.
  • Create te User Card Web Portal
  • POSTCreate a Card Web Portal Session for a User.

Create a new user.

post
Header parameters
x-api-keystringRequired

Your unique API Key.

x-api-hashstringRequired

Your API Hash.

Body
thirdPartyUserIdstringOptional

Third party user id of the user. This is the unique identifier of the user in the third party system.

firstNamestringOptional

First name of the user.

lastNamestringOptional

Last name of the user.

languageCodestringOptional

Language code of the user. e.g. en, fr, es etc.

emailstring ยท emailOptional

Email of the user.

countrystringOptional

Country of the user. e.g. EU, NG, US etc.

dateOfBirthstring ยท dateOptional

Date of birth of the user.

phoneNumberstringOptional

Phone number of the user. e.g. +2348123456789

Responses
200
User successfully created.
application/json
409
User with the same third party user id already exists.
500
Internal error.
post
POST /user HTTP/1.1
Host: 
x-api-key: text
x-api-hash: text
Content-Type: application/json
Accept: */*
Content-Length: 176

{
  "thirdPartyUserId": "text",
  "firstName": "text",
  "lastName": "text",
  "languageCode": "text",
  "email": "name@gmail.com",
  "country": "text",
  "dateOfBirth": "2025-05-29",
  "phoneNumber": "text"
}
{
  "userId": "text",
  "thirdPartyUserId": "text"
}

Create a Card Web Portal Session for a User.

post
Header parameters
x-api-keystringRequired

Your unique API Key.

x-api-hashstringRequired

Your API Hash.

Body
emailstringOptional

NovaX user email.

userIdstringOptional

NovaX user id.

thirdPartySessionIdstringOptional

Your system session id to identify this request.

Responses
200
User successfully created.
application/json
500
Internal error.
post
POST /user/card-web-portal HTTP/1.1
Host: 
x-api-key: text
x-api-hash: text
Content-Type: application/json
Accept: */*
Content-Length: 61

{
  "email": "text",
  "userId": "text",
  "thirdPartySessionId": "text"
}
{
  "url": "text",
  "sessionId": "text",
  "thirdPartySessionId": "text"
}