---
updatedAt: 2026-04-20T21:43:36.000Z
agentTools:
  projectIndex: https://docs.dinari.com/llms.txt
---

# Sandbox Faucet


Mints 1,000 mockUSD sandbox payment tokens to the `Wallet` connected to the `Account`.

This feature is only supported in sandbox mode.


# OpenAPI definition

```json
{
  "info": {
    "description": "**Dinari API for enterprise usage.**\n\nDinari's dShares let businesses offer tokenized access to stocks to their customers through an easy-to-use API.\nIntegrate Dinari's API and offer over a hundred stocks and ETFs to your customers.\n",
    "contact": {
      "email": "hello@dinari.com"
    },
    "license": {
      "name": "Contact us"
    },
    "termsOfService": "https://dinari.com/terms",
    "title": "Dinari Enterprise API",
    "version": "v20261112-5d6c9df"
  },
  "servers": [
    {
      "url": "https://api-enterprise.sbt.dinari.com",
      "description": "Production"
    },
    {
      "url": "https://api-enterprise.sandbox.dinari.com",
      "description": "Sandbox"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyId": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key-Id",
        "description": "The API key ID provided on the [Partners Dashboard](https://partners.dinari.com)."
      },
      "ApiSecretKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Secret-Key",
        "description": "API Secret Key that is only shown once at API Key creation."
      }
    },
    "schemas": {
      "BaseOpenApiError": {
        "type": "object",
        "properties": {
          "status": {
            "type": "integer",
            "description": "HTTP status code"
          },
          "message": {
            "type": "string",
            "description": "Human-readable message"
          },
          "error_id": {
            "type": "string",
            "description": "Reference Id for Dinari support"
          },
          "error": {
            "description": "Additional context and information"
          }
        },
        "required": [
          "error_id",
          "message",
          "status"
        ],
        "additionalProperties": false
      },
      "BaseOpenApiFieldError": {
        "type": "object",
        "properties": {
          "field_name": {
            "type": "string",
            "description": "Name of field with error"
          },
          "field_error": {
            "type": "string",
            "description": "Description of error"
          }
        },
        "required": [
          "field_error",
          "field_name"
        ],
        "additionalProperties": false
      },
      "BaseOpenApiBodyError": {
        "type": "object",
        "properties": {
          "field_errors": {
            "type": "array",
            "description": "Contains list of field-specific errors",
            "items": {
              "$ref": "#/components/schemas/BaseOpenApiFieldError"
            }
          },
          "body_error": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of body-specific error (ex. JSON issues)"
          }
        },
        "required": [
          "field_errors"
        ],
        "additionalProperties": false
      },
      "BaseOpenApi422Error": {
        "type": "object",
        "properties": {
          "status": {
            "default": 422,
            "enum": [
              422
            ],
            "description": "HTTP status code"
          },
          "message": {
            "default": "Unprocessable Entity",
            "enum": [
              "Unprocessable Entity"
            ],
            "description": "Human-readable message"
          },
          "error_id": {
            "type": "string",
            "description": "Reference Id for Dinari support"
          },
          "error": {
            "description": "Additional context and information",
            "$ref": "#/components/schemas/BaseOpenApiBodyError"
          }
        },
        "required": [
          "error",
          "error_id"
        ],
        "additionalProperties": false
      },
      "ChainId": {
        "type": "string",
        "enum": [
          "eip155:1",
          "eip155:42161",
          "eip155:8453",
          "eip155:81457",
          "eip155:98866",
          "eip155:999",
          "eip155:43114",
          "eip155:56",
          "eip155:5042",
          "eip155:1329",
          "eip155:11155111",
          "eip155:421614",
          "eip155:84532",
          "eip155:168587773",
          "eip155:98867",
          "eip155:998",
          "eip155:43113",
          "eip155:97",
          "eip155:5042002",
          "eip155:1328",
          "eip155:202110",
          "eip155:179205",
          "eip155:179202",
          "eip155:98865",
          "eip155:7887"
        ]
      },
      "FaucetInput": {
        "type": "object",
        "properties": {
          "chain_id": {
            "enum": [
              "eip155:421614",
              "eip155:11155111",
              "eip155:84532",
              "eip155:168587773",
              "eip155:98867",
              null
            ],
            "description": "CAIP-2 chain ID of blockchain in which to mint the sandbox payment tokens. If none specified, defaults to eip155:421614. If the `Account` is linked to a Dinari-managed `Wallet`, only eip155:42161 is allowed.",
            "$ref": "#/components/schemas/ChainId"
          }
        },
        "description": "Input parameters for minting sandbox payment tokens."
      }
    },
    "responses": {
      "UNPROCESSABLE_ENTITY": {
        "description": "Unprocessable Entity",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseOpenApi422Error"
            }
          }
        }
      },
      "DEFAULT_ERROR": {
        "description": "Default error response",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseOpenApiError"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/api/v2/accounts/{account_id}/faucet": {
      "post": {
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "$ref": "#/components/responses/UNPROCESSABLE_ENTITY"
          },
          "default": {
            "$ref": "#/components/responses/DEFAULT_ERROR"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FaucetInput"
              }
            }
          }
        },
        "tags": [
          "Accounts"
        ],
        "summary": "Sandbox Faucet",
        "description": "\nMints 1,000 mockUSD sandbox payment tokens to the `Wallet` connected to the `Account`.\n\nThis feature is only supported in sandbox mode.\n",
        "operationId": "createAccountFaucet",
        "security": [
          {
            "ApiKeyId": [],
            "ApiSecretKey": []
          }
        ]
      },
      "parameters": [
        {
          "in": "path",
          "name": "account_id",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ]
    }
  },
  "tags": [
    {
      "name": "Accounts",
      "description": "**`Accounts` represent the financial accounts of an `Entity`.**\n\n`Orders`, dividends, and other transactions are associated with an `Account`."
    }
  ],
  "openapi": "3.1.0"
}
```