Sign in

Create payment

documented

Record a payment against a transaction.

POST /v3/company/{realmId}/paymentPaymentsno 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://quickbooks.api.intuit.com/v3/company/{{$realmId}}/payment" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"CustomerRef": {"value": "{{$customer_id}}", "name": "{{$customer_name}}"}, "TotalAmt": {{$total_amount}}, "Line": [{"Amount": {{$line_amount}}, "LinkedTxn": [{"TxnId": "{{$invoice_id}}", "TxnType": "Invoice"}]}]}'"