Create Bitcoin Wallets
This endpoint allows you to create BTC wallets.
To create a Bitcoin wallet for a user, the /wallet/create-btc-wallet
API endpoint requires two parameters in the request:
userEmail
- The email address of the user for which you want to create the wallet. This links the wallet to their account.blockChainSupported
- Specify ''Bitcoin" to indicate the wallet should be created on the Bitcoin blockchain.
POST
https://dev-api.altra.click/wallet/create-btc-wallet
Request Body
The wallet creation API request will return a wallet address that can send and receive BTC on the Bitcoin blockchain.
Specifically, the response will contain:
walletAddress
- The public Polygon address tied to the created walletasset
- BTC, the supported token on this wallet
Once a wallet is created successfully, users can top up the address by depositing BTC.
Last updated