Creating a Wallet

This endpoint creates a child wallet for a user and assigns a unique Bitcoin or Ethereum address to that child wallet.

Create Wallet

POST https://api.sendwyre.com/v2/wallets

Request Body

Name
Type
Description

name

string

Unique identifier for the user

callbackUrl

string

Callback URL we will make HTTP postbacks to wallet updates

type

string

The type of wallet you are creating; defaults to DEFAULT

notes

string

Notes about the user

{
  "name" : "{your-unique-identifier}",
  "id" : "WA-AYBNA3lBiWAM4l3",
  "depositAddresses" : {
    "BTC" : "2ShL7kzSNNxedit6hC2fjSQhVcAucTeS1m7"
  },
  "totalBalances" : {
    "BTC" : 0
  },
  "availableBalances" : {
    "BTC" : 0
  },
  "srn" : "wallet:AYBNA3lBiWAM4l3",
  "balances" : {
    "BTC" : 0
  },
  "callbackUrl" : "https://your.website.io/callback",
  "notes" : "Notes about the user"
}

Example

curl -v -XPOST 'https://api.sendwyre.com/v2/wallets' \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: {api-key}" \
  -H "X-Api-Signature: {signature}" \
  -d '{"type":"ENTERPRISE","name":"{your-unique-identifier}",
  "callbackUrl":"https://your.website.io/callback",
  "notes":"Notes about the sub account"}'

Last updated

Was this helpful?