---
title: "Get loan or liability details for an account"
method: GET
path: "/v1/banks/{bid}/accounts/{aid}/loan"
tags: ["Loans"]
---

# Get loan or liability details for an account

`GET /v1/banks/{bid}/accounts/{aid}/loan`

## Request

- Base URL: `https://api.banksync.io`
- URL: `https://api.banksync.io/v1/banks/{bid}/accounts/{aid}/loan`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Responses may be served from a cache up to 6 hours old: `X-BankSync-Cache` says `hit`, `miss` or `bypass`, and `Age` is the cached answer's age in seconds.

## Path parameters

- `bid` string, required: Bank ID
- `aid` string, required: Account ID

## Response `200`

Loan / liability details for the account

- object
  - `success` true, required
  - `data` object, required
    - `accountId` string, required
    - `loanType` string
    - `principalBalance` number
    - `originationPrincipalAmount` number
    - `interestRatePercentage` number
    - `nextPaymentAmount` number
    - `nextPaymentDueDate` string
    - `maturityDate` string
    - `isOverdue` boolean
    - `currency` string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: No loan data found

---

[API](https://skmtc.dev/banksync/apis/banksync-api.md) · [All operations](https://skmtc.dev/banksync/apis/banksync-api/llms.txt) · [OpenAPI document](https://skmtc.dev/banksync/apis/banksync-api/revisions/94465f5ee922?raw)
