Sign in

Record invoice payment

documented

Record a payment against an invoice.

POST /v1/invoicing/invoices/{invoice_id}/paymentsInvoicingno implementation yet0 runs
No 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-m.sandbox.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_id": "{{$payment_id}}", "note": "{{$note}}", "payment_date": "{{$payment_date}}", "method": "{{$method}}", "amount": {"currency_code": "{{$currency_code}}", "value": "{{$amount_value}}"}}'