# 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="https://1207169478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOqaIqStBTblubAbDZACC%2Fuploads%2FQYWS3421arLXTyni9G7d%2FCaptura%20de%20Tela%202025-05-21%20a%CC%80s%2009.31.46.png?alt=media&#x26;token=ab5cb6aa-334d-4cd7-9952-8825c0b5bd83" 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="https://1207169478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOqaIqStBTblubAbDZACC%2Fuploads%2FKqGMIeWuySuomFs4QdZ1%2FCaptura%20de%20Tela%202025-05-21%20a%CC%80s%2009.32.03.png?alt=media&#x26;token=df9d57e4-8519-4ca6-bd45-18e4d88c650e" 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="https://1207169478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOqaIqStBTblubAbDZACC%2Fuploads%2FrMk6F7GWIMR11V040Aq9%2FCaptura%20de%20Tela%202025-05-21%20a%CC%80s%2009.32.30.png?alt=media&#x26;token=0b8fabf3-4379-4a99-8cdf-6ff0dcbe9567" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1207169478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOqaIqStBTblubAbDZACC%2Fuploads%2FcIADQrkTQQjUtCuyPu3x%2FCaptura%20de%20Tela%202025-05-21%20a%CC%80s%2009.32.48.png?alt=media&#x26;token=84b239c1-b0e3-4b65-bcc0-3243ff8c26d8" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1207169478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOqaIqStBTblubAbDZACC%2Fuploads%2FgAPV7SyMDrp7AL2Ekzr0%2FCaptura%20de%20Tela%202025-05-21%20a%CC%80s%2009.44.44.png?alt=media&#x26;token=27b081ec-fa59-4225-aa87-4cfa9fbbbe6f" 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="https://1207169478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOqaIqStBTblubAbDZACC%2Fuploads%2FTvTinlwyzwzZxO4JusaN%2FCaptura%20de%20Tela%202025-05-21%20a%CC%80s%2009.45.01.png?alt=media&#x26;token=6cd6ceef-2f0a-4c5e-b69b-008c616a046e" alt=""><figcaption></figcaption></figure>
