---
title: "Simulate cash-in present code"
method: POST
path: "/cash-ins/{cashInId}/simulate/present-code"
tags: ["Sandbox"]
---

# Simulate cash-in present code

`POST /cash-ins/{cashInId}/simulate/present-code`

Simulate the customer presenting their cash-in code at the register (sandbox only).

## Path parameters

- `cashInId` string, required

## Headers

- `Idempotency-Key` string, required

## Request body

- SimulateCashInPresentCodeRequest
  - `cashInCode` string, required — The cash-in's `depositInstructions.code` - what the customer presents at the register.
  - `amount` string, required — Wire-safe decimal string for financial float values (USD amounts, percentages).

## Response `200`

The request has succeeded.

- SimulateCashInPresentCodeResponse
  - `responseCode` string, required
  - `responseText` string, required
  - `responseId` string, required
  - `confirmationId` string, required — Authorization confirmation - pass as `originalConfirmationId` to `deposit-cash` or `cancel`.
  - `authorizedAmount` string, required — Wire-safe decimal string for financial float values (USD amounts, percentages).
  - `balance` string, required — Wire-safe decimal string for financial float values (USD amounts, percentages).

---

[API](https://skmtc.net/polygon-technology/apis/polygon-oms-public-api.md) · [All operations](https://skmtc.net/polygon-technology/apis/polygon-oms-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/polygon-technology/polygon-oms-public-api/revisions/18fdaebf64e5/schema)
