Create Wallet

post

{baseUrl}/v1/uwaas/wallets/provision

Provisions a wallet for a user in an organization and service instance.

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Example:
{
    "org":{
        "orgId":"{{orgId}}",
        "organizationName":"Acme Corp",
        "status":"ACTIVE",
        "description":"wrapper-test-description"
    },
    "instanceId":"{{instanceId}}",
    "wallet":{
        "user":{
            "userId":"{{userId}}",
            "displayName":"Example User",
            "email":"user@example.com",
            "roleId":1,
            "status":"ACTIVE"
        },
        "walletLabel":"UWaaS-auxiliary",
        "walletType":"1",
        "status":"ACTIVE",
        "walletTags":[
            "e:dev",
            "a:erc20"
        ]
    }
}
Nested Schema : org
Type: object
Show Source
Example:
{
    "orgId":"{{orgId}}",
    "organizationName":"Acme Corp",
    "status":"ACTIVE",
    "description":"wrapper-test-description"
}
Nested Schema : wallet
Type: object
Show Source
Example:
{
    "user":{
        "userId":"{{userId}}",
        "displayName":"Example User",
        "email":"user@example.com",
        "roleId":1,
        "status":"ACTIVE"
    },
    "walletLabel":"UWaaS-auxiliary",
    "walletType":"1",
    "status":"ACTIVE",
    "walletTags":[
        "e:dev",
        "a:erc20"
    ]
}
Nested Schema : user
Type: object
Show Source
Example:
{
    "userId":"{{userId}}",
    "displayName":"Example User",
    "email":"user@example.com",
    "roleId":1,
    "status":"ACTIVE"
}
Nested Schema : walletTags
Type: array
Show Source
Example:
[
    "e:dev",
    "a:erc20"
]
Security
Back to Top

Response

Supported Media Types

201 Response

Dependencies were created or reused and the wallet was created successfully.
Body ()
Root Schema : UWAAS_ProvisionWalletResponse
Type: object
Show Source
Nested Schema : network
Type: object
Additional Properties Allowed: true
Nested Schema : org
Type: object
Additional Properties Allowed: true
Nested Schema : user
Type: object
Additional Properties Allowed: true
Nested Schema : wallet
Type: object
Additional Properties Allowed: true

400 Response

The wrapper rejected the request before it could complete a downstream call.
Body ()
Root Schema : Wrapper_Error
Type: object
Show Source

405 Response

The HTTP method is not supported for this resource.
Body ()
Root Schema : Wrapper_Error
Type: object
Show Source

415 Response

Content-Type must be application/json.
Body ()
Root Schema : Wrapper_Error
Type: object
Show Source

502 Response

The wrapper could not complete the downstream call.
Body ()
Root Schema : Wrapper_Error
Type: object
Show Source
Back to Top