Skip to navigation

get_payments

Read payment methods, acceptors, requests, payments and payment schedules

Live server: available on mcp.solvimon.com as well as on the test server.

Read-only view of how invoices get paid and how collection went.

Actions: list, get, and method_options on payment_acceptors

Resource types: payment_methods, payment_acceptors, payment_requests, payments, payment_schedules

  • An acceptor is how a billing entity’s invoices can be paid. A payment method is a customer’s stored instrument; an ACTIVE direct-debit method is the mandate.
  • “Can we charge this customer?” is payment_methods with customer_id and status: ACTIVE. Failed or on-hold payment requests explain a missing payment.
  • IBANs are masked, cards are cut to the last four digits, and tokens and gateway credentials are never returned.
Can we charge this customer?
{"action": "list", "resource_type": "payment_methods", "filter": {"customer_id": "cust_AbD3DqausjOYiMNDZY11F", "status": "ACTIVE"}}

Example prompts

  • “How can customers pay our invoices?”
  • “Can we charge Acme Inc. automatically, or do they pay by link?”
  • “Why didn’t Acme’s last payment come in?”
  • “Which collection attempts failed, and what did the PSP say?”
  • “Which payment methods can a customer in Germany use?”

Example output

Prompt: “How can customers pay our invoices?”

Tool call:

{
"action": "list",
"resource_type": "payment_acceptors",
"filter": {"billing_entity_id": "bile_IwDsM40vxDPmxpCAiq1A", "status": "ACTIVE"}
}

Response (trimmed):

{
"data": [
{
"id": "paya_UwDsM40vxDPmAPCSib1A",
"name": "Adyen Payments",
"type": "PAYMENT_GATEWAY",
"status": "ACTIVE",
"billing_entity_name": "Solvimon B.V.",
"payment_gateway": {
"integration_variant": "ADYEN",
"collection_type": "LINK",
"store_payment_method": true,
"auto_charge_payment_method": true,
"adyen": {
"allowed_payment_methods": ["scheme"],
"auto_rescue": {"enabled": true, "period": {"type": "DAY", "value": 30}}
}
}
}
]
}

Claude’s answer: Invoices from Solvimon B.V. are paid through one active acceptor, Adyen Payments. Customers get a payment link and pay by card; the card is stored and charged automatically on later invoices, and failed charges are retried for up to 30 days.