增加 邀请人充值按比例返现功能
您当前的 newapi 版本
v1.0.0
提交确认
- [x] 非重复 issue: 我已搜索现有 Issues,确认目前没有类似 issue。
- [x] 提交前必读: 我已完整阅读上方“提交前必读”,并已查看文档 https://docs.newapi.ai/、项目 README 且向 AI 提问,确认这不是使用、配置或接入类问题,且现有版本无法满足需求。
- [x] 模板完整: 我未删除此模板中的任何引导内容或小节标题,并会按要求完整填写。
- [x] 维护成本: 我理解项目维护者精力有限,不遵循模板要求的 issue 可能会被无视或直接关闭。
功能描述
增加 邀请人充值按比例返现功能 目前的 邀请返现功能是 固定金额形式,导致客户邀请积极性较低,希望修改成按比例返现形式
应用场景
增加 邀请人充值按比例返现功能 目前的 邀请返现功能是 固定金额形式,导致客户邀请积极性较低,希望修改成按比例返现形式
[Bot Review]
感谢提交,模板信息完整,已按功能请求归类。若方便的话,可以进一步补充期望的返现比例配置方式、触发时机等细节,方便后续讨论需求范围。
附议
附议,最好是有:“分销”或“按比例返佣”功能
We would like native support for percentage-based referral rewards in the official self-hosted New API. The use case is to credit an inviter when a referred user's payment is confirmed, rather than award a fixed amount when the user registers.
A supported implementation should define:
- A configurable commission rate and an explicit eligible payment amount.
- Idempotent accrual keyed to a confirmed payment, so duplicate payment notifications cannot award the commission twice.
- Refund and chargeback handling linked to the original reward.
- An auditable record of accruals, reversals, and transfers to the existing referral balance.
Our earlier source review of v1.0.0-rc.41 found the fixed QuotaForInviter and QuotaForInvitee rewards, but no supported percentage-based reward on confirmed top-ups. These are separate capabilities; changing the registration bonus does not provide payment-based commissions.
We are adding this use case to the existing issue rather than opening a duplicate. PR #6539 is related, but it remains open and unmerged as of November 7, 2026, so it does not establish availability in an official release. Is a native payment-based commission mechanism planned, or is there an existing supported extension point for this use case?
Implemented at my fork https://github.com/Leyanshi/zynknewapi