# PayPing [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/sepehr071/payping-mcp  
**GitHub Stars:** 1  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/payping

## Description
PayPing merchant account for agents: balance, sales, invoices; create invoices and payment links.

## Tools
Capabilities this server exposes over MCP:

- **payping_get_profile** — Show the PayPing account behind PAYPING_TOKEN: username, name, email, phone and verification flags.
    Use first to confirm the token works.
- **payping_get_balance** — Current PayPing wallet balance in Toman (money received and not yet withdrawn).
- **payping_get_sales_summary** — Sales totals for a period: total amount (Toman), transaction count and daily averages.
    Defaults to the last 30 days.
- **payping_list_transactions** — List payments (newest first) with amount (Toman), payer, description, isPaid and payment code, plus the
    total count for the same filter. Use payping_get_payment with a code for full detail.
- **payping_get_payment** — One payment by payment code: amount, dates, payer, card, fees, refund state, paymentStatus plus
    status_text. Use it to check whether a payment really succeeded.
- **payping_list_withdrawals** — List settlements (withdrawals to your bank account): date, amount (Toman), code and whether it was paid
    out, plus the total count.
- **payping_get_withdrawal** — Detail of one settlement by code: amount (Toman), request and payout dates, IBAN, bank tracking number.
- **payping_list_customers** — List saved customers (code, name, phone, email, business name) with the total count.
- **payping_get_customer** — One customer by code: name, contact details, address, national id, memo.
- **payping_list_products** — List products (PayPing "financial items"): code, title, price (Toman), stock, active, has a payment link.
- **payping_get_product** — One product by code: title, description, price (Toman), stock, tax, image, category.
- **payping_list_coupons** — List discount coupons: name, type (0 = percent, 1 = Toman), amount, code, active, products it applies to.
- **payping_get_coupon** — One coupon by code: amount, expiry, max uses, number of buyers and their total spend.
- **payping_list_invoices** — List invoices: code, number, title, status (0 draft, 1 awaiting payment, 2 paid, 3 overdue, 4 cancelled),
    total (Toman), due and paid dates, customer.
- **payping_get_invoice** — One invoice by code with its items, customer, status and payment code, plus `url`, the public page where
    the customer pays.
- **payping_create_customer** — Save a new customer in the PayPing account and return it with its `code` (needed for invoices).
    Creates real data: confirm the details with the user before calling.
- **payping_create_product** — Create a product (financial item) and return its `code`. Then payping_create_payment_link makes a public
    payment page for it. Creates real data: confirm title and price with the user before calling.
- **payping_create_payment_link** — Make a permanent public payment page for a product; returns its `url` (https://ppng.ir/d/...).
    Creates real data: confirm with the user before calling.
- **payping_create_coupon** — Create an active discount coupon and return its `code`. Creates real data: confirm with the user first.
- **payping_create_invoice** — Create an invoice for a saved customer; returns `code`, `payCode` and `url` (public pay page). Not sent:
    call payping_send_invoice or share the url. Creates real data: confirm customer, items and prices with the
    user before calling.
- **payping_send_invoice** — Send an invoice to its customer by SMS/email from PayPing. Messages a real person: confirm with the user
    before calling.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "payping": {
    "command": "uvx",
    "args": ["payping-mcp"],
    "env": {
      "PAYPING_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `PAYPING_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What PayPing does

PayPing exposes a merchant account on PayPing through 21 MCP tools. Agents can inspect the account profile, wallet balance, sales totals, transactions, payment details, bank settlements, customers, products, coupons, and invoices. Monetary values are returned in Toman, and dates are represented in UTC.

The write operations cover customer creation, product creation, reusable product payment links, discount coupons, invoices, and invoice delivery by SMS or email. Creating a customer, product, coupon, or invoice changes the real PayPing account. Sending an invoice also contacts the customer, so an agent should show the intended details and obtain confirmation before invoking those operations.

## How it works

The server runs on the user's machine and communicates directly with PayPing using the `PAYPING_TOKEN` credential. It uses stdio as its MCP transport, so an MCP-compatible client launches the process and exchanges tool calls locally rather than using a hosted relay.

A practical invoice flow is to find or create the customer, create the invoice with its items and prices, then send it after approval. The invoice response includes a code, payment code, and public payment URL. For product sales, an agent can create a product first and then request a permanent public payment page for it.

List operations return compact JSON and at most 50 records at a time, along with a total count. Offset-based pagination can retrieve additional records. Codes returned for customers, products, and invoices are passed to later tools that need a specific record.

## Setup and configuration

Install the package with `uvx payping-mcp`; `pip install payping-mcp` is also supported. The uv-based setup requires Python 3.10 or newer and an installed `uv` command. Configure the server in an MCP client with the required `PAYPING_TOKEN` environment variable. `PAYPING_MCP_PROXY` can optionally specify an HTTP proxy.

Create the token in the PayPing merchant panel under Connections and Developers. PayPing displays the token only once, and new tokens require PayPing approval before use. The token's scopes control which groups of tools work: payment reporting, customer, product, coupon, and invoice read or write scopes are available. The server does not use the payment-creation scope.

After configuration, call `payping_get_profile` first to verify the token. A complete PayPing merchant profile is required for token approval.

## Tools and capabilities

- Read the PayPing profile and wallet balance.
- Calculate sales totals, transaction counts, and daily averages for a period.
- Review payments, including payment status, payer, fees, cards, and refund state.
- List and inspect withdrawals sent to the linked bank account.
- Browse customers, products, coupons, and invoices.
- Create customers, products, coupons, payment links, and invoices.
- Send an invoice through PayPing by SMS or email.
- Retrieve public payment URLs for invoices and product payment pages.

## Limitations and notes

The server operates on the authenticated user's own PayPing account and is not read-only. It has no tools for withdrawing funds, refunding or reversing payments, deleting records, or taking raw payments. Balance and sales-summary calls use dashboard endpoints that PayPing may reject for some API tokens, while other tools can continue to work.

Use the payment-detail tool to confirm whether a payment actually succeeded rather than relying only on a transaction list. PayPing amounts are Toman, not Rial. The server is unofficial and intended for PayPing accounts in Iran.

_Full upstream README: https://allmcps.com/mcp/payping/readme_

