Virtual Account Webhook

virtualaccount.approved

This event is dispatched when an individual virtual account is approved

{
  "event": "virtualaccount.approved",
  "data": {
    "id": "63fc01cfa2b2f80bd25f74cf",
    "business": "60c1d7e39d9fc6b87dedb04e",
    "isSubAccount": false,
    "currency": "USD",
    "currencyType": "fiat",
    "status": "approved",
    "accountType": "individual",
    "accountInformation": {
      "accountNumber": "GB88BLFN04270670217485",
      "isInstant": true,
      "bankName": "Blacktorn Finance",
      "bankCode": "BLFN",
      "countryCode": "GB",
      "email": "[email protected]",
      "otherInfo": {
        "iban": "GB88BLFN04270670217485",
        "accountNumber": "70217485",
        "address": "The Business Complex, 100  Church Ln, London E1 1LX, UK",
        "checkNumber": "88",
        "sortCode": "042706",
        "bankSwiftCode": "BLFNGB21XXX"
      }
    },
    "accountOpeningFee": 0,
    "isPermanent": true,
    "virtualAccountType": "additional",
    "createdAt": "2023-02-27T01:05:19.268Z",
    "updatedAt": "2023-02-27T01:13:24.867Z"
  }
}

account.approved (Corporate)

This event is dispatched when a corporate virtual account is approved

{
  "event": "virtualaccount.approved",
  "data": {
    "id": "62135abbcb0e3e0535fdc2ac",
    "business": "61aa4e72cc67b6f04d97f874",
    "isSubAccount": false,
    "currency": "USD",
    "currencyType": "fiat",
    "status": "approved",
    "accountType": "corporate",
    "accountInformation": {
      "accountNumber": "GB88BLFN04270670217485",
      "email": "[email protected]", 
      "bankName": "Blacktorn Finance",
      "bankAddress": "The Business Complex, 100  Church Ln, London E1 1LX, UK",
      "accountName": " Ventures",
      "swiftCode": "BLFNGB21XXX"
    },
    "accountOpeningFee": 0,
    "isPermanent": true,
    "virtualAccountType": "additional",
    "createdAt": "2022-02-21T09:26:19.167Z",
    "updatedAt": "2022-02-21T09:28:35.808Z"
  }
}

account.declined

This event is dispatched when any virtual account is declined

{
 "event": "virtualaccount.declined",
 "data": {
   "id": "62135156cb0e3e0117fdc287",
   "business": "62126841cb0e3efe8efdbb6a",
   "isSubAccount": true,
   "currency": "USD",
   "currencyType": "fiat",
   "status": "declined",
   "accountType": "individual",
   "reason": "Ineligible Account Type. A virtual account cannot be created for this entity, as a license is required for the nature of business you carry out, without which we can’t complete the creation of your account.",
   "accountOpeningFee": 0,
   "virtualAccountType": "additional",
   "createdAt": "2022-02-21T08:46:14.177Z",
   "updatedAt": "2022-02-21T08:47:17.755Z"
 }
}

Webhook Parameters And Description

DataDescription
data.idThe unique ID generated for the virtual account
data.businessThe ID of the parent business or subaccount that requested for the virtual account
data.isSubAccountThe boolean value that discloses if the request was made by a sub-account or parent business
data.currencyThe virtual account currency
data.currencyTypeThe type of currency
data.statusThe virtual account status
data.accountTypeThe virtual account type
data.accountInformation.accountNumberThe virtual account account number
data.accountInformation.bankNameThe name of the bank in which the virtual account was created
data.accountInformation.bankCodeThe code assigned to the bank
data.accountInformation.countryCodeThe code assigned to the country
data.accountInformation.otherInfo.ibanThe virtual account IBAN
data.accountInformation.otherInfo.accountNumberThe virtual account number
data.accountInformation.otherInfo.checkNumberThe virtual account check number
data.accountInformation.otherInfo.sortCodeThe virtual account sort code identifies both the bank and the branch where the virtual account was created and its used by banks in the United Kingdom
data.accountInformation.otherInfo.bankSwiftCodeThe virtual account swift code identifies both the bank and the branch where the virtual account was created and it's recognized internationally
data.accountInformation.swiftCodeThe virtual account swift code identifies both the bank and the branch where the virtual account was created and it's recognized internationally
data.accountOpeningFeeThe fee charged for opening a virtual account
data.isPermanentThe boolean value that discloses if the virtual account is a permanent or temporary virtual account
data.virtualAccountTypeThe type of virtual account
data.createdAtThe timestamp the virtual account was requested
data.updatedAtThe timestamp the virtual account was updated