getAcceptanceMarkLogos
The getAcceptanceMarkLogos API is used by the MPP app to obtain the logos of acceptance marks that are supported by Alipay+ in the specific region. The MPP can then display the logos on the Scan page in the Merchant-presented Mode Payment scenario, or on the Payment Code page in the User-presented Mode Payment scenario.
Note:
- The API may return an empty array when it is called for the first time after the MPP app integrates the SDK.
- Display the acceptance-mark logos according to the following specifications:
- Logo without background: Height fixed at 128px; width auto-adjusts to the logo. For example,
- Logo with white background: Height fixed at 112px; width auto-adjusts to the logo. For example,
Method signature
- (NSArray<MPPAcceptanceMarkLogo *> *)getAcceptanceMarkLogos:(PaymentScenario)scenario withRegion:(NSString *)region;Request parameters
Name | Type | Length | Description | Required |
scenario | NSString | / | The payment scenario in which the MPP wants to display the logos. Only the following two values are valid:
| M |
region | NSString | / | The region where the MPP wants to get the logos. It is recommended to specify the user's accurate region.
| O |
Response parameters
Type | Length | Description | Required |
NSArray<MPPAcceptanceMarkLogo *> | / | The logos that need to be displayed. | O |
Sample
NSArray<MPPAcceptanceMarkLogo *> *logos = [[MPPAlipayPlusClient shared] getAcceptanceMarkLogos:@"PAYMENT_SCENARIO_UPM" withRegion:@"PH"]; 


