---
agentTools:
  projectIndex: https://mifos.readme.io/llms.txt
---

# Allocate Cash To Cashier

Mandatory Fields: 
Date, Amount, Currency, Notes/Comments

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Apache Fineract",
    "description": "Apache Fineract is a secure, multi-tenanted microfinance platform\n\nThe goal of the Apache Fineract API is to empower developers to build apps on top of the Apache Fineract Platform<br>The [reference app](https://cui.fineract.dev) (username: mifos, password: password) works on the same demo tenant as the interactive links in this documentation\n\n- The API is organized around [REST](https://en.wikipedia.org/wiki/Representational_state_transfer)\n- Find out more about Apache Fineract [here](/fineract-provider/api-docs/apiLive.htm#top)\n- You can [Try The API From Your Browser](/fineract-provider/api-docs/apiLive.htm#interact)\n- The Generic Options are available [here](/fineract-provider/api-docs/apiLive.htm#genopts)\n- Find out more about [Updating Dates and Numbers](/fineract-provider/api-docs/apiLive.htm#dates_and_numbers)\n- For the Authentication and the Basic of HTTP and HTTPS refer [here](/fineract-provider/api-docs/apiLive.htm#authentication_overview)\n- Check about ERROR codes [here](/fineract-provider/api-docs/apiLive.htm#errors)\n\nPlease refer to the [old documentation](/fineract-provider/api-docs/apiLive.htm) for any documentation queries",
    "contact": {
      "email": "dev@fineract.apache.org"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "version": "1.5.0-39-gc7b9611-dirty"
  },
  "servers": [
    {
      "url": "https://localhost:8443/fineract-provider/api/v1"
    },
    {
      "url": "https://demo.fineract.dev/fineract-provider/api/v1"
    }
  ],
  "security": [
    {
      "basicAuth": [],
      "tenantid": []
    }
  ],
  "tags": [
    {
      "name": "Teller Cash Management",
      "description": "Teller cash management which will allow an organization to manage their cash transactions at branches or head office more effectively."
    }
  ],
  "paths": {
    "/tellers/{tellerId}/cashiers/{cashierId}/allocate": {
      "post": {
        "tags": [
          "Teller Cash Management"
        ],
        "summary": "Allocate Cash To Cashier",
        "description": "Mandatory Fields: \nDate, Amount, Currency, Notes/Comments",
        "operationId": "allocateCashToCashier",
        "parameters": [
          {
            "name": "tellerId",
            "in": "path",
            "description": "tellerId",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "cashierId",
            "in": "path",
            "description": "cashierId",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "text/html": {
              "schema": {
                "$ref": "#/components/schemas/PostTellersTellerIdCashiersCashierIdAllocateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTellersTellerIdCashiersCashierIdAllocateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostTellersTellerIdCashiersCashierIdAllocateResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PostTellersTellerIdCashiersCashierIdAllocateRequest": {
        "type": "object",
        "properties": {
          "currencyCode": {
            "type": "string",
            "example": "USD"
          },
          "txnAmount": {
            "type": "number",
            "example": 5000
          },
          "txnNote": {
            "type": "string",
            "example": "allocating cash"
          },
          "locale": {
            "type": "string",
            "example": "en"
          },
          "dateFormat": {
            "type": "string",
            "example": "dd-MM-yyyy"
          },
          "txnDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "description": "PostTellersTellerIdCashiersCashierIdAllocateRequest"
      },
      "PostTellersTellerIdCashiersCashierIdAllocateResponse": {
        "type": "object",
        "properties": {
          "resourceId": {
            "type": "integer",
            "format": "int64",
            "example": 1
          },
          "subResourceId": {
            "type": "integer",
            "format": "int64",
            "example": 4
          }
        },
        "description": "PostTellersTellerIdCashiersCashierIdAllocateResponse"
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      },
      "tenantid": {
        "type": "apiKey",
        "name": "fineract-platform-tenantid",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 97,
      "1": 32,
      "2": 72,
      "3": 46,
      "4": 61,
      "5": 118,
      "6": 9,
      "7": 0,
      "8": 71,
      "9": 41,
      "10": 139,
      "11": 203
    }
  }
}
```