---
updatedAt: 2025-02-14T23:02:49.000Z
agentTools:
  projectIndex: https://apidocs.kredete.io/llms.txt
---

# Retrieve Account Balance

**Obtain the current balance of a specific account using its unique identifier.**

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Kredete API Docs",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://sandboxapi.kredete.com",
      "description": "Sandbox environment server"
    },
    {
      "url": "https://api.kredete.com",
      "description": "Production environment server"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "tags": [
    {
      "name": "Accounts"
    }
  ],
  "paths": {
    "/apis/accounts/{accountId}/balance": {
      "get": {
        "tags": [
          "Accounts"
        ],
        "summary": "Retrieve Account Balance",
        "description": "**Obtain the current balance of a specific account using its unique identifier.**",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the account to retrieve the balance for."
          },
          {
            "name": "currency",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "NGN"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "headers": {
              "Server": {
                "schema": {
                  "type": "string",
                  "example": "Werkzeug/2.2.2 Python/3.11.10"
                }
              },
              "Date": {
                "schema": {
                  "type": "string",
                  "example": "Fri, 29 Nov 2024 05:56:25 GMT"
                }
              },
              "Content-Type": {
                "schema": {
                  "type": "string",
                  "example": "application/json"
                }
              },
              "Allow": {
                "schema": {
                  "type": "string",
                  "example": "GET, HEAD, OPTIONS"
                }
              },
              "X-Frame-Options": {
                "schema": {
                  "type": "string",
                  "example": "DENY"
                }
              },
              "Content-Length": {
                "schema": {
                  "type": "integer",
                  "example": "98"
                }
              },
              "Vary": {
                "schema": {
                  "type": "string",
                  "example": "origin"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string",
                  "example": "nosniff"
                }
              },
              "Referrer-Policy": {
                "schema": {
                  "type": "string",
                  "example": "same-origin"
                }
              },
              "Cross-Origin-Opener-Policy": {
                "schema": {
                  "type": "string",
                  "example": "same-origin"
                }
              },
              "Connection": {
                "schema": {
                  "type": "string",
                  "example": "close"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "message": "Account balance retrieved successfully!",
                  "data": {
                    "currency": "NGN",
                    "balance": 695000
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```