This method allows you to create Sub Wallet of the requested Parent wallet ID (Only Applicable to Parent Wallet (Prime))
API Key permission group : Enable Wallet Management
Designated Wallet : Impacted
{
"parentWalletId": "string",
"walletName": "SubAccount Example",
"autoCollection": 0,
"requestId": 1640995200000,
"timestamp": 1640995200000
}curl --location --request POST '/open-api/v1/subwallet/create' \
--header 'open-apikey;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
"parentWalletId": "string",
"walletName": "SubAccount Example",
"autoCollection": 0,
"requestId": 1640995200000,
"timestamp": 1640995200000
}'{
"data": {
"walletId": 377611257643147260,
"walletIdStr": "377611257643147264",
"walletName": "test create",
"walletType": 21,
"parentWalletId": 370387791055810560,
"parentWalletIdStr": "370387791055810560"
},
"code": "000000",
"message": "Success"
}