Skip to main content

Introduction

Alipay is the leading digital wallet payment method in China and one of the most popular payment platforms globally. Integrating Alipay with Payrails allows you to provide a fast, easy-to-use payment option for your customers while leveraging our platform to route the payment via Stripe as a Payment Service Provider (PSP). Alipay uses a redirect-based payment flow. When a customer selects Alipay at checkout, they are redirected to Alipay to log in and confirm their payment, then redirected back to your website or app upon completion. Alipay is a single-use payment method where customers are required to authenticate each payment. This guide will explain the process of integrating Alipay into your app or website using Payrails.

Pre-requisites

Before you start accepting Alipay payments with Payrails, there are a few requirements you must meet:

Ways to integrate Alipay

Payrails SDK

Server-to-server integration

Parse Alipay from lookup response

Pass Alipay payment method in request to authorize payment with Payrails

Alipay is a redirect-based, single-use payment method. After calling the authorize endpoint, the customer will be redirected to Alipay to log in and confirm the payment. Once the payment is confirmed, the customer will be redirected back to the returnInfo.success URL. Make sure to provide valid returnInfo URLs in your authorization request.

Handle the redirect response

Supported currencies

Alipay via Stripe supports the following presentment currencies:
  • AUD, CAD, CNY, EUR, GBP, HKD, JPY, MYR, NZD, SGD, USD

Supported regions / countries

Supported workflows and services

Last modified on September 28, 2026