---
title: "Keep Funding"
method: POST
path: "/auth/w/funding/keep"
---

# Keep Funding

`POST /auth/w/funding/keep`

## Request

- Base URL: `https://api.bitfinex.com/v2`
- URL: `https://api.bitfinex.com/v2/auth/w/funding/keep`
- Auth: none required

Toggle to keep funding taken. Specify loan for unused funding and credit for used funding.

## Request body

- object
  - `type` string, required: Specify the funding type ('credit' or 'loan')
  - `id` integer[]: Pass an array of id's to toggle their keep funding status (on -> off, off -> on). If the changes object is also passed, keep funding status will change as specified in the changes object.
  - `changes` object: Optional object to specify changes for each id (1 to enable, 0 to disable) ex. {1234: 1, 1235: 1, 1236: 0, ...}

## Response `200`

200

- unknown[]
  - unknown

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/bitfinex/apis/api-settings-auth.md) - [All operations](https://skmtc.dev/bitfinex/apis/api-settings-auth/llms.txt) - [OpenAPI document](https://skmtc.dev/bitfinex/apis/api-settings-auth/revisions/f3285778c5f9?raw)
