Skip to main content

Create sandbox organisation

POST 

/v2/config/sandbox-org

Creates a sandbox organisation for the organisation. A sandbox organisation is a separate wallet inside your organisation. It has its own credential definitions, presentation definitions and webhooks, so you can test an issuance or a verification flow without a change to the main wallet. It signs with the keys of the main organisation, and it has no holder wallet.

The main wallet of the organisation must be deployed before you create a sandbox organisation. The name must be unique in the organisation.

The service deploys a new wallet for the sandbox organisation and copies the logo image and the cover image of the organisation to it. To work in a sandbox organisation through the API, select the sandbox organisation in the dashboard, then create the API key under Account > Developer APIs (Create API Key). The key is bound to the sandbox organisation, and every call with it runs there.

Request​

Body

required

The sandbox organisation to create.

    sandboxOrg objectrequired

    The sandbox organisation to create.

    name stringrequired

    Name of the sandbox organisation. This field is mandatory. The name must be unique in the organisation. If a sandbox organisation with the same name exists, the service gives HTTP 400.

    description string

    Description of the sandbox organisation. This field is optional, and the service stores an empty string when you leave it out.

Responses​

The service created the sandbox organisation.

Response Headers
    Schema
      sandboxOrg objectrequired

      The sandbox organisation that the service created. The service sets the id, the openIdDeploymentId, the status and the timestamps.

      id string

      Unique identifier of the sandbox organisation

      name string

      Display name of the sandbox organisation

      description string

      Human readable description of the sandbox organisation

      openIdDeploymentId string

      Identifier of the associated OpenID deployment

      status integer

      Status code of the sandbox organisation

      ledgerId integer

      Identifier of the associated ledger

      infrastructureProvider string

      Name of the infrastructure provider

      version string

      Version of the sandbox organisation configuration

      role string

      Role of the sandbox organisation in the ecosystem

      trustAnchor string

      Trust anchor identifier or DID

      isWalletProvider boolean

      Indicates whether this sandbox organisation acts as a wallet provider

      secureVault integer

      Identifier of the primary secure vault

      secureVaults integer[]nullable

      Identifiers of the secure vaults that the sandbox organisation uses. The field holds null when the sandbox organisation has no secure vault.

      logoImageId string

      Identifier of the logo image. The field is absent when the sandbox organisation has no logo image.

      coverImageId string

      Identifier of the cover image. The field is absent when the sandbox organisation has no cover image.

      logoImageUrl string

      Public URL for the logo image

      coverImageUrl string

      Public URL for the cover image

      createdAt integer

      Timestamp when the sandbox organisation was created

      updatedAt integer

      Timestamp when the sandbox organisation was last updated

      isMain boolean

      Indicates whether this is the main organisation

    Loading...