3ribe Sandbox Dashboard3ribe Production Dashboard
Your API credentials

Find your keys in the Developer section of your 3ribe dashboard.

Keep secret keys backend-only.
DocumentationVirtual Account API
VERSION 1.0 / REST / JSON / HTTPS

Virtual Account API

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.

Dedicated accountsWallet fundingBank transferWebhook alerts
Production environment only
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.

Required request headersHTTP
apikey: YOUR_API_KEY
apisecretkey: YOUR_API_SECRET_KEY
Content-Type: application/json
HeaderDescriptionHeader / Description
apikeyHeader
Your 3ribe API key.
apisecretkeyHeader
Your 3ribe API secret key.
Content-TypeHeader
application/json
Keep credentials on your backend
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

  1. 01Create — your backend calls the Create Virtual Account endpoint with the account name and currency.
  2. 02Share — give the returned account name, account number and bank name to your customer.
  3. 03Fund — the customer transfers money to the assigned account number to fund their wallet.
  4. 04Notify — 3ribe sends a webhook to your configured URL when the funds arrive. Update your wallet or transaction records from it.
  5. 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.

Request bodyJSON
{
  "accountName": "3ribe Limited",
  "currency": "ngn"
}

Request parameters

ParameterDescriptionParameter / Description
accountNameString
Required. Name to be associated with the virtual account.
currencyString
Required. Currency for the virtual account, for example ngn.

Successful response

When the account is created, the API returns the account name, account number and bank name.

Successful responseJSON
{
  "responseStatus": true,
  "responseMessage": "Account created successfully",
  "accountName": "3ribe Limited",
  "accountNumber": "0934534543",
  "bankName": "3ribe Bank"
}

Failed response

If creation fails, the API returns an unsuccessful response with empty account details.

Failed responseJSON
{
  "responseStatus": false,
  "responseMessage": "Account creation failed",
  "accountName": "",
  "accountNumber": "",
  "bankName": ""
}

Response parameters

ParameterDescriptionParameter / Description
responseStatusBoolean
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.

Errors & security

ScenarioRecommended actionScenario / Recommended action
Invalid API credentials
Verify the API key and secret key.
Missing request fields
Send both accountName and currency.
Account creation failed
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

  1. 01Use HTTPS, keep credentials backend-only and restrict access to the account-creation function.
  2. 02Never put API credentials in logs, client code or support screenshots.
  3. 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.

AreaConfirmation requiredArea / Confirmation required
HTTP method
The method for the create endpoint is not stated.
Customer linking
The request contains only accountName and currency. Confirm how an account is tied to a specific customer wallet.
Repeat requests
Whether calling the endpoint again for the same account name returns the existing account or creates a new one.
Currencies
The full list of supported currency values. Only ngn is shown as an example.
Funding webhook
Payload fields, event type, verification or signature mechanism, acknowledgement format and retry policy.
Errors
Failure reasons, standard error structure and HTTP status codes.
CONTINUE READINGWebhook APIConfigure and retrieve your webhook receiver URL.
3ribe API reference · Virtual AccountREST / JSON