---
title: "Create a new Wallet"
method: POST
path: "/api/v2/bitcoin/wallets"
tags: ["Bitcoin Wallets"]
---

# Create a new Wallet

`POST /api/v2/bitcoin/wallets`

This method will create a new wallet for you.
The wallet will be stored in our database and you can access it with the wallet name.
The wallet will be encrypted with the password you provide.

after creating the wallet, you can create several addresses for the wallet. There is no need to create a new wallet for each address.

<aside class="notice">We do not store Passowrds! If you lose it, we cannot restore your wallet! </aside>

## Headers

- `X-Network` 'testnet' | 'mainnet'
- `Authorization` string, required
- `Content-Type` 'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data', required

## Request body

- object
  - `password` string

## Response `201`

- object
  - `status` integer
  - `ok` boolean
  - `message` string
  - `data` object
    - `bitcoinwallet` string

## Other responses

- `422`

---

[API](https://skmtc.net/chaingateway/apis/chaingateway-api-documentation.md) · [All operations](https://skmtc.net/chaingateway/apis/chaingateway-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chaingateway/chaingateway-api-documentation/revisions/ddb709b4ade7/schema)
