---
title: "Deny a loan application (Banker action)"
method: POST
path: "/api/v1/loans/{id}/deny"
tags: ["loans"]
---

# Deny a loan application (Banker action)

`POST /api/v1/loans/{id}/deny`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/loans/{id}/deny`
- Auth: HTTP bearer

Deny a loan application (Banker action)

**Required Permissions:** loans:approve:others

## Path parameters

- `id` string, required

## Request body

- object
  - `reason` string: Reason for denial

## Response `200`

Default Response

- object
  - `success` true, required
  - `data` object, required
    - `message` string
    - `loanId` number
    - `status` string
    - `borrower` object
      - `discordId` string
      - `username` string
      - `image` string, nullable
  - `meta` object, required
    - `timestamp` number, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `422`: Default Response
- `500`: Default Response

---

[API](https://skmtc.dev/farmersonly/apis/farmersonly-club-api.md) - [All operations](https://skmtc.dev/farmersonly/apis/farmersonly-club-api/llms.txt) - [OpenAPI document](https://skmtc.dev/farmersonly/apis/farmersonly-club-api/revisions/b4fa9123ba90?raw)
