> ## Documentation Index
> Fetch the complete documentation index at: https://docs.midasprotocol.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Borrow

> Accept a loan offer and receive funds

## Request

<ParamField body="offerId" type="string" required>UUID of the loan offer to accept.</ParamField>

```bash theme={null}
curl -X POST https://api.midasprotocol.org/lending/borrow \
  -H "Authorization: Bearer pp_your_key" \
  -H "Content-Type: application/json" \
  -d '{ "offerId": "offer-uuid" }'
```

## Response

```json theme={null}
{
  "id": "uuid",
  "borrowerId": "your-uuid",
  "lenderId": "lender-uuid",
  "amount": "100.00",
  "currency": "USDC",
  "interestRate": 5,
  "collateralAmount": "50.00",
  "dueAt": "2026-02-01T00:00:00.000Z",
  "status": "ACTIVE"
}
```

<Note>The collateral amount is debited from the borrower's wallet and held in escrow.</Note>
