Get payment
get_paymentRetrieve a payment's details by QuickBooks Id to confirm which invoice it was applied to and obtain the SyncToken needed for updates or deletions. Returns ok=false with 404 if the Id is not found.
Instructions
Read one payment by QuickBooks Id, including the total, transaction date, linked transactions, and the current SyncToken. Use it to confirm which invoice a payment was applied to, and to obtain the SyncToken that update_payment and delete_payment require. Read-only. An unknown Id returns ok=false with status 404; find the Id with search_payments or list_payments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_id | Yes | QuickBooks Payment Id, as returned by search_payments, list_payments, or create_payment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| payment | No |