/virtual-accounts/all-transactions

Get all successful and rejected transactions that occurred on your virtual accounts

Response Schema:

{
  "status": boolean,
  "message": string,
  "data": {
    "allTransactions": [
      {
        "type": "virtual-account.transaction" | "virtual-account.rejected-transaction",
        "id": string,
        "transactionAmount": string,
        "fee": string | null,
        "stampDuty": string,
        "settlementAmount": string | null,
        "currency": string,
        "narration": string,
        "details": {
          "accountName": string,
          "accountNumber": string,
          "bank": {
            "name": string,
            "code": string,
          }
        },
        "virtualAccount": {
          "id": uuid,
          "accountReference": uuid,
          "bankAccount": {
            "accountName": string,
            "accountNumber": string,
            "bank": {
              "code": string,
              "name": string
            }
          },
          "type": "Static Virtual Account" | "Dynamic Virtual Account",
          "status": "active" | "expired" | "blacklisted",
          "createdAt": date-time,
          "expiresAt": date-time | null,
          "currency": string,
          "meta": {
            "isStatic": boolean,
            "bvn": string | null,
            "transactionReference": string | null,
            "amount": string | null,
            "minAmount": string | null
          }
        },
        "accountReference": string,
        "settlementAccountId": string | null,
        "datetime": date-time,
        "nipSessionId": string | null,
        "transactionReference": string | null,
        "settlementStatus": "pending" | "settled" | null,
        "reasonForRejection": {
          "code": string,
          "message": string
        } | null
      }
    ],
    "meta": {
      "total": number,
      "pageCount": number,
      "perPage": number,
      "currentPage": number,
    }
  }
}
Language
Credentials
Header