Skip to content

Create Virtual Account

The virtual account creation endpoint uses the customer's phone number to create a wallet. Once the method is executed, a virtual account will be created, this will serve as the customer's Nigerian Uniform Bank Account Number (NUBAN).

Request Body

Note

Serialize the request body, then encrypt (AES encryption) it using the provided key. The encryption requires a secret key and IV key which will be provided by the sterling team. Pass the encrypted string as the value of "Data" in the new request body.

{
    "Nuban":"08034743719",
    "ChannelID":1
}
EncryptedReq {
  "Data": "string"
}

curl -X POST https://pass.sterling.ng/OneBankWalletV3/api/Wallet/CreateVirtualAccount
-H 'Content-Type: application/json'
```

{
  "message": " ",
  "response": " ",
  "responsedata":  ,
  "data": {
    "firstname": " ",
    "lastname": " ",
    "email":  ,
    "mobile": " ",
    "AcctTier": "1",
    "VIRTUALACCT": ""
  }
}

Request Parameters

Parameter Type Description Note
Nuban string *required The customer’s Nigerian Uniform Bank Account Number (NUBAN)
ChannelID string *required The customer's channel ID