# Simulated Testing

## Overview

The Simulations module of the Customer API is a component designed to simulate events. This module is only available in our sandbox environment and features one primary API endpoint at this time:

## Simulate Deposit

This endpoint enables an API user to simulate a deposit to a specified customer account under the API's control.

* **Endpoint**: `/api/v1/customer/simulations/payins`
* **Method**: `POST`

**JSON Request Body Parameters:**

<table><thead><tr><th width="218">Parameter Name</th><th width="129">Type</th><th>Description</th></tr></thead><tbody><tr><td>DestinationAccountId</td><td>Integer</td><td>Account ID to simulate deposit to</td></tr><tr><td>TransferType</td><td>String</td><td><p>Possible Values:</p><p>(US Domestic Account)</p><p><strong>ACH</strong></p><p><strong>WIRE</strong></p><p>(International Account)</p><p><strong>SWIFT</strong></p></td></tr><tr><td>Amount</td><td>Decimal</td><td>Amount to deposit</td></tr><tr><td>Name</td><td>String</td><td>Destination account holder name (optional)</td></tr><tr><td>Reference</td><td>String</td><td><p>Reference message to be sent.</p><p>Required for FBO/Pooled accounts, otherwise optional.</p></td></tr></tbody></table>

**Request Body Example (JSON)**

```json
{
    "DestinationAccountId": 1001,
    "TransferType": "ACH",
    "Amount": 5,
    "Name": "Customer Name",
    "Reference": "1234567890"
}
```

**Success Response Example (JSON)**

```json
{
    "id": 0,
    "status": "1",
    "errors": []
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://customer-api-docs.ibanera.com/api-endpoints/simulated-testing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
