---
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}`

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/graph-performance-api.md) · [All operations](https://skmtc.dev/smallcase/apis/graph-performance-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/smallcase/graph-performance-api/revisions/6d2439eafede/schema)
