# POST /api/invoice-payments > Invoice Payments - Add Invoice Payment - **Endpoint:** `POST /api/invoice-payments` - **Group:** Invoice Payments - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/InvoicePaymentsController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `invoice_id` | number | yes | Mandatory Invoice ID | | `amount` | number | yes | Mandatory Payment amount | | `payment_date` | string | yes | Mandatory Payment date (Y-m-d) | | `payment_method_id` | number | no | Optional Payment method ID | | `note` | string | no | Optional Payment note | | `created_by` | number | no | Optional RISE user ID. Default: 1. Use for proper attribution. | ## Request example ```bash curl -X POST "https://yoursite.com/index.php/api/invoice-payments" \ -H "authtoken: YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "invoice_id": "...", "amount": "...", "payment_date": "..." }' ``` ## Responses ### Success - Success-Response: ```json HTTP/1.1 201 Created { "status": 200, "messages": {"success": "Payment add success"}, "id": 1 } ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/invoice-payments/create-invoice-payment/