# Simulating Deposit Success

Next, we present a step-by-step approach for you to complete (**settle**) your deposits. To simulate a complete transaction flow, you'll need two accounts: one to create payments and another to process them.&#x20;

First, you need to create a secondary virtual account. Access the menu and click on **Account > Virtual Accounts**. In the listing page, at the top right, click on **Create Virtual Account.**

<figure><img src="/files/2QeTgXp5vP6b1oVO3uWF" alt=""><figcaption></figcaption></figure>

Select your real bank account (typically there will be only one) and provide a simple description for this account.

<figure><img src="/files/G7PWOoeRoiDt8SZcEIwU" alt=""><figcaption></figcaption></figure>

Once created, this new account will appear in the listing interface, with its own ID and balance. By default, your first account starts with 1,000,000 BRL, while the new account starts with 0 BRL.

### Paying a Deposit

1. Create a new payment with QR code pointing to the new account. In the request body, specify the newly created account ID in the virtual\_account\_id, as shown below.

   * POST <https://api.sandbox.trio.com.br/banking/cashin/pix/qrcodes>

   ```json
   {
       "virtual_account_id": "0196102e-f67b-d5f9-300c-f587094bfc5a",
       "counterparty": {
           "tax_number": "41.491.440/0000-11",
           "name": "My Test Company"
       },
       "amount": 5000,
       "external_id": "{{$randomUUID}}",
       "description": "Test Payment in Sandbox",
       "options": {
           "allow_change_the_amount_on_payment": false,
           "show_qrcode_image": false
       }
   }
   ```

2. The account with a 0.00 BRL balance will receive a deposit of 50 BRL. To pay this deposit, you'll use your first account that has the full balance. To do this, go to **Move your account > Pix**.

<figure><img src="/files/DPq694R6wFElp4G6tCxk" alt=""><figcaption></figcaption></figure>

3. Select the origin account, which should be the first one, with full balance.

<figure><img src="/files/o0PzM9GJuDEf4KxKEaBS" alt=""><figcaption></figcaption></figure>

4. Paste que hash code created in your Deposit Request, via API.

<figure><img src="/files/veaadigNNuHv3xHzuTh8" alt=""><figcaption></figcaption></figure>

5. Follow a few completion steps, and you will have your deposit Completed, with webhook sent and the transaction listed in your transactions list.

<figure><img src="/files/5dnao5PjLSJLaDep8T2b" alt=""><figcaption></figcaption></figure>


---

# 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://docs.trio.com.br/guides/deposits/simulating-deposit-success.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.
