TeePayDocs
AI & MCP

WhatsApp ordering

Take orders in WhatsApp with an AI assistant and get paid through TeePay checkout.

Your WhatsApp automation platform handles the conversation; TeePay's MCP server handles prices and payment.

The customer asks

A customer messages your WhatsApp number. Your automation platform passes the conversation to an AI assistant connected to the Checkout MCP.

The assistant prices the order

The assistant calls list_products, then preview_itemized_checkout, and tells the customer the total.

The customer confirms

After the customer agrees, the assistant calls create_itemized_checkout with customer_confirmed_total_minor set to the confirmed total, and sends the returned checkout_url.

The customer pays

The customer pays on TeePay's hosted checkout from their phone.

Confirm

The assistant calls get_checkout_status, or your server receives the payment.completed webhook. Deliver only on payment_verified.

On this page