Back to App Go

Invitation Code

A new user enters a friend's ID within 48 hours of signing up, and the friend earns a commission, in coins, on everything that user tops up with real money. You set the percentage, the period and the withdrawal limit.

By ⁨هبة الله ماهر⁩First published Nov 29, 2026

Android and iOS apps, admin panel and the backend (API) code

About this feature

A new user enters a friend's ID within 48 hours of signing up, and the friend earns a commission, in coins, on everything that user tops up with real money. You set the percentage, the period and the withdrawal limit.

What it does

  • How it works: every user's invitation code is simply their own ID (the special ID if they wear one). A new user opens the invitation screen, taps Enter Code, types the friend's ID and the two accounts are linked as inviter and invited. It works only during the first 48 hours after the account was created, only once per account, never with your own ID, and never from a phone that another account has already used to sign in. Entering the code pays nobody anything (this stops fake accounts from minting coins); the inviter earns only a commission on what the invited user later buys.
  • What earns a commission: only real money. A top-up through a payment gateway (including Google Play) and a purchase from a recharge agent count. Transfers between users, converting earnings into coins, BD top-ups and admin top-ups never earn a commission. A recharge agent's own sale to a user the agent invited does not earn the agent a commission either. Each top-up books the commission as whole coins, unclaimed, in the inviter's invitation ledger and sends the inviter a notification. If your app has no wallet nothing is booked.
  • How the inviter collects: on the invitation screen the inviter sees the income available to withdraw now and presses "Extract Coins"; the coins go straight into the balance. Each request pays up to the withdrawal limit you set ("You can extract up to N coins per request"); a request above it, or with nothing to take, is refused with a clear sentence and nothing moves. Every amount is a whole number of coins. The invited user has nothing to claim.
  • What you set in the control panel: the "Invitation Code" menu with two screens. Invitations Log: the list of inviters with how many users each invited and what each earned, a search by ID, then the invited users of one inviter, then the operation log of one invited user (each top-up and the commission it gave). Invitation Code Settings, in two tabs. Tab one: Inviter commission (%), from 0 to 100 with two decimals; Commission period (days), from 0 to 36,500, where 0 means no time limit; Withdrawal limit (coins), a whole number. Tab two: the Invitation rules text shown inside the app (written once in the panel's default language, the other languages come from the translations page). Only a platform administrator also sees the "Close invitation code for all" switch, which stops every redemption at once. The permissions are: view the log, view the settings, edit the settings, and two to switch the invitation entry on or off for users and for hosts from their profile in the panel, given to the admin position by default. You can also replace the menu icon.
  • Files: nothing is uploaded; the only file setting is the optional menu icon (WebP or PNG).
  • What the user sees in the app: an "Invitation" row in the profile menu (it shows only for users whose invitation entry is on), and the invitation screen: "Invite your friends now" with the commission percentage, "Share & Invite Friends" with the user's own ID and a share link that opens the app straight at the code, "My Invitation Income" (earned today, total earned, invited today, total invited, and what is available to withdraw now) with the Extract Coins button, "My Invitations" with the list of invited friends and what each earned (or "No earnings yet"), the rules text, and "Enter Code" for a new user. Every refusal is explained in the user's own language: device already used, no user owns this code, your own code, already used a code, outside the first 48 hours, or codes are turned off right now.
  • Works with all themes: the screens take their colours from the active theme, so they read well on light and dark themes.
  • Why it is worth it for you: it turns your users into your marketing. Each person who brings a friend keeps earning as long as the friend tops up, which is a reason to invite more, while the rules (real money only, 48 hours, one code per account and per phone) protect you from fake accounts. You decide how generous it is with one percentage, a time limit and a withdrawal cap.
  • Requirements: the base users and the Wallet (the commission is paid in coins). Nothing else. Other features can listen to an "invitation accepted" event when a code is redeemed.

Add-ons

Depends on

Base users and the Wallet (for the coin commission and the withdrawal).

In the app

Swipe for more

Install and remove

After you buy, you'll also find these commands in My purchases.

Install

php artisan feature:install invite_code --apply

Remove (your data stays)

Disable the feature in the base with one command (shown on this page). The invitation row and screen disappear, the panel menu closes, and no new commission is booked. The links and the earnings ledger stay, and the commission already earned is not lost.

php artisan feature:remove invite_code

Remove its add-ons first: removing a feature while its add-ons are installed is refused.