Create Wallet
Before you begin
Create a wallet for your brand-new customers.
Let's start π
To instantiate a new wallet, use https://custody.arianee.com/{{client}}/{{network}}/wallet/create
.
Input | Mandatory | Type | Description |
---|---|---|---|
provider | β | String | Your custodial provider. Today, supported providers are: - arianee-custodial - dfns |
Example:
{
"provider": "dfns"
}
Result:
httpCode | Description |
---|---|
200 | Wallet is created, the address is returned.For dfns , walletId is also returned. |
400 | Provider is not supported. |
409 | The user already has a wallet. |
{
"address": "0x52d8ad9b283b45e52fa6e0f3967b927e59508a9d",
"walletId": "wa-7n54f-hicck-83t8l7etk1f1mr42"
}
{
"address": "0xC8Dac970c21230b9e6633AD38FB4297800B93E77"
}
{
"name": "API Error",
"code": "CUSTODY_GATEWAY.WRONG_PROVIDER",
"description": "Wrong provider value : 'arianee-custodial' for this client ",
"httpCode": 400
}
{
"name": "API Error",
"code": "CUSTODY_GATEWAY.USER_ALREADY_HAVE_A_WALLET",
"description": "This user already have a wallet",
"httpCode": 409
}
Updated about 1 year ago