A simple way to get started with the banking APIs is to send some funds from your Sivo cash account. If you want to test these recipes, you can use your Sandbox environment which has test funds. Hint: the Sivo app has an option to add funds for testing, just switch to the Sandbox and go to the Banking > Cash page.
Just follow these steps to send some test funds:
- Retrieve your cash account: Before you can send funds, you need to know the ID of your Sivo cash account, and possibly the current balance to confirm if you have sufficient funds to send. You can get it from the Sivo Application, by going to Banking > Cash and copying the "Cash account ID" to your clipboard. You can also get it programmatically by using the following API to retrieve your Sivo accounts. The account with a label of
cash
is the one you are looking for.
🦉
Banking > Retrieve accounts
Open Recipe
- Create a contact: This is the destination bank account used to send the funds. You only need to do this only once for each destination account. Then you can reuse the contact to send multiple payments to that account. Use the "Create a Contact" recipe to accomplish this:
🦉
Banking > Create a contact
Open Recipe
- Send funds to a contact: To send funds to an existing contact you should use the send ACH or send wire endpoints. You need to provide the account ID and contact ID from the prior steps.
🦉
Banking > Send funds by ACH
Open Recipe
See the Testing section for tips on how to test different transfer scenarios.