---
title: "Create a direct lender repayment"
method: POST
path: "/v1/capitals/lenders/repayments"
tags: ["Repayments"]
---

# Create a direct lender repayment

`POST /v1/capitals/lenders/repayments`

## Request

- Base URL: `https://api.paymongo.com`
- URL: `https://api.paymongo.com/v1/capitals/lenders/repayments`
- Auth: HTTP basic

Notifies the system that a direct repayment was made to the lender.

## Request body

- LenderCreateRepaymentRequest
  - `amount` integer, required
  - `currency` 'PHP', required
  - `loan_id` string, required
  - `reference_id` string, required

## Response `200`

OK

- object: Standard response containing data and its metadata if any
  - `data` RepaymentResponse
    - `amount` integer
    - `created_at` string
    - `currency` string
    - `id` string
    - `loan_id` string
    - `reference_id` string
    - `repayment_type` 'instant_settlement' | 'sales' | 'direct_lender' | 'direct_paymongo'
    - `status` 'pending' | 'success' | 'failed'
  - `message` string
  - `meta` MetaDTO
    - `next` string
    - `prev` string
    - `total` integer

## Other responses

- `400`: Bad Request
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/paymongo/apis/paymongo-capital-api.md) - [All operations](https://skmtc.dev/paymongo/apis/paymongo-capital-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/paymongo-capital-api/revisions/5ebcf72dacae?raw)
