AlipayPlus

AlipayPlus

Connect your AI Agents to AlipayPlus Checkout Payment.

7
Stars
2
Forks
0
Releases

Overview

The AlipayPlus MCP Server is a Model Context Protocol (MCP) compatible server that wraps Ant International's AlipayPlus payment APIs into standardized MCP tools. It enables AI assistants to securely process payment-related operations during conversations. Through this server, you can create payments, query the status of transactions, cancel payments, and perform refunds directly within AI interactions. It also supports customs declarations and status queries for customs declarations, enabling end-to-end flows for cross-border or regulated transactions. The server exposes functions such as create_payment, query_payment, cancel_payment, create_refund, customs_declare, and query_customs_declare. Prerequisites include Python 3.11+, and a valid AlipayPlus merchant account with client ID, merchant private key, Alipay public key, and a payment notify URL. Integration can be done by configuring the MCP client to run the MCP server as a tool, with gateway URL and keys provided via environment variables. The project emphasizes secure key handling and uses standard MCP tooling for operation.

Details

Owner
alipay
Language
Python
License
MIT License
Updated
2025-12-07

Features

Create Payment

Generate payment requests for processing transactions.

Query Payment

Retrieve transaction status and information for submitted payment requests.

Cancel Payment

Cancel payments when results are not returned within expected timeframes.

Create Refund

Initiate full or partial refunds against successful payments.

Customs Declare

Declare a payment to customs or update an existing declaration.

Query Customs Declaration

Inquire about the status of declared payments.

Tags

AlipayPlusMCPPaymentsRefundsCustomsAI agentsAPIsIntegrationSecurity