Insert a payment for a purchase
Record a payment made against a purchase order. Each call adds one payment; there is no upsert here, so calling it again adds another payment rather than editing an existing one. The response is the created payment.
The payment rolls up into the purchase: the purchase's paid total increases by this amount and its payment_status is recomputed (NOT_PAID → PARTIALLY_PAID → FULLY_PAID, or OVER_PAID if payments exceed the total). Fetch the purchase again to observe the new totals. If your company is integrated with QuickBooks Online, the payment is also recorded against the linked bill using the deposit account you supply.
A 404 is returned if the purchase does not exist or is not in your company.
Required permission: purchases_permissions_make_payments. The authenticated user must also be allowed to view purchases under their team restrictions.
Path parameters
The purchase's ID — the id returned by the list and show purchase endpoints.
Request body
Response
A single payment
Changes
No recorded changes to this endpoint across all 2 revisions of this API.