๐Users
API's to manage Users.
Create User
Your unique API Key.
Your API Hash.
Third party user id of the user. This is the unique identifier of the user in the third party system.
First name of the user.
Last name of the user.
Language code of the user. e.g. en, fr, es etc.
Email of the user.
Country of the user. e.g. EU, NG, US etc.
Date of birth of the user.
Phone number of the user. e.g. +2348123456789
User successfully created.
User with the same third party user id already exists.
Internal error.
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": "[email protected]",
"country": "text",
"dateOfBirth": "2025-08-30",
"phoneNumber": "text"
}
{
"userId": "text",
"thirdPartyUserId": "text"
}
Get User
The TygaPay user id.
The Tenant user id.
The Tenant user email address.
Your unique API Key.
Your API Hash.
The User Information.
User not found.
GET /user HTTP/1.1
Host:
x-api-key: text
x-api-hash: text
Accept: */*
{
"userId": "text",
"thirdPartyUserId": "text",
"firstName": "text",
"lastName": "text",
"languageCode": "text",
"email": "[email protected]",
"country": "text",
"dateOfBirth": "2025-08-30",
"phoneNumber": "text"
}
Get User Balances
The user id.
Your unique API Key.
Your API Hash.
Returns a mysterious string.
GET /user/balances?userId=text HTTP/1.1
Host:
x-api-key: text
x-api-hash: text
Accept: */*
Returns a mysterious string.
{
"totalBalance": 1,
"mainBalance": 1,
"pendingBalance": 1
}
Get User Crypto Deposit Addresses
The user id.
Your unique API Key.
Your API Hash.
OK
Permission denied.
Internal error.
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"
]
}
]
Last updated