---
title: "Get total pending amount (for loan closure)"
method: GET
path: "/backend/{gatewayname}/v1/loan/{unityuserid}/closure/{lid}"
---

# Get total pending amount (for loan closure)

`GET /backend/{gatewayname}/v1/loan/{unityuserid}/closure/{lid}`

## Request

- Base URL: `https://api.unity.smallcase.com`
- URL: `https://api.unity.smallcase.com/backend/{gatewayname}/v1/loan/{unityuserid}/closure/{lid}`
- Auth: none required

Retrieve the pending amount user has to pay to close their existing loan

## Path parameters

- `gatewayname` string, required
- `unityuserid` string, required
- `lid` string, required

## Headers

- `x-gateway-secret` string, required
- `x-gateway-authtoken` string, required

## Response `200`

200

- object
  - `code` integer
  - `data` object
    - `pendingAmount` integer
  - `message` string

---

[API](https://skmtc.dev/smallcase/apis/sib-lsp.md) - [All operations](https://skmtc.dev/smallcase/apis/sib-lsp/llms.txt) - [OpenAPI document](https://skmtc.dev/smallcase/apis/sib-lsp/revisions/e943c44c35f5?raw)
