Client-side Integration

Client is responsible for calling Alipay payment API by using the order information sent by the server, and returning the result based on SDK’s synchronously generated payment result.

More details are as below: 

1、 iOS Integration

  • API Description
  • Demo Example (For demonstration purpose, the assembling and signing of the request parameters are done on the client side. However, in practice, both assembling and signing must be carried out on the server side)

2、Android integration

  • API Description
  • Demo Example (For demonstration purpose, the assembling and signing of the request parameters are done on the client side. However, in practice, both assembling and signing must be carried out on the server side) 

3、 Request Parameters

4、 Synchronous Response Parameters

Before you start

  • Prepare the key information by following Preparing Keys.
  • Upload key: Send the RSA public keys to Global Merchant Technical Support to upload.