---
search:
  tags:
    - Customers
    - POST
seo:
  description: >-
    Admin, branch manager, or cashier. Records a payment and… Reference for the
    POST /api/v1/customers/{customerId}/payments endpoint in the PharmaFlow API.
sidebar:
  label: Record a customer payment
  badge: POST
title: Record a customer payment
type: openapi-operation
---
Admin, branch manager, or cashier. Records a payment and lowers the customer's balance. The amount must be positive and no more than the balance, and the write is one transaction.

`POST /api/v1/customers/{customerId}/payments`
