FawryPay cash payments (unofficial)

v0.1.0
io.github.mohamedaly-cloud/masr-pay-mcp-unofficial Checked 3 days ago Published 1 month ago

Unofficial MCP server for FawryPay Pay-at-Fawry cash payments in Egypt.

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

create_cash_payment Create a Pay-at-Fawry cash payment

Create a Fawry reference number so a customer can pay an order in CASH at any Fawry outlet in Egypt. Use it when the user wants to charge someone who will pay cash (e.g. "charge Ahmed 350 EGP for order 42, he'll pay cash"). Returns a 9-digit reference number, the total the customer pays (order amount plus any Fawry fees, in EGP) and the deadline; pass these on to the customer. Nothing is charged until the customer pays at the outlet. Each order_id can be used for only one payment. Failures: a rejected merchant code or signature means the server's credentials are wrong (not the customer's fau…

ParameterTypeDescription
amount_egp *Amount in Egyptian pounds (EGP), at most two decimals, e.g. 350 or 99.50.
customer_email *stringCustomer's email address.
customer_mobile *stringCustomer's Egyptian mobile, e.g. 01012345678 (+20 forms are accepted).
description *stringWhat the payment is for, e.g. 'Order 42'.
order_id *stringThe merchant's own order number, e.g. '42' or 'ORD-2026-0042' (letters, digits, . _ - only). It identifies the payment in every later call.
customer_nameOptional customer name.
expiry_hoursnumberHours the customer has to pay (default 72, max 720).
languagestringLanguage for Fawry's customer-facing messages: 'en-gb' or 'ar-eg'.

get_payment_status Check a Pay-at-Fawry payment

Check whether the customer has paid an order (e.g. "did Ahmed pay for order 42?"). Look up by the same order_id used in create_cash_payment. Returns a normalized status (awaiting_payment, paid, expired, canceled, refunded, failed or unknown), the raw Fawry status, when it was paid, and amounts in EGP. Safe to call as often as needed; it changes nothing. "Order not found" means no payment was ever created for that order_id.

ParameterTypeDescription
order_id *stringThe merchant's own order number, e.g. '42' or 'ORD-2026-0042' (letters, digits, . _ - only). It identifies the payment in every later call.