Request logo assets from the Alipay+ CDN server
Alipay+ allows you to request logo assets from the Alipay+ CDN server. With such information, you need to display Alipay+ as a payment method correctly, including:
- display Alipay+ as a payment method only when the .png asset exists
- display Alipay+ with the logo in the .png asset
Construct the CDN URL
To request the logo asset, you need to construct a CDN URL as follows:
- Production environment:
- Sandbox environment:
Note: All parameters in the CDN URL are required. See the following table for details about how to specify values for the parameters.
The following table lists the request parameters in the CDN URL:
The unique ID that is assigned by Alipay+ to identify an ACQP.
Specify different values for this parameter in the production and sandbox environment as follows:
The unique ID that is assigned by the ACQP to identify a merchant. The value of this parameter must be SHA256 encoded to convert special characters.
The type of payment product that is supported by the merchant.
Valid values are:
The payment currency that is supported by the merchant. The value of this parameter must be an alphabetic code that follows the ISO 4217 standard, for example, "EUR" for Euros.
This parameter is reserved for further use. Set the value to
The pattern of the logo, such as
Note: If you do not use aggregated logos, set the value of this parameter to
No response parameters are returned. Instead, the Alipay+ CDN server directly returns the logo assets.
Sample CDN URL
Call from client side
After the CDN URL is constructed, you can call the Alipay+ CDN server from your client side. The following sample shows how to request logo assets from your client side.