Batch Static Virtual Accounts (SVA) are designed to facilitate a seamless funding process for customer wallets in your app. Instead of creating individual virtual accounts for each customer, you can generate multiple unique virtual account numbers for a batch of customers. This approach enhances security, tracking, and reconciliation, making it ideal for wallet systems and efficiently managing funds associated with each customer.
Generating Batch Virtual Accounts:
Using Nectapay's API, you can dynamically generate a batch of Static Virtual Accounts for your customers in a single API call. The JSON object includes an array of individual account details, each represented by an object with the following parameters:
Additionally, you include the merchant_id, which is your unique ID as the recipient of the payment. This identifies your business or organization as the merchant receiving the payments.
Here's the JSON object for batch account creation:
{
"payload": [
{
"account_name": "EFFIONG JON DOE",
"payment_ref": "310645"
},
{
"account_name": "NELSON DOE J",
"payment_ref": "241291"
}
// Add more individual account details as needed
],
"merchant_id": "VA-MERCH0ABV"
}
Pass this JSON object as the payload to the batch_static_account endpoint using the appropriate API call.
Customer Funding Process:
Once you generate the batch of Static Virtual Accounts, you provide each customer with their respective account details, including the virtual account number. Each customer can then initiate a bank transfer from their bank account to the assigned virtual account, specifying the amount they want to fund their wallet with.
Webhook Notification:
As customers successfully transfer funds to their respective virtual accounts, Nectapay sends webhook notifications to your platform. These webhooks serve as real-time notifications that payments have been received and provide essential details about each transaction. Upon receiving the webhook notifications, your platform processes each payment accordingly and credits the funds to the corresponding customer's wallet.
Benefits of Batch Static Virtual Accounts:
{
"response_code": 0,
"response_message": "Account has been successfully created",
"data": {
"success": [
{
"id": "310645",
"account_name": "EFFIONG JON DOE",
"account_number": "4011519403",
"bank_name": "Premium Trust Bank"
},
{
"id": "241291",
"account_name": "NELSON DOE J",
"account_number": "4011784850",
"bank_name": "Premium Trust Bank"
}
]
}
}