BlueSuite Developers
MCPTool reference

Payments

BlueSuite MCP tools for payments

See connection and authentication and workflow rules before calling these tools.

Related REST API and behavior.

list_payments

List payments with optional filtering by parent object (invoice/quote), status, and pagination.

Parameters

FieldType / accepted valuesRequiredDetails
pageintegerNoPage number (default: 1)
per_pageintegerNoResults per page (default: 25) minimum: 1. maximum: 100.
sort_by"id", "amount", "status", "created_at", "modified_at"NoField to sort by. Unknown values fall back to the default sort.
sort_direction"asc", "desc"NoSort direction
object_idintegerNoFilter by parent object ID (invoice or quote ID)
object_type"invoice", "quote"NoFilter by parent object type: 'invoice' or 'quote'
status"pending", "completed", "failed", "refunded"NoFilter by payment status

Result

FieldType / accepted valuesRequiredDetails
dataarray of objectYesThe matching records for this page.
paginationobjectNoHow many more pages of results exist. Absent when the API returned an unpaged result.
pagination.pageintegerWhen parent suppliedCurrent page number, 1-based.
pagination.per_pageintegerWhen parent suppliedNumber of results per page.
pagination.total_pagesintegerWhen parent suppliedTotal number of pages available.

create_payment

Record money already received against an invoice or quote. For "mark invoice paid", set object_type="invoice", category="payment", settle_remaining=true and omit amount. The server records only the outstanding balance, accounting for existing payments and deposits, and then updates the invoice status. Repeating settlement of an already covered balance creates no payment. For a specific partial payment, supply amount. Omitted method defaults to other. Supply created_at only when the user gives a payment date. This records a manual payment; it does not charge a card.

Parameters

FieldType / accepted valuesRequiredDetails
object_idintegerYesParent object ID (invoice or quote ID)
object_type"invoice", "quote"YesParent object type: 'invoice' or 'quote'
category"deposit", "payment"YesPayment category: 'deposit' for deposit payments, 'payment' for regular payments
amountnumberNoAmount received for a specific payment. Omit when settle_remaining is true.
settle_remainingbooleanNoSet true to mark an invoice paid by recording its remaining balance. Only for completed manual invoice payments, without a tip.
created_atstringNoWhen payment was received, as an ISO timestamp. Use the user-provided date in the workspace timezone; omit if unspecified. Format: date-time.
tip_amountnumberNoTip amount (default: 0) minimum: 0.
status"pending", "completed", "failed", "refunded"NoPayment status (default: 'completed')
gateway"manual", "stripe:connect"NoPayment gateway (default: 'manual')
method"other", "credit_card", "cash", "check", "bank_transfer", "ach"NoPayment method: 'cash', 'check', 'credit_card', 'bank_transfer', 'ach', or 'other' (default: 'other')
notesstringNoPayment notes. Omit when not needed.

Result

FieldType / accepted valuesRequiredDetails
dataobject or nullYesThe affected record, or the result of the operation. Null when nothing matched.

get_payment

Get a single payment by ID

Parameters

FieldType / accepted valuesRequiredDetails
idintegerYesPayment ID

Result

FieldType / accepted valuesRequiredDetails
dataobject or nullYesThe affected record, or the result of the operation. Null when nothing matched.

update_payment

Update an existing payment. Changing amount or status will automatically recalculate the parent object status.

Parameters

FieldType / accepted valuesRequiredDetails
idintegerYesPayment ID
amountnumberNoPayment amount
tip_amountnumberNoTip amount minimum: 0.
status"pending", "completed", "failed", "refunded"NoPayment status
method"other", "credit_card", "cash", "check", "bank_transfer", "ach"NoPayment method
category"deposit", "payment"NoPayment category
notesstringNoPayment notes

Result

FieldType / accepted valuesRequiredDetails
dataobject or nullYesThe affected record, or the result of the operation. Null when nothing matched.

delete_payment

Delete a payment. This will automatically recalculate the parent object status (e.g., invoice may revert from "paid" to "partially_paid" or "sent").

Parameters

FieldType / accepted valuesRequiredDetails
idintegerYesPayment ID

Result

FieldType / accepted valuesRequiredDetails
dataobject or nullYesThe affected record, or the result of the operation. Null when nothing matched.

The downloadable tool schemas include the full input and output contracts. Tables describe schema-level required fields; cross-field rules still apply.

On this page