Capabilities

Introduction

Capabilities are sets of Java Script APIs (JSAPIs) and Open APIs that can work together to help users to complete specific tasks. For example, the payment capability is accomplished by the my.tradePay JSAPI and open APIs such as /{version}/payments/pay and /{version}/payments/notifyPayment, where the version is like v1 or v2 

Architecture Overview

1592813389824-fe820e10-a1b3-468c-b01f-8654f4493aef.png

JSAPIs are available by default in the mini program container. You can use the existing JSAPIs which can be called from mini program, through wallet native apps to the merchant/ISV back-end server.

ACL Open API standards are available. You can also use the standards of Open APIs and define the Open APIs, which can be interacted in the back-end servers between the wallet and the merchant/ISV.

With a combination of JSAPIs and Open APIs, a set of capabilities can be defined. For example, you can see the following capabilities that are available by default:

In addition, you can define your own features that are centrally managed in the workspace of the Mini Program Platform. You can select the JSAPIs that are available by default. For more information, see Features.

More Information

JSAPIs

Open APIs

Using Mini Program Platform

Features