# smartwalle/alipay

支付宝 AliPay SDK for Go, 集成简单，功能完善，持续更新，支持公钥证书和普通公钥进行签名和验签，支持文件上传和接口内容加密。

Repository: https://github.com/smartwalle/alipay
Canonical: https://ross.abutalabs.com/products/alipay
Language: Go
License: MIT
License Family: permissive
Topics: alipay, go, pay, golang, alipaysdk
Last push: 2026-07-26T09:24:37+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 94, release rhythm 35, longevity 100
- inputs: {"age_days": 3514, "days_push": 38, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2113, forks 452 (observed 2026-08-28T04:06:14.621934+00:00)

## What it is
A Go SDK for integrating with the Alipay payment platform, supporting both public key certificate and plain public key signing/verification. It covers payment initiation, callback verification, file upload, and API content encryption.

## Use cases
- integrate alipay payments in a go web app
- verify alipay async notification signatures
- create wap or app payment orders with alipay
- load alipay public key certificates for signing
- encrypt alipay api request content

## When to choose
- you are building a Go backend that needs Alipay payment integration
- you need support for both certificate and public key signature modes
- you want a maintained SDK with sandbox and production support

## When to avoid
- you need payments other than Alipay (e.g., WeChat Pay, Stripe)
- your stack is not Go
- you need an official Alipay SDK with full API coverage

## Facets
- artifact type: library
- maturity: active
- function: sdk, security, cryptography, http-client
- domain: fintech, e-commerce, backend, apis
- platform: go, cross-platform
- tags: alipay, payment-gateway, signature-verification, china-payments

## Member repositories
- smartwalle/alipay (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:14.621934+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:53:40.241613+00:00, confidence not recorded.
  - readme: https://github.com/smartwalle/alipay (fetched 2026-08-28T04:06:14.621934+00:00, sha 45723f0f61d4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
