Alipay Connect
my.getSiteInfo
Get site-specific information for Alipay Connect.
Use this API to obtain the site information assigned by Alipay+, which is used in Alipay+ business, such as the site name. Requires Appx 1.24.6 or higher.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get site-specific information for Alipay Connect.
| Property | Type | Required | Description |
|---|---|---|---|
| success | Function | No | Callback with site info |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
| Property | Type | Description |
|---|---|---|
| siteName | String | The site name assigned by Alipay+ which can be used in Alipay+ business. Supported values: EASYPAISA, DANA, GCASH, TRUEMONEY, TNG, BKASH, KAKAOPAY, ALIPAY_CN, ALIPAY_HK |
my.getSiteInfo({
success: (res) => {
console.log('Site:', res.siteName);
}
});