Cloud call overview
Cloud Call uses EMAS Serverless cloud functions to access the open APIs of Alipay mini programs. This feature allows developers to call Alipay's backend open APIs directly from a miniapp. This eliminates the need to manage server-side configurations, simplifies the integration process, and lowers the barrier to developing Alipay mini programs.
Cloud Call currently covers Alipay's open capabilities, including basic features, marketing, membership, payment, security, funds, and general APIs. The APIs for each capability are listed below.
Currently, the following extension capabilities are supported only in Alipay mini programs.
Basic capabilities
API | Description |
|---|---|
Gets an authorization access token. | |
Refreshes an authorization access token. | |
Creates a miniapp QR code. |
Marketing capabilities
API | Description |
|---|---|
Sends a template message. |
Membership capabilities
API | Description |
|---|---|
Initializes identity authentication. | |
Generates an authentication link. | |
Queries identity authentication records. |
Payment capabilities
API | Description |
|---|---|
Creates a transaction. | |
Queries a transaction. | |
Refunds a transaction. | |
Closes a transaction. | |
Cancels a transaction. | |
Creates a Huabei installment transaction. | |
Makes a payment for a face-to-face transaction. |
Security capabilities
API | Description |
|---|---|
Detects content risks. |
Fund capabilities
API | Description |
|---|---|
Transfers funds to an Alipay account. | |
Queries an incoming fund transfer. | |
Transfers funds to a bank card. | |
Queries an outgoing fund transfer. | |
Sends a B2C cash red packet. | |
Queries a red packet transfer. |
General API capabilities
API | Description |
|---|---|
General-purpose API. |