Create dedicated virtual bank accounts for your customers. Each account is linked to the customer’s wallet, so customers fund their wallets by making a bank transfer.
Virtual accounts are only available in the production environment. Test your wider integration in sandbox, but create virtual accounts with production credentials.
GET STARTED
Environments & authentication
The Virtual Account endpoint uses the same API credentials as the other 3ribe API endpoints. All requests use HTTPS.
EnvironmentBase URLEnvironment / Base URL
ProductionOnly environment available
https://businessapis.3ribe.io
Authenticate every request
Retrieve your credentials from the Developer section of your 3ribe dashboard and include these headers on every request.
Never expose apisecretkey in frontend or mobile code. Create virtual accounts from your server and pass only the returned account details to your customer.
Endpoint reference
Append the endpoint path to the production base URL. The operation requires the headers above.
POST/api/GrantsCollection/getvirtualaccount
Confirm the HTTP method
The source documentation gives the path and a request body but does not state the HTTP method. POST is shown because the operation takes a JSON body. Confirm this with 3ribe before going live.
How it works
01Create — your backend calls the Create Virtual Account endpoint with the account name and currency.
02Share — give the returned account name, account number and bank name to your customer.
03Fund — the customer transfers money to the assigned account number to fund their wallet.
04Notify — 3ribe sends a webhook to your configured URL when the funds arrive. Update your wallet or transaction records from it.
05Monitor — review all successful funding transactions in your 3ribe Business Dashboard.
VIRTUAL ACCOUNT OPERATIONS
Create virtual account
POST/api/GrantsCollection/getvirtualaccount
Creates a virtual bank account that a customer can use to fund their wallet.
true when the virtual account was created, false when creation failed.
responseMessageString
Description of the result.
accountNameString
Name associated with the virtual account. Empty on failure.
accountNumberString
Virtual account number the customer transfers to. Empty on failure.
bankNameString
Name of the bank the account belongs to. Empty on failure.
Check responseStatus before sharing details
Only show account details to your customer when responseStatus is true. On failure accountName, accountNumber and bankName are empty strings.
Funding & webhook notifications
Once the account exists, the customer funds their wallet by transferring money to the assigned virtual account number. When the funds are received, 3ribe sends a webhook notification to your configured webhook URL.
Use these notifications to update your internal wallet or transaction records as incoming funding happens. Process each notification idempotently so the same funding event is never applied twice.
Configure your webhook URL first
You must configure your collection webhook to receive funding notifications. See the Webhook API section for how to set up and retrieve your webhook URL.
Transaction monitoring
You can monitor virtual account funding transactions through two channels. Use both together to keep your records accurate.
ChannelHow it helpsChannel / How it helps
3ribe Business DashboardManual
Log in to view and monitor all successful virtual account funding transactions.
Webhook notificationsAutomatic
Receive transaction updates automatically and process incoming wallet funding events within your systems.
Important notes
TopicGuidanceTopic / Guidance
Purpose
Virtual accounts are created for customers to fund their respective wallets.
Environment
Virtual accounts are only available in the production environment.
Account details
Give the details returned after a successful creation to the customer for funding.
Transfers
Customers should transfer funds to the assigned virtual account number.
Webhooks
Configure your collection webhook to receive funding notifications.
Monitoring
All funding transactions can be monitored from the 3ribe Business Dashboard. Use webhooks alongside it to keep your records updated.
responseStatus is false. Inspect responseMessage and do not give the customer any account details.
Request sent to sandbox
Virtual accounts are production only. Use the production base URL and production credentials.
Network timeout
Do not assume the account was created. Retry carefully and confirm with 3ribe if unsure.
Protect credentials and customer funds
01Use HTTPS, keep credentials backend-only and restrict access to the account-creation function.
02Never put API credentials in logs, client code or support screenshots.
03Process funding notifications idempotently and reconcile them against the Business Dashboard.
Error format not specified
The source defines only the failed creation response above. It does not give a standard error structure, HTTP status codes or failure reasons. Confirm these with 3ribe rather than assuming a schema.
Outstanding details
The source is not a complete implementation contract. Resolve these items with 3ribe before going live.