Create payment
documentedRecord a payment against an invoice or customer.
POST /v3/company/{realmId}/paymentPaymentsno 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://quickbooks.api.intuit.com/v3/company/{{$realmId}}/payment?minorversion=75" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"CustomerRef": {"value": "{{$customer_id}}"}, "TotalAmt": {{$total_amt}}, "Line": [{"Amount": {{$line_amount}}, "LinkedTxn": [{"TxnId": "{{$invoice_id}}", "TxnType": "Invoice"}]}]}'