Wallet
post
Create a new wallet for your network. You can then use it as a payout wallet by posting to /account/payout-wallet.
Authorizations
Body
blockchainstring · enumOptionalPossible values:
The blockchain associated with the address
wallet_addressstringOptional
The "SOL" or "MATIC" wallet address
default_token_typestring · enumOptionalPossible values:
We only support "USDC"
Responses
200Success
application/json
post
POST /account/wallet HTTP/1.1
Host: api.bringyour.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 72
{
"blockchain": "SOL",
"wallet_address": "text",
"default_token_type": "USDC"
}
200Success
{
"wallet_id": "text"
}
Was this helpful?