Create New Crypto Wallet
https://sandboxapi.bitnob.co/api/v1/wallets/create-new-crypto-wallet (opens in a new tab)
Create a new cryptocurrency wallet for your company.
Body Parameters
Parameter | Type | Required | Description |
---|---|---|---|
coin | string | ✅ | Cryptocurrency type (enum) |
Allowed values for coin
: "trx"
, "bnb"
Request
Wallets/Create New Crypto Wallet [POST]
curl --request POST \
--url https://sandboxapi.bitnob.co/api/v1/wallets/create-new-crypto-wallet \
--header 'Authorization: Bearer API-KEY' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"coin": "bnb"
}
'
Responses
🟢 200 - Result example
{
"status": true,
"message": "Crypto Wallet Created",
"data": {
"id": "dfb59e3c-10a9-4100-b03e-dd11f276ac63",
"createdAt": "2024-07-31T16:14:54.183Z",
"updatedAt": "2024-07-31T16:14:54.183Z",
"name": "BNB Wallet",
"companyId": "253058a4-a525-4e82-9b6d-e09feee91119",
"active": true,
"description": "BNB Wallet for Company",
"currency": "bnb",
"type": "cryptocurrency",
"thresholdReminderAmount": "0",
"thresholdReminderActive": false
}
}
Last updated on