# go-pay/gopay

微信、支付宝、抖音、通联支付、拉卡拉、PayPal、Apple 的Go版本SDK。【极简、易用的聚合支付SDK】

Repository: https://github.com/go-pay/gopay
Canonical: https://ross.abutalabs.com/products/gopay
Homepage: https://github.com/go-pay/gopay
Language: Go
License: Apache-2.0
License Family: permissive
Topics: alipay, wechat, pay, gopay, apple, paypal, golang, allinpay, lakala, douyin
Last push: 2026-08-22T10:21:43+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 2794, "days_push": 11, "days_rel": 11, "gap_med": 29.0, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5731, forks 936 (observed 2026-08-28T04:09:28.314460+00:00)

## What it is
GoPay is an aggregated payment SDK for Go that wraps WeChat Pay, Alipay, Douyin Pay, PayPal, Apple Pay, QQ Pay, Allinpay, Lakala, CMB, and Saobei behind a simple unified API. It provides clients, request/response handling, and documentation for integrating multiple Chinese and international payment platforms into Go backend services.

## Use cases
- integrate wechat pay v3 into a go backend
- accept alipay payments in a golang web service
- verify apple in-app purchase receipts in go
- add paypal checkout to a go application
- support douyin pay in a mini-program backend
- unify multiple payment providers behind one sdk
- handle merchant transfer APIs for wechat

## When to choose
- you need to integrate Chinese payment platforms (WeChat, Alipay, Douyin) in Go
- you want one SDK covering many payment providers instead of writing API clients yourself
- you need actively maintained payment SDK with docs and examples

## When to avoid
- your project is not in Go
- you need a full payment orchestration or billing platform rather than an API SDK
- you require payment providers not covered by the library

## Facets
- artifact type: library
- maturity: active
- function: sdk, http-client, developer-tools
- domain: fintech, e-commerce, apis, backend
- platform: go, cross-platform
- tags: payment, alipay, wechat-pay, paypal, apple-pay, aggregated-payments, payment-gateway

## Member repositories
- go-pay/gopay (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:28.314460+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-29T17:53:23.468901+00:00, confidence not recorded.
  - readme: https://github.com/go-pay/gopay (fetched 2026-08-28T04:09:28.314460+00:00, sha 521ce5ee2043)
  - homepage: https://github.com/go-pay/gopay (fetched 2026-08-29T08:48:47.266372+00:00, sha 4f753f0646b0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
