Skip to main content
POST
/
api
/
v2.1
/
fincard
/
virtual
/
wallet
/
v2
/
create
Create Wallet Address
curl --request POST \
  --url https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/wallet/v2/create \
  --header 'Content-Type: application/json' \
  --header 'X-Forwarded-From: <x-forwarded-from>' \
  --data '
{
  "coinKey": "BTC",
  "accountId": "<string>",
  "chainKey": "<string>",
  "label": "<string>"
}
'
{
  "success": true,
  "code": 200,
  "msg": "Success",
  "data": {
    "addressId": "<string>",
    "accountId": "<string>",
    "coinKey": "<string>",
    "chain": "<string>",
    "address": "<string>",
    "walletAddress": "<string>",
    "chainKey": "<string>",
    "addressType": "<string>",
    "label": "<string>",
    "memo": "<string>",
    "qrCodeUrl": "<string>",
    "isHdWallet": true,
    "derivationPath": "<string>",
    "active": true,
    "totalReceived": 123,
    "totalSent": 123,
    "balance": 123,
    "unconfirmedBalance": 123,
    "numberOfTransactions": 123,
    "createTime": 123,
    "lastActivityTime": 123
  }
}

Headers

User-Agent
string

User agent

X-Forwarded-For
string

Forwarded for

X-Forwarded-From
string
required

Client application identifier

Example:

"client-app"

X-Tenant-ID
string

Tenant ID

deviceId
string

Device ID

platform
string

Platform

Body

application/json

Create wallet address request

Create wallet address request

coinKey
string
required

Coin key

Example:

"BTC"

accountId
string

Account ID

chainKey
string

Chain key

label
string

Address label

Response

Successful response

Create wallet address response

success
boolean

Success flag

Example:

true

code
integer<int32>

Response code

Example:

200

msg
string

Response message

Example:

"Success"

data
object

Created wallet address data