---
title: "Apply a payment on a specific invoice"
method: POST
path: "/settlements/addAndApplyPayment"
tags: ["Billing"]
---

# Apply a payment on a specific invoice

`POST /settlements/addAndApplyPayment`

## Request

- Base URL: `https://api.app.subskribe.com`
- URL: `https://api.app.subskribe.com/settlements/addAndApplyPayment`
- Auth: API key in header `X-API-Key`

Apply a payment per the specified parameters.

## Request body

- ApplyPaymentRequest
  - `invoiceNumber` string
  - `invoiceAmount` string
  - `paymentMethodId` string, uuid
  - `paymentBankAccountId` string
  - `paymentType` 'ACH' | 'CARD' | 'CHECK' | 'WIRE' | 'INVOICE' | 'DEPOSIT' | 'EXTERNAL'
  - `amount` number
  - `bankFee` number
  - `note` string
  - `paymentDate` integer

## Response `default`

successful operation

---

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