Vesicash API V1
Search…
⌃K

Split Disbursement

Disburse into different accounts.

Check wallet balance

Customers who have accumulated funds can check their wallet balance using the endpoint:
post
https://api.vesicash.com/v1/
admin/account/wallet
check wallet balance
For example, you can make a post request to the endpoint above and pass in the json data below to get a user's wallet account:
{
"account_id": 4865544336
}

Initiate a split withdrawal

You can now initate a split withdrawal using the endpoint below. NB: Make sure to onboard your recipients(s) using the signup endpoint (Authentication), and also make sure to add their bank account details Adding Bank or Mobile Money Details
post
https://api.vesicash.com/v1/
payment/disbursement/process/split
initiate split withdrawal
For example, you can make a post request to the endpoint above and pass in the json data below to initiate a split withdrawal from your wallet:
{
"business_id": 1830712022,
"currency": "NGN",
"splits": [
{
"recipient_id": 1830712022, // retrieve from api/signup
"amount": 100
},
{
"recipient_id": 1830712022,
"amount": 200
},
{
"recipient_id": 1830712022,
"amount": 300
}
]
}
Note: watch out for the response message and disbursement status before you mark the withdrawal as completed. You can aswell Verify The Disbursement Status using the disbursement_id retrieved here