get_customer
Get Customer
Fetch detailed information about a specific customer by their ID.
Ask your agent in plain language. Each of these maps to a real tool on the server.
get_customer
Fetch detailed information about a specific customer by their ID.
update_plan
Update an existing payment plan's configuration. Supports modifying pricing, billing settings, visibility, and display options.
refund_payment
Issue a full or partial refund for an existing payment. Requires specifying the payment, amount to refund, and a reason.
create_plan
Create a new payment plan for collecting one-off or recurring payments. Supports configuring pricing, billing intervals, setup fees, donation mode, and more.
list_plans
Retrieve a paginated list of payment plans. Plans represent products or services that customers can pay for, including one-off payments and recurring subscriptions.
get_company
Retrieve the current company's profile and statistics. Returns company details along with payment stats for the last 30 days.
update_company
Update the current company's profile settings, including display name, legal name, address, contact information, and branding options shown on receipts and payment pages.
list_subscriptions
Retrieve a paginated list of subscriptions, ordered by most recent payment first. Includes associated customer and plan data.
cancel_subscription
Stop future billing for a subscription. The subscription remains active until the current billing period ends.
list_payments
Retrieve a paginated list of payments, ordered chronologically with most recent first. Use **Get Payment** to fetch full details including customer and subscription data for a specific payment.
list_customers
Retrieve a paginated list of customers, ordered chronologically with most recent first. Customers are created automatically when they make a payment.
get_payment
Fetch detailed information about a specific payment, including associated customer, subscription, and plan data.
get_subscription
Retrieve a subscription by ID, including its customer, plan, and payment history.
who_am_i
Retrieve the currently authenticated Payhere user and verify which account the API key belongs to.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Manage payment plans, subscriptions, customers, and refunds. Create and update one-off or recurring payment plans with configurable pricing, billing intervals, and setup fees. List and view payments, customer records, and subscription details. Cancel subscriptions and issue full or partial refunds. Retrieve company profile and statistics.
Common questions about connecting Payhere to AI agents with Metorial.