Simulating Deposit Success
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
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.
Select your real bank account (typically there will be only one) and provide a simple description for this account.
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.
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.
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.
Select the origin account, which should be the first one, with full balance.
Paste que hash code created in your Deposit Request, via API.
Follow a few completion steps, and you will have your deposit Completed, with webhook sent and the transaction listed in your transactions list.
POST