MoonClerk MCP by usefulapi

v1.20.1
io.usefulapi/moonclerk Checked 2 days ago Published 1 day ago

Read MoonClerk payment forms, customers (plans with subscriptions) and payments.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

moonclerk_list_forms List payment forms

List the MoonClerk payment forms: id, title, currency, payment_volume (cents), successful_checkout_count and created/updated times. Use the form ids to filter customers (plans) and payments. Read-only. GET /forms.

ParameterTypeDescription
countintegerRows to return, 1-100 (default 25).
offsetintegerStart position (default 0). Pass the previous reply's next_offset to get the next page.

moonclerk_get_form Get payment form

One payment form by id: title, currency, payment volume and checkout count. Read-only. GET /forms/{id}.

ParameterTypeDescription
form_id *integerMoonClerk form id (from moonclerk_list_forms).

moonclerk_list_customers List customers (plans)

List MoonClerk customers, which the MoonClerk web app calls "Plans": each is one payer with their subscription (status, plan amount and interval, next payment date, trial and cancel dates), payment method (brand, last 4), coupon discount, custom form fields and the form they used. Filter by form, status (active, canceled, expired, past_due, pending, unpaid), sign-up date range or next-payment date range, e.g. past_due plans or renewals due this month. The payer's management link and checkout token are never returned. Read-only. GET /customers.

ParameterTypeDescription
checkout_fromstringCustomers created on or after this date.
checkout_tostringCustomers created on or before this date.
countintegerRows to return, 1-100 (default 25).
form_idintegerOnly customers who signed up through this form.
next_payment_fromstringSubscriptions due to bill on or after this date.
next_payment_tostringSubscriptions due to bill on or before this date.
offsetintegerStart position (default 0). Pass the previous reply's next_offset to get the next page.
statusstringSubscription status.

moonclerk_get_customer Get customer (plan)

One MoonClerk customer (plan) by id with the full subscription, payment method, discount, checkout amounts (subtotal, fee, total, upfront amount, trial days) and custom field answers. The payer's management link and checkout token are never returned. Read-only. GET /customers/{id}.

ParameterTypeDescription
customer_id *integerMoonClerk customer id (from moonclerk_list_customers).

moonclerk_list_payments List payments

List MoonClerk payments (charges): date, status (successful, refunded, failed), amount, Stripe fee and amount refunded in cents, currency, payer name and email, payment method, form, customer id (recurring payments only), coupon and custom fields. Filter by form, customer, status or charge-date range, e.g. failed payments this month or refunds for one plan. Amounts are in cents. Read-only. GET /payments.

ParameterTypeDescription
countintegerRows to return, 1-100 (default 25).
customer_idintegerOnly payments of this customer (plan).
date_fromstringPayments charged on or after this date.
date_tostringPayments charged on or before this date.
form_idintegerOnly payments made through this form.
offsetintegerStart position (default 0). Pass the previous reply's next_offset to get the next page.
statusstringPayment status.

moonclerk_get_payment Get payment

One MoonClerk payment by id with amounts (cents), Stripe fee, refunds, payer, payment method, Stripe references (charge, customer, invoice), coupon, custom fields and one-time checkout data. The checkout token is never returned. Read-only. GET /payments/{id}.

ParameterTypeDescription
payment_id *integerMoonClerk payment id (from moonclerk_list_payments).