Post a new invoice payment
documentedCreate a payment for an invoice.
POST /api/v2/invoices/{invoice_id}/paymentsPaymentsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$domain}}.clientary.com/api/v2/invoices/{{$invoice_id}}/payments" \
-X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u "{{CLIENTARY_API_KEY}}:{{CLIENTARY_API_KEY}}" \
-d '{"payment": {"amount": {{$amount}}, "note": "{{$note}}"}}'