Record payment
teachworks_create_paymentDestructive
WRITE: record a payment received from a customer (bookkeeping only — it does not charge a card). POST /payments.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Payment date. | |
| amount | Yes | Amount paid. | |
| customer_id | Yes | Customer that paid. | |
| description | No | Details, e.g. 'Payment for INV-0216'. | |
| payment_method | No |