---
title: "Record an external payment for a future invoice"
method: POST
path: "/billing/futureinvoices/recordpayment"
---

# Record an external payment for a future invoice

`POST /billing/futureinvoices/recordpayment`

## Request

- Base URL: `https://api-sandbox.ezypay.com/v2`
- URL: `https://api-sandbox.ezypay.com/v2/billing/futureinvoices/recordpayment`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://identity-sandbox.ezypay.com/token`

Record payment from a customer that occurred outside the Ezypay system (for example an over-the-counter cash transaction) on a future invoice of a subscription.Ensures payments collected in advance externally from Ezypay can be reconciled and marked as paid. The future invoice will be issued immediately in advance as a paid invoice, with an external payment type recorded against it. Fee's will be allocated to the merchant, unless it was not attempted yet.

## Headers

- `merchant` string, required

## Request body

- object
  - `subscriptionId` string, required: Auto-generated unique identifier of the subscription.
  - `cycleStartDate` string, required: The billing cycle start date of the future invoice. Supported format is YYYY-MM-DD.
  - `paymentMethodType` string, required: The external payment method used by the customer to pay for the invoice. Supported values are `cash`, `cheque`, `card`, `others` and `bank_transfer`.

## Response `200`

200

- object

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `924be4030f56`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ezypay/apis/vault/changes/billing/futureinvoices/recordpayment/post.md)

---

[API](https://skmtc.dev/ezypay/apis/vault.md) - [All operations](https://skmtc.dev/ezypay/apis/vault/llms.txt) - [OpenAPI document](https://skmtc.dev/ezypay/apis/vault/revisions/924be4030f56?raw)
