Payments
get_ payments
Get list of payments for the authenticated user's organization
Parameters
pagenumber1Page number for pagination
limitnumber10Number of items per page
searchstringSearch term for payment notes
relationsArray<string>Relations to include (e.g., ["invoice", "organizationContact", "project", "recordedBy"])
statusstringPENDINGPROCESSINGCOMPLETEDFAILEDCANCELLEDREFUNDEDFilter by payment status
paymentMethodstringCREDIT_CARDDEBIT_CARDBANK_TRANSFERPAYPALSTRIPECASHCHECKOTHERFilter by payment method
invoiceIdstring<uuid>Filter by invoice ID
organizationContactIdstring<uuid>Filter by organization contact ID
projectIdstring<uuid>Filter by project ID
currencystringUSDEURGBPJPYCADAUDCHFCNYFilter by currency
startDatestringFilter payments from this date (ISO format)
endDatestringFilter payments until this date (ISO format)
overduebooleanFilter by overdue status
get_ payment_ count
Get payment count in the authenticated user's organization
Parameters
statusstringPENDINGPROCESSINGCOMPLETEDFAILEDCANCELLEDREFUNDEDFilter by payment status
paymentMethodstringCREDIT_CARDDEBIT_CARDBANK_TRANSFERPAYPALSTRIPECASHCHECKOTHERFilter by payment method
currencystringUSDEURGBPJPYCADAUDCHFCNYFilter by currency
overduebooleanFilter by overdue status
startDatestringFilter payments from this date (ISO format)
endDatestringFilter payments until this date (ISO format)
get_ payment
Get a specific payment by ID
Parameters
idstring<uuid>requiredThe payment ID
relationsArray<string>Relations to include (e.g., ["invoice", "organizationContact", "project", "recordedBy"])
create_ payment
Create a new payment in the authenticated user's organization
Body
payment_ dataobjectrequiredThe data for creating the payment
update_ payment
Update an existing payment
Parameters
idstring<uuid>requiredThe payment ID
payment_ dataobjectrequiredThe data for updating the payment
update_ payment_ status
Update the status of a payment
Parameters
idstring<uuid>requiredThe payment ID
statusstringPENDINGPROCESSINGCOMPLETEDFAILEDCANCELLEDREFUNDEDrequiredThe new status for the payment
delete_ payment
Delete a payment
Parameters
idstring<uuid>requiredThe payment ID
get_ payments_ by_ invoice
Get payments for a specific invoice
Parameters
invoiceIdstring<uuid>requiredThe invoice ID
pagenumber1Page number for pagination
limitnumber10Number of items per page
statusstringPENDINGPROCESSINGCOMPLETEDFAILEDCANCELLEDREFUNDEDFilter by payment status
relationsArray<string>Relations to include
get_ payments_ by_ client
Get payments for a specific client/organization contact
Parameters
organizationContactIdstring<uuid>requiredThe organization contact ID
pagenumber1Page number for pagination
limitnumber10Number of items per page
statusstringPENDINGPROCESSINGCOMPLETEDFAILEDCANCELLEDREFUNDEDFilter by payment status
currencystringUSDEURGBPJPYCADAUDCHFCNYFilter by currency
relationsArray<string>Relations to include
get_ payment_ statistics
Get payment statistics for the authenticated user's organization
Parameters
startDatestringStart date for statistics (ISO format)
endDatestringEnd date for statistics (ISO format)
organizationContactIdstring<uuid>Filter by specific client ID
projectIdstring<uuid>Filter by specific project ID
currencystringUSDEURGBPJPYCADAUDCHFCNYFilter by currency
process_ payment
Process a payment (mark as completed)
Parameters
idstring<uuid>requiredThe payment ID
paymentDatestringThe payment date (ISO format)
refund_ payment
Refund a payment
Parameters
idstring<uuid>requiredThe payment ID
refundAmountnumberThe refund amount (if partial refund)
reasonstringReason for refund
get_ overdue_ payments
Get overdue payments for the authenticated user's organization
Parameters
pagenumber1Page number for pagination
limitnumber10Number of items per page
relationsArray<string>Relations to include
currencystringUSDEURGBPJPYCADAUDCHFCNYFilter by currency
search_ payments
Search payments by notes, invoice number, or client name
Parameters
querystringrequiredSearch query
limitnumber20Maximum number of results
statusstringPENDINGPROCESSINGCOMPLETEDFAILEDCANCELLEDREFUNDEDFilter by payment status
paymentMethodstringCREDIT_CARDDEBIT_CARDBANK_TRANSFERPAYPALSTRIPECASHCHECKOTHERFilter by payment method
currencystringUSDEURGBPJPYCADAUDCHFCNYFilter by currency