Alipay+ DocsAlipay+ Docs

lock

Call the lock API to lock the card through the Mobile Payment Provider (MPP) app.

Note: The callback for successful card locking is notified to the MPP app through the global wallet status listener, TokenStatusListener. For more information, see the TokenStatusListener API.

Method signature

copy
void lock();

Request parameters

N/A

Response parameters

N/A

Sample

copy
manager = ACTapManager.getInstance(this.getApplication());
manager.lock();