Stars EconomyStars In Your App

Stars In Your App

How your page asks a person for Stars, and who confirms and records it.

Your page does not touch money. It asks, and Aksa does the rest.

The Bridge Method

stars.spend is an open method: it needs no scope in your manifest and any developer can use it. It asks the person for a Star gift or micro-payment.

  1. Your page calls stars.spend.
  2. Aksa shows its own confirmation sheet, in the Aksa wallet style. Your page cannot draw or skip it.
  3. If the person confirms, Aksa moves the Stars from their purchase balance to your creator balance and writes the ledger entry.
  4. Your page gets the answer. It is a success only when the person confirmed and the server accepted.
js
window.aksa.request({ method: "stars.spend" })

Design It Well

  • Offer Stars as a thank-you after the person got value, not as a wall in front of the app.
  • Never block the check-in behind a Star gift.
  • Expect "no": a person may close the sheet.

See Earning Stars for where the Stars go, and Payments And Ads for what else is not allowed.

Ready to ship?

Submit An App