Payment
Get a payment
Get a single payment by its ID.
The response carries the same shape as a list entry, plus quickbooks_deposit_account_name (the human-readable name of the QuickBooks Online deposit account, resolved only here — the list endpoint omits it). Like the list endpoint, exactly one of invoice / purchase is populated depending on payment_type, and status is POSTED or VOIDED.
Returns 404 if no payment with that ID exists within your company. Voided payments are returned normally with status VOIDED; soft-deleted payments return 404.
Required permission: payments_permissions_view.
get/public/v1/payments/{id}
Path parameters
idstring required
The payment's Distru ID, as returned in the id field of the list endpoint.
Response
A single payment
Changes
No recorded changes to this endpoint across all 1 revision of this API.