Alipay+ DocsAlipay+ Docs

How to consult payment method information

To render the payment method page with the information about the Alipay+ payment method, you need to consult the information first. This section introduces how to consult the Alipay+ payment method information, including the Alipay+ logo, brand name, and promotion information.

Note: The Alipay+ logo mentioned in this topic refers to:

  • the default Alipay+ logo that displays only the Alipay+ brand if no aggregated logo is preconfigured.
  • aggregated logos that display both the Alipay+ brand and other wallet brands if aggregated logos are preconfigured.

In general, Alipay+ provides the following three methods for you to consult the payment method information:

Method 1: Integrate the Alipay+ SDK

Your client side integrates the Alipay+ ACQP Client SDK (Alipay+ SDK for short) to consult the payment method information. For more information, see Integrate the Alipay+ SDK.

Method 2: Request JSON data from Alipay+ CDN server

You call the Alipay+ CDN server to request JSON data and parse the data to obtain payment method information, which includes whether the Ailpay+ payment method is available and if available, detailed information about Alipay+ logos and promotion campaigns. For more information, see Request JSON data from the Alipay+ CDN server.

Method 3: Request logo assets from Alipay+ CDN server

You call the Alipay+ CDN server to request Alipay+ logo assets. For each request, only one logo image is returned if the Alipay+ payment method is available. For more information, see Request logo assets from the Alipay+ CDN server.

Which method to use

You can refer to the following flowchart to select the method that best suits your needs when consulting the Alipay+ payment method information:

image.png

Figure 1: Flowchart of selecting the method for consulting payment method info