touwaeriol

Sub2API 自托管充值支付网关 — 支持支付宝、微信支付(易支付协议)、Stripe,支付成功自动到账

10
5
100% credibility
Found Mar 04, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

Sub2ApiPay is a self-hosted payment system that automates balance top-ups for the Sub2API platform using Alipay, WeChat Pay via aggregators, and Stripe.

How It Works

1
🔍 Discover easy payments

You find Sub2ApiPay, a simple tool to let users add money to their Sub2API balances securely.

2
🚀 Launch with one click

Download and start it on your computer or server – no hassle, it sets up everything including storage.

3
🔗 Connect payment options

Link popular ways to pay like phone scans or credit cards so users can choose what they like.

4
Link to your service

Connect it to Sub2API so money goes straight to user balances without you lifting a finger.

5
💰 Users recharge instantly

Share the payment page – people pick an amount, pay quickly, and see balances update automatically.

6
📊 Manage with dashboard

Check orders, refunds, and stats from a friendly panel anytime you need.

Payments on autopilot

Your users love the smooth recharges, and you relax with full control and no manual work.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is sub2apipay?

Sub2apipay is a self-hosted TypeScript payment gateway tailored for the Sub2API platform, handling user balance recharges via Alipay, WeChat Pay (EasyPay protocol), and Stripe. Payments auto-credit Sub2API accounts without manual steps, covering full order lifecycles like expiry, cancellations, refunds, and daily limits. Deploy via Docker with bundled PostgreSQL or external DB, featuring responsive payment pages, user order history, and an admin dashboard—all powered by Next.js and Prisma.

Why is it gaining traction?

It stands out with seamless Sub2API integration, where success webhooks trigger instant balance top-ups, skipping clunky manual APIs common in generic gateways. Docker Hub images enable one-command deploys (e.g., `docker compose -f docker-compose.hub.yml up -d`), plus configurable limits per user/channel and a polished admin UI for order retries/refunds. Devs dig the zero-config EasyPay/Stripe support and iframe embedding for Sub2API dashboards.

Who should use this?

Sub2API instance operators needing branded, self-hosted payments without third-party fees. Small SaaS builders integrating Chinese payments (Alipay/WeChat) alongside Stripe for global users. Devs prototyping subscription recharges who want Docker simplicity over full Stripe Billing setups.

Verdict

Grab it for Sub2API if you need quick, multi-provider recharges—excellent docs and Docker make setup trivial despite 10 stars and 1.0% credibility score. Still early; lacks broad testing and production hardening, so monitor webhooks closely for scale.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.