Integration overview
Learn about the functions of Alipay+ Cashier Payment and get step-by-step instructions for integrating them into your system.
Before you begin
Before you learn more about how to integrate with Alipay+ Cashier Payment, ensure that you are familiar with the following:
- The User experience that Alipay+ Cashier Payment can provide to consumers.
- General steps you need to take to go through the whole integration process.
Build an integration
Use the APIs provided by Alipay+ to integrate the following Cashier Payment functions as required:
Accept a payment
To accept payments from users, you need to take the following steps:
- Render the payment method page.
- Initiate a payment request by calling the pay API, and open the Alipay+ checkout page for the user to pay.
- Handle the payment result that is obtained from Alipay+.
For more information about integrating related APIs to accept a payment, see Accept a payment.
Obtain payment results
To obtain payment results from Alipay+, you need to integrate the inquirePayment and notifyPayment APIs. For more information about integrating the APIs, see Inquire about payment results and Receive payment notification.
Cancel and refund
To enable refunds and payment cancellations, you need to integrate the refund and cancelPayment APIs. For more information about integrating the APIs, see Cancel a payment and Refund.
More operations
In addition to payment-related functions, Alipay+ provides more services to help you manage your business operations.
Reconcile
Alipay+ provides multiple transaction reports to help with clearing and settlement. To streamline your business workflows, you need to develop your reconciliation function module to handle Alipay+ transaction reports. For more information, see Reconcile.
Register a merchant
In certain countries or regions, legal or compliance requirements may require merchant registration before processing payments. For more information about integrating related APIs for merchant registration, see Registration.
Handle a dispute
To enable Acquiring Service Providers (ACQPs) to resolve disputes after transactions occur, Alipay+ provides services and APIs to respond to disputes initiated by Mobile Payment Partners (MPPs). For more information about handling a dispute, see Dispute.
Declare to customs
Customs declarations are required for any payments that are processed by the AlipayCN wallet. Alipay+ provides APIs for customs declarations. For more information about using these APIs, see Customs.
More information
When using APIs to integrate, you need to take the following things into consideration:
- Make a POST request to the corresponding address with the identity information, signature, and business parameters in the HTTP request. For more information about the structure of a request and response, see API overview.
- To ensure message transmission security, the ACQP must sign the request and validate the signature properly.
- When calling an Alipay+ API, the ACQP must sign the request and validate the response signature.
- When receiving an API call from Alipay+, the ACQP must validate the request signature and sign the response.
For the full list of APIs provided for Cashier Payment, see API list.