Skip to main content
POST
Create Wallet

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
idempotencyKey
string
required

This key is utilized to ensure exactly-once execution of mutating requests. If the same key is reused, it will be treated as the same request and the original response will be returned.

Example:

"8d5be8f5-a8e7-4e8a-b715-0e7d6f2a6d04"

accountId
string
required

The unique identifier of the Account

Example:

"123e4567-e89b-12d3-a456-426614174000"

blockchain
string
required

The chain. Can be either the blockchain name or slug.

Refer to the Get Supported Blockchains endpoint for the list of supported blockchains.

Example:

"ethereum"

name
string

The name of the wallet

Example:

"user_1 Wallet"

refId
string

The external reference ID to uniquely identify the wallet

Example:

"ref_user_1"

userId
string

The id of the user to link to the wallet

Example:

"user_1"

autoSweep
boolean
default:false

Flag indicating whether to auto-sweep native tokens to the settlement account

Example:

false

Response

success
boolean
required
Example:

true

data
object
required