What difference does it make between what we call PayAPI and AlipayAPI?
WeChat Pay and Alipay are two important forms of digital payment for web sites and applications that work for Chinese consumers.
While both can support online transactions, their payment landscape, interface configuration, development process and business management rules are not identical.
I, what's WeChat PayAPI?
WeChat PayAPI is the interface that WeChat Pay provides to eligible vendors and developers.
Based on the open payment products and business scenes, businesses can perform the functions of website payments, mobile application payments, small program payments, etc.
In a typical transaction process, the business server creates an order, consumers complete the payment, and WeChat Pay provides feedback to the business through a payment result notification or order query interface.
For businesses using API v3, interface communications and payment notices relate to signature authentication and related security mechanisms.
What's AlipayaPI?
AlipayAPI is the interface capacity of the Alipay Open Platform for eligible developers.
The developer can pay Alipay on the basis of an open product and in a web site, APP or other supported scene.
Typical processes also include creation transactions, consumer payments, confirmation of trade status and business order updates.
Alipay supports the transmission of the results of the transaction by a service step notification.
III. The main difference between WeChat Pay and AlipayAPI
WeChat Pay is more closely integrated with applications in micro-intra-Society, such as micro-programs and other micro-scientific operations.
Alipay has independent payment applications and related open platform capabilities that can be used for product-compliant sites, mobile applications, etc.
In terms of technical realization, both relate to interface requests, business identification, confirmation of transaction results and unusual processing, but the format of parameters, signature mechanisms and product privileges differ.
The ability to access a paid product, as per the application of the business, depends on the business head, the area of operation, the qualifications of the industry, the business scene and the requirements of the service provider.
Therefore, it cannot simply be assumed that having a payment account would allow direct use of the full API functionality.
IV. Do enterprises need to access both modes of payment?
Whether or not to access simultaneously is judged by the client group and business needs.
If enterprises primarily serve Chinese consumers and provide different mainstream payment options, this may help to satisfy user payment habits.
However, increased payment also means that more configuration, transaction status and reconciliation processes need to be maintained.
Enterprises should compare the cost of technology, the success rate of actual payments, the experience of refunds and the need for compliance management, rather than consider only the number of channels through which payments are made.
V. What needs to be noted when interfaces are interfaced?
The developer shall sign and verify the signature according to the official document, keep the business key properly and confirm the transaction through the service.
Payment notices need to support double-processing protection while verifying the business, amount and trading status of the purchase order.
The success of the payment, failure of payment, withdrawal of the user, request for time overruns and refunds should also be tested prior to formal access.
Summary
WeChat PayAPI and AlipayAPI can be important components of an online payment system for businesses.
A reasonable choice would be to identify the target user, the area of the operation and the payment scene, then to check the scope of official product support and the terms of application of the business, and finally to develop a technical integration.
Technical information only; not payment access, investment or legal advice. Check the selected provider’s official documentation and eligibility requirements.