Use Cases

Real-world examples of using the Pine Labs MCP Server with AI assistants — payment links, order lookup, cancellations, and resends.

See how Pine Labs MCP Server turns natural-language prompts into Pine Labs API calls. Each example below shows the prompt you give your AI assistant and the tool the MCP Server invokes behind the scenes.

Talk to Pine Labs through your AI assistant

1. Generate a payment link

💬 Prompt: "Send a ₹500 payment link to john@example.com"

The assistant invokes create_payment_link with:

  • amount_value: 50000
  • currency: "INR"
  • customer_email: "john@example.com"

→ Returns a short URL the customer can use to pay instantly.

2. Look up an order

💬 Prompt: "What's the status of order v1-4405071524-aa-qlAtAf?"

The assistant calls get_order_by_order_id and returns the full order payload — status, payment method, captured amount, customer info, and timestamps.

3. Cancel a payment link

💬 Prompt: "Please cancel payment link pl-v1-5757575757-aa-hU1rUd"

The assistant triggers cancel_payment_link for that ID. The link transitions to CANCELLED and can no longer accept payments.

4. Re-notify a customer

💬 Prompt: "Resend the payment link notification for pl-v1-5757575757-aa-hU1rUd"

The assistant calls resend_payment_link_notification so the customer receives the link again on the original channel (email or SMS).

What you can build

Hosted checkout experiences

Launch fully hosted, customizable checkout pages with multi-payment support and lightning-fast integration.

Integrate Now →

Accept payments online

Quickly integrate Cards, UPI, Wallets, and NetBanking. AI-generated code includes OTP flows, error handling, and secure processing.

Integrate Now →

Payment links and QR codes

Dynamically generate payment links and QR codes with expiry, notifications, and custom configurations.

Integrate Now →

Subscriptions and recurring payments

Automate subscription billing, mandate management, and retry mechanisms with AI assistance.

Integrate Now →

Refund automation

Process refunds against completed payments using natural-language prompts.

Integrate Now →

Order management

Create, capture, cancel, and look up orders directly from your editor or chat interface.

Integrate Now →
Try it yourself

After setting up the MCP Server, open your AI assistant and try: "List all available Pine Labs tools." If everything is configured correctly, you'll see the full set of MCP tools.

Next steps

Installation Guide

Learn how to set up the Pine Labs Online MCP Server — for code execution.

Get Started →

Available Tools

List of all available tools in the Pine Labs Online MCP Server for code execution.

Explore Tools →
New chat
Responses are generated using AI and may contain mistakes.
Hi! I'm Pine, your AI developer assistant. Ask me anything about Pine Labs APIs, integrations, or troubleshooting.

Tip: you can create a new chat with + E