mono-logo

Webhook Events

Last updated May 19th, 2022

Account Update (Balance)

The account updated webhook event gets fired based on the following cases provided below:

  1. Our account connected and account updated webhook event is sent shortly after a user has successfully linked their account. The account connectd webhook contains the Account ID of the user. However, If using the connect SDK an API call is made to the Exchange Token API to receive an Account ID. The significance of this event is that financial account/transaction data status will be known (as indicated via the meta.data_status if AVAILABLE). It gives the go-ahead to call our Connect APIs such as Transaction, Statement, Income, etc for data retrieval.

  2. Another case where the account updated webhook event gets fired is when Real-time Data is run successfully, which implies that all recent financial transaction data has been refreshed and updated. As soon as this event is received, you can also go ahead to call our Connect APIs such as Transaction, Statement, Income, etc for updated data.

mono.events.account_updated

Request

1234567891011121314151617181920212223242526
{
  "event": "mono.events.account_updated",
  "data": {
    "meta": {
      "data_status": "AVAILABLE",
      "auth_method": "internet_banking"
    },
    "account": {
      "_id": "5f171a5301abca1153",
      "name": "Samuel Olamide",
      "accountNumber": "0131883461",
      "currency": "NGN",
      "balance": 22644,
      "type": "Tier 3 Savings Account",
      "bvn": "9422",
      "authMethod": "internet_banking",
      "institution": {
        "name": "ALAT by WEMA",
        "bankCode": "035",
        "type": "PERSONAL_BANKING"
      },
      "created_at": "2024-04-30T17:16:01.171Z",
      "updated_at": "2024-04-30T17:16:05.463Z"
    }
  }
}

Fields for balance webhooks

FieldDescriptionType
eventThe webhook event action that triggered the webhook, e.g. mono.events.account_updated.string
dataAll information related to this specific webhook.object
data.metaAn event object containing the account data and the current status.object
data.meta.data_statusThe status of the current connected data, if it is AVAILABLE, PROCESSING, FAILED.string
data.meta.auth_methodThis refers to the authentication method used by user. It returns either mobile_banking or internet_banking.string
data.accountAn object with all account data.object
data.account._idThe unique identifier for the member which has new or updated transaction data.string
data.account.institutionAll data related to the financial institution of the connected user.object
data.account.institution.nameThe institution name of the connected account.string
data.account.institution.bankCodeThe bank code of the institution name connected to this account.string
data.account.institution.typeThe type of banking method for this connected user. E.g PERSONAL_BANKING, BUSINESS_BANKING etcstring
data.account.accountNumberThe account number of the connected user. data.string
data.account.nameThe account name of the connected user.string
data.account.typeThe account type of the connected user E.g SAVINGS ACCOUNT, CURRENT ACCOUNT.string
data.account.currencyThe currency of the connected user.string
data.account.bvnThe BVN of the connected user.string
data.account.balanceThe current account balance of the connected user.string
data.account.created_atThe date the webhook object was created.string
data.account.updated_atThe date the webhook object was updated.string

Did this page help you?