Skip to content

fluent-booking/get-payments

Booking orders and their transactions. Lists orders with filters, or returns one order in full with its transactions and the booking it belongs to when order_id is given. Transactions come back as {items, total} and say so when an order has more than the 50 they return. Read only — refunds are not available through MCP.

Ability

  • Kind: Tool
  • Toolset: payments
  • Edition: PRO
  • Mode: read-only
  • Permission callback: PermissionGate::readGate()
  • Handler: PaymentTools::getPayments()
  • Source: fluent-booking-pro/app/Modules/MCP/PaymentTools.php:72

Input schema

ParameterTypeRequiredDescription
order_idintegerNoReturn this one order in full instead of the list.
booking_idintegerNoOrders belonging to one booking.
statusarray<string>NoFilter by order status, e.g. paid, draft, refunded.
payment_methodstringNoe.g. stripe, paypal, offline.
fromstringNoOrders created on or after this date, Y-m-d.
tostringNoOrders created on or before this date, Y-m-d.
timezonestringNoIANA timezone for the *_local times in the response. Defaults to the site timezone.
pageintegerNo
per_pageintegerNo

Example call

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "fluent-booking/get-payments",
    "arguments": {}
  }
}