Skip to main content
Glama
alipay

AlipayPlus MCP Server

Official
by alipay

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLIENT_IDYesMerchant client ID for identity verification
GATEWAY_URLNoAlipayPlus API gateway URLhttps://open-sea-global.alipay.com
MERCHANT_IDNoMerchant IDM0000000001
MERCHANT_MCCNoMerchant Category Code5411
MERCHANT_NAMENoMerchant nameAlipayplus MCP
MERCHANT_REGIONNoMerchant region codeCN
ALIPAY_PUBLIC_KEYYesAlipay RSA public key for response verification
PAYMENT_NOTIFY_URLNoPayment result notification callback URLhttp://localhost:8080/notify
SETTLEMENT_CURRENCYNoCurrency for settlement
MERCHANT_PRIVATE_KEYYesMerchant RSA private key for request signing
PAYMENT_REDIRECT_URLNoURL to redirect after payment

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_paymentA

The tool is used by the Acquiring Service Provider (ACQP) to send a request to Alipay+ to place orders.

    Args:
        payment_request_id: TThe unique ID assigned by a merchant to identify a payment request. Maximum length: 64 characters
        order_amount_currency: The transaction currency that is specified in the contract. A 3-letter currency code that follows the ISO 4217 standard.Maximum length: 3 characters
        order_amount_value: The amount to charge as a positive integer in the smallest currency unit. (That is, 100 cents to charge $1.00, or 100 to charge JPY 100, a 0-decimal currency).Value range: 1 - unlimited
        order_description: Summary description of the order, which is used for user consumption records display or other further actions.Maximum length: 256 characters
    
query_paymentA

The tool is used by the Acquiring Service Provider (ACQP) to query the payment result if no payment result is received after a certain period of time.

    Args:
        payment_request_id: The unique ID that is assigned by a merchant to identify a payment request.Maximum length: 64 characters
    
cancel_paymentA

The tool is used by the Acquiring Service Provider (ACQP) to proactively cancel a payment when no payment result is received after the payment expires, or when the ACQP closes the payment before receiving the payment result.

    Args:
        payment_request_id: The request ID of the payment to be canceled, assigned by the ACQP to identify the original payment order.Maximum length: 64 characters
    
create_refundA

The tool is used by the Acquiring Service Provider (ACQP) to initiate a refund of a successful payment.The refund can be full or partial. A transaction can have multiple refunds as long as the total refund amount is less than or equal to the original transaction amount.

    Args:
        payment_request_id: The request ID of the payment to be refunded, assigned by the ACQP to identify the original payment order.Maximum length: 64 characters
        refund_request_id: The unique ID that is assigned by the ACQP to identify a refund request. Maximum length: 64 characters.
        refund_amount_value: The amount to charge as a positive integer in the smallest currency unit. (That is, 100 cents to charge $1.00, or 100 to charge JPY 100, a 0-decimal currency).Value range: 1 - unlimited
        refund_currency: The currency code of the amount. The value of this parameter must be an alphabetic code that follows the ISO 4217 standard, for example, "EUR" for Euros.
    
customs_declareA

The tool is used by the Acquiring Service Provider (ACQP) to declare a payment to customs or update an existing declaration.

    Args:
        payment_request_id: The unique ID that is assigned by the ACQP to identify a payment request for the order.Maximum length: 64 characters
        customs_declaration_request_id: The unique ID that is assigned by the merchant to identify a customs declaration request. This parameter is not provided for the customs. Maximum length: 64 characters
        declaration_amount_value: The customs declaration amount as a natural number.Value range: 1 - unlimited
        customs_code: The customs code (in either uppercase or lowercase). Maximum length: 128 characters
        merchant_customs_code: The merchant code that is registered in the customs system. Maximum length: 128 characters
        merchant_customs_name: The merchant name that is registered in the customs system. Maximum length: 256 characters
        is_split: This parameter indicates whether the payment order needs to be split for declaration. Valid values are:
            true: indicates that order splitting is needed.
            false: indicates that order splitting is not needed.
        reference_order_id: The unique ID that is assigned by the merchant to identify an order that needs to be declared to the customs. Maximum length: 64 characters
    
query_customs_declareA

The tool is used by the Acquiring Service Provider (ACQP) to inquire about the status of declared payments.

    Args:
        declaration_request_ids: The unique declaration request IDs that are assigned by the merchant to identify declaration requests. Up to 10 declaration request IDs are supported at a time. Maximum length: 64 characters. Maximum size: 10 elements
    

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alipay/global-alipayplus-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server