Skip to main content
POST
/
wallets
Create a new wallet
curl --request POST \
  --url https://tag.dev.alfa-bot.com/api/dev/v1/wallets \
  --header 'Content-Type: application/json' \
  --header 'token: <api-key>' \
  --data '
{
  "name": "Main TRX wallet",
  "network": "trx",
  "type": "user"
}
'
{
  "code": "200",
  "data": {
    "user_id": "1234",
    "qr": "https://...",
    "address": "0x11232323232323",
    "network_name": "ERC20",
    "network": "ETH",
    "name": "Wallet name"
  }
}

Authorizations

token
string
header
required

Pass your API token in the token request header.

Body

application/json
name
string
required

New wallet name

Example:

"Main TRX wallet"

network
enum<string>
required
Available options:
trx,
eth,
bnb,
sol
Example:

"trx"

type
enum<string>
required
Available options:
user,
accounting
Example:

"user"

Response

OK - wallet was created successfully

code
string
required
Example:

"200"

data
object
required