> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dentolize.com/llms.txt
> Use this file to discover all available pages before exploring further.

# New Payment

> Details sent when a payment is created.

Use this payload to record payments against invoices.

| Field        | Type   | Details                                   |
| ------------ | ------ | ----------------------------------------- |
| id           | string | Payment identifier.                       |
| amount       | number | Amount paid.                              |
| invoice\_id  | string | Invoice the payment is applied to.        |
| treasury\_id | string | Treasury or drawer receiving the payment. |
| patient\_id  | string | Patient the payment belongs to.           |
| bound\_type  | string | Hardcoded to `outbound`.                  |

```json theme={null}
{
  "id": "pay_700",
  "amount": 120,
  "invoice_id": "inv_2001",
  "treasury_id": "treasury_01",
  "patient_id": "pat_123",
  "bound_type": "outbound"
}
```
