Create wallet
POST/v1/wallets
Create wallet
This endpoint allows users to create a new wallet associated with their account. It requires a JSON payload specifying the wallet's name, type, user ID, backup key, seed, optional parent API key ID, and optional DKG ID. Upon successful creation, the endpoint returns a 201 status code along with the newly created wallet's ID. If the user does not exist, a 404 status code is returned. Any internal server errors result in a 500 status code.
Request
- application/json
Body
required
backup_key stringrequired
name stringrequired
seed stringrequired
wallet_type stringrequired
Responses
- 201
- 404
- 500
Wallet created
- text/plain
- Schema
Schema
string
User not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...