No momento, esta página não está disponível em português
Payment-method icon

Alipay for API only

Add Alipay to an existing API-only integration.

Accept Alipay payments using our APIs, and build your own payment form to have full control over the look and feel of your checkout page.

Requirements

Requirement Description
Integration type Make sure that you have built an API-only integration.
Setup steps Before you begin, add Alipay in your test Customer Area.

Build your payment form for Alipay

Include Alipay in the list of available payment methods. You do not need to collect any information from the shopper in your payment form.

We provide logos for Alipay which you can use on your payment form. For more information, refer to Downloading logos.

If you are using the /paymentMethods to show available payment methods to the shopper, specify the following:

The response contains paymentMethod.type: alipay for Web, or alipay_wap for iOS and Android.

Make a payment

In your /payments request, specify:

  • paymentMethod.type:

    • alipay for Web, to use the desktop flow where the QR code displayed on the website.
    • alipay_wap for iOS and Android, to redirect to the mobile app.