# awa/go-iap

go-iap verifies the purchase receipt via AppStore, GooglePlayStore, AmazonAppStore and Huawei HMS.

Repository: https://github.com/awa/go-iap
Canonical: https://ross.abutalabs.com/products/go-iap
Language: Go
License: MIT
License Family: permissive
Topics: amazonappstrore, iap, appstore, purchase-receipt, iab, billing, googleplaystore, hms
Last push: 2026-07-21T08:21:17+00:00

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

## Adoption (not part of the score)
Stars 1055, forks 257 (observed 2026-08-28T04:03:24.271297+00:00)

## What it is
go-iap is a Go library for verifying in-app purchase receipts across the Apple App Store, Google Play Store, Amazon AppStore, Huawei HMS, and Microsoft Store. It provides per-store client packages that validate purchase tokens and subscriptions server-side.

## Use cases
- verify iOS App Store purchase receipts in a Go backend
- validate Google Play subscription and product purchases
- check Amazon AppStore receipt validity
- verify Huawei HMS in-app purchases
- validate Microsoft Store purchases
- implement server-side in-app billing validation for mobile apps

## When to choose
- your backend is written in Go and needs multi-store receipt verification
- you support in-app purchases across multiple app stores and want one library
- you need App Store Server API support after verifyReceipt deprecation

## When to avoid
- your backend is not in Go
- you only need client-side purchase handling
- you need a billing UI or payment processing rather than receipt validation

## Facets
- artifact type: library
- maturity: active
- function: sdk, security, http-client
- domain: mobile-development, fintech, apis, developer-tools
- platform: go, cross-platform
- tags: in-app-purchase, receipt-validation, appstore, google-play, amazon-appstore, huawei-hms, microsoft-store, billing

## Member repositories
- awa/go-iap (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:24.271297+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-30T06:58:29.261545+00:00, confidence not recorded.
  - readme: https://github.com/awa/go-iap (fetched 2026-08-28T04:03:24.271297+00:00, sha 52ed8c0fceb3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
