---
title: "Confirm Invoice Payment"
method: POST
path: "/invoices/{captureId}/confirm-payment"
tags: ["Captures"]
---

# Confirm Invoice Payment

`POST /invoices/{captureId}/confirm-payment`

## Request

- Base URL: `https://paella-sandbox.billie.io/api/v2`
- URL: `https://paella-sandbox.billie.io/api/v2/invoices/{captureId}/confirm-payment`
- Auth: OAuth 2
  - Password
  - Token URL: `/oauth/token`
- TypeScript: <https://skmtc.dev/billie/apis/billie-direct-api/docs/invoices/:captureId/confirm-payment/post.ts> (a function with typed inputs; its response is checked against the schema)

**Purpose:**

Confirms that the buyer (your customer) paid a given amount relating to a capture to your bank account, rather than Billie's. Billie will reduce the outstanding amount accordingly and debit the amount you provided from your upcoming settlement. 

**Preconditions:** 

- `captureId`: The unique identifier of the capture
- amount that the buyer paid to you

**Success:** 

- Response Code: `HTTP 204`

**Attention:**

- The amount provided does not exceed the sum of all captures of the related order.

## Path parameters

- `captureId` string, uuid, required

## Request body

- object
  - `paid_amount` number, float, required: The amount paid to the merchant from debtor.

## Response `204`

Invoice payment successfully confirmed

## Other responses

- `400`: Invalid Request Data
- `401`: Unauthorized request or invalid credentials
- `403`: Forbidden Request. The operation cannot be completed.
- `404`: Resource Not Found
- `500`: Unexpected Server Error

---

[API](https://skmtc.dev/billie/apis/billie-direct-api.md) - [All operations](https://skmtc.dev/billie/apis/billie-direct-api/llms.txt) - [OpenAPI document](https://skmtc.dev/billie/apis/billie-direct-api/revisions/29d6a8a63ff9?raw)
