---
agentTools:
  projectIndex: https://safehavenmfb.readme.io/llms.txt
---

# Get Account

This returns a specific account object using the specified id.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Safe Haven IBS API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.sandbox.safehavenmfb.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/accounts/{id}": {
      "get": {
        "summary": "Get Account",
        "description": "This returns a specific account object using the specified id.",
        "operationId": "get-account",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The `_id` of the account to fetch.",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "ClientID",
            "in": "header",
            "description": "This is your 'ibs_client_id' returned in the response when you generate an api token",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"statusCode\": 200,\n    \"message\": \"Account fetched successfully.\",\n    \"data\": {\n        \"canDebit\": true,\n        \"canCredit\": true,\n        \"_id\": \"6874eb48aaad890024be3931\",\n        \"client\": \"6874eb47aaad890024be3930\",\n        \"accountProduct\": \"60d7bd5fa4884c30a832e37a\",\n        \"accountNumber\": \"0117964837\",\n        \"accountName\": \"PRIMETECH\",\n        \"accountType\": \"Current\",\n        \"currencyCode\": \"NGN\",\n        \"bvn\": \"22001234567\",\n        \"accountBalance\": 12175562.829999998,\n        \"bookBalance\": 12175562.829999998,\n        \"interestBalance\": 0,\n        \"withHoldingTaxBalance\": 0,\n        \"status\": \"Active\",\n        \"isDefault\": true,\n        \"nominalAnnualInterestRate\": 0,\n        \"interestCompoundingPeriod\": \"Daily\",\n        \"interestPostingPeriod\": \"Monthly\",\n        \"interestCalculationType\": \"DailyBalance\",\n        \"interestCalculationDaysInYearType\": \"365\",\n        \"minRequiredOpeningBalance\": 0,\n        \"lockinPeriodFrequency\": 0,\n        \"lockinPeriodFrequencyType\": \"Days\",\n        \"allowOverdraft\": false,\n        \"overdraftLimit\": 0,\n        \"chargeWithHoldingTax\": true,\n        \"chargeValueAddedTax\": true,\n        \"chargeStampDuty\": true,\n        \"notificationSettings\": {\n            \"smsNotification\": false,\n            \"emailNotification\": true,\n            \"emailMonthlyStatement\": true,\n            \"smsMonthlyStatement\": false\n        },\n        \"isSubAccount\": false,\n        \"isDeleted\": false,\n        \"createdAt\": \"2025-07-14T11:34:32.006Z\",\n        \"updatedAt\": \"2025-07-14T11:34:32.006Z\",\n        \"__v\": 0,\n        \"cbaAccountId\": \"26372\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "statusCode": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "message": {
                      "type": "string",
                      "example": "Account fetched successfully."
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "canDebit": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "canCredit": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "_id": {
                          "type": "string",
                          "example": "6874eb48aaad890024be3931"
                        },
                        "client": {
                          "type": "string",
                          "example": "6874eb47aaad890024be3930"
                        },
                        "accountProduct": {
                          "type": "string",
                          "example": "60d7bd5fa4884c30a832e37a"
                        },
                        "accountNumber": {
                          "type": "string",
                          "example": "0117964837"
                        },
                        "accountName": {
                          "type": "string",
                          "example": "PRIMETECH"
                        },
                        "accountType": {
                          "type": "string",
                          "example": "Current"
                        },
                        "currencyCode": {
                          "type": "string",
                          "example": "NGN"
                        },
                        "bvn": {
                          "type": "string",
                          "example": "22001234567"
                        },
                        "accountBalance": {
                          "type": "number",
                          "example": 12175562.829999998,
                          "default": 0
                        },
                        "bookBalance": {
                          "type": "number",
                          "example": 12175562.829999998,
                          "default": 0
                        },
                        "interestBalance": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "withHoldingTaxBalance": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "status": {
                          "type": "string",
                          "example": "Active"
                        },
                        "isDefault": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "nominalAnnualInterestRate": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "interestCompoundingPeriod": {
                          "type": "string",
                          "example": "Daily"
                        },
                        "interestPostingPeriod": {
                          "type": "string",
                          "example": "Monthly"
                        },
                        "interestCalculationType": {
                          "type": "string",
                          "example": "DailyBalance"
                        },
                        "interestCalculationDaysInYearType": {
                          "type": "string",
                          "example": "365"
                        },
                        "minRequiredOpeningBalance": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "lockinPeriodFrequency": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "lockinPeriodFrequencyType": {
                          "type": "string",
                          "example": "Days"
                        },
                        "allowOverdraft": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "overdraftLimit": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "chargeWithHoldingTax": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "chargeValueAddedTax": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "chargeStampDuty": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        },
                        "notificationSettings": {
                          "type": "object",
                          "properties": {
                            "smsNotification": {
                              "type": "boolean",
                              "example": false,
                              "default": true
                            },
                            "emailNotification": {
                              "type": "boolean",
                              "example": true,
                              "default": true
                            },
                            "emailMonthlyStatement": {
                              "type": "boolean",
                              "example": true,
                              "default": true
                            },
                            "smsMonthlyStatement": {
                              "type": "boolean",
                              "example": false,
                              "default": true
                            }
                          }
                        },
                        "isSubAccount": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "isDeleted": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "createdAt": {
                          "type": "string",
                          "example": "2025-07-14T11:34:32.006Z"
                        },
                        "updatedAt": {
                          "type": "string",
                          "example": "2025-07-14T11:34:32.006Z"
                        },
                        "__v": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "cbaAccountId": {
                          "type": "string",
                          "example": "26372"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "61e69ed05b7bd4006a962eed:61ea7c1fa75698007389f9cf"
}
```