Record payment
solo_record_paymentMoney arrived. Recording it and deciding what it settles are two acts. Never guess which invoice a payment is for — unapplied is a valid, visible state. Ask, or leave it unapplied. Effects: payment recorded as unapplied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount received. In cents (integer minor units) — 1250 means $12.50. | |
| method | No | How it arrived. | |
| currency | No | Currency the money arrived in, ISO 4217. Defaults to the company default; a payment only ever settles invoices in its own currency. | |
| reference | No | Transfer reference, check number — exactly as shown. | |
| customer_id | Yes | Who paid. An existing customer id. | |
| received_at | No | Value date. Defaults to today. ISO date, YYYY-MM-DD. |