• PAYMENT
  • MONITOR
  • RECONCILE
  • HUMAN

How to generate QR code payments with your AI

Connect UnionPay Open Platform to your agent. Once connected, your AI handles the creation of scanable codes and tracks incoming payments.

Ask AI about this page

Short answer

How can my AI handle UnionPay QR payments?

Your AI uses the UnionPay Open Platform to build scanable QR codes and check if a customer has actually paid. You get a direct way to manage the payment lifecycle through a chat interface. This setup covers everything from code generation to real-time status updates.

Payment outcomes

What you get

The results of letting your AI manage the UnionPay flow.

PAYMENT

Instant QR generation

Your AI creates a unique scanable code for a specific amount. You get a ready-to-use asset for your customers immediately.

MONITOR

Live status tracking

The agent checks the transaction status to see if a payment cleared. You'll know the second a customer completes their scan.

RECONCILE

Automated verification

The AI confirms the transaction details against the expected amount. This removes the need to manually check bank statements.

HUMAN

Manual intervention

If a transaction fails or a status remains pending, the AI flags it for you. You decide how to handle disputed or stuck payments.

The workflow

What your AI does when a payment is requested.

The AI handles the technical heavy lifting of the UnionPay API.

  1. Create the code

    The agent takes your payment details and builds a scanable QR code. This is the first step in starting a transaction.

    generate_qr_code
  2. Distribute the link

    Once the code is ready, your AI provides the data needed to show it to the customer. You can then pass this to your interface.

    generate_qr_code
  3. Watch the status

    The agent periodically checks the UnionPay system to see if the money has moved. It looks for changes in the transaction state.

    get_qr_transaction_status
  4. Confirm completion

    The AI verifies that the status has moved to a successful state. It then notifies you that the payment is finalized.

    get_qr_transaction_status

Try it

Copy these to start.

Use these prompts to trigger the UnionPay tools.

Starting points

These are starting points. Swap out the amounts and currency codes for your actual needs.

UnionPay Open Platform Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_ggx22RNM5pnNgKtLpJ5fHn1WV52rcnpTQgNUxGF7/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — UnionPay Open Platform capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "unionpay-open-platform-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_ggx22RNM5pnNgKtLpJ5fHn1WV52rcnpTQgNUxGF7/mcp"
    }
  }
}
Copy into chat04
  • Generate a UnionPay QR code for 50 CNY.

  • Check the status of my last UnionPay QR transaction.

  • Create a QR code for a 120 USD payment via UnionPay.

  • Is the QR code I just generated for the customer showing as paid yet?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect UnionPay Open Platform once, then ask.

Just link your account once. Your credentials stay encrypted and secure on our side while your agent takes over the work.

Connect UnionPay Open Platform to your AI

FAQ

How this task behaves

  • 01

    Can my AI refund a payment?

    No. The current tools only allow for generating codes and checking status. You must handle refunds through your UnionPay dashboard.

  • 02

    Does the AI store my UnionPay login?

    No. Vinkius manages the connection securely so your agent can use the tools without seeing your raw credentials.

  • 03

    Can the AI change the payment amount after the QR is made?

    No. Once a QR code is generated, the amount is fixed. You would need to generate a new code for a different amount.

  • 04

    How does the AI know if a payment is successful?

    The AI uses the status tool to poll the UnionPay platform for updates on the specific transaction.

  • 05

    Can the AI delete transaction history?

    No. The AI can only read the status of existing transactions. It cannot modify or delete records in the UnionPay system.

  • More questions about UnionPay Open Platform? The Connector page answers them. See everything the UnionPay Open Platform Connector can do

Connect UnionPay Open Platform to Claude, Cursor, ChatGPT & more