Record invoice payment
documentedRecord a payment against an invoice.
POST /v1/invoicing/invoices/{invoice_id}/paymentsInvoicingno 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://api.paypal.com/v2/invoicing/invoices/{{$invoice_id}}/payments" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"payment_date": "{{$payment_date}}", "method": "{{$method}}", "note": "{{$note}}", "amount": {"currency_code": "{{$amount_currency_code}}", "value": "{{$amount_value}}"}}'