Game IAP & Entitlements API
Define your products, grant a player what they bought, and track inventory and virtual currency — with atomic grant and consume so balances never go wrong. From any engine, or driven by an AI agent.
Products, entitlements, inventory
Define consumables, unlocks and currencies; grant them to players; read a player's inventory in one call.
Atomic grant and consume
Spending currency is a single safe operation — a consume never oversells a balance, even under concurrency.
No SDK, any engine
Plain HTTP from Unity, Godot, Unreal, web or a server.
Free to start
Unlimited products and entitlements. You pay only for active players.
A game economy without a backend
Selling gems, unlocking levels, tracking a currency — that is a product catalog plus a per-player balance, and a way to add and spend safely. Backline IAP is exactly that: define products, grant an entitlement when a player buys, and consume currency atomically so a balance never goes negative. Store-receipt validation is on the roadmap; today you grant on your own validated purchase. It works from Unity C#, Godot GDScript, a web build, or an AI agent.
Frequently asked questions
How do I add in-app purchases to my Unity or Godot game?
Create a free project for an API key, define your products, and POST to /api/backline/v1/iap/grant when a player buys to add the entitlement, and /iap/consume to spend a currency. GET /iap/entitlements reads a player's inventory. Plain HTTP from any engine or an AI agent.
Is the IAP backend free?
Yes. Products and entitlements are unlimited and free — you pay only for monthly active players (10,000 free, then $0.01 each).
Does it validate App Store / Play receipts?
Not yet — v1 grants on your own validated purchase, which is enough to track inventory and currency. Native store-receipt validation is a tracked follow-up.
How does spending currency stay correct?
Consume is a single atomic operation that only succeeds if the player has enough — so two rapid spends can never oversell a balance.
Can an AI agent set up my economy?
Yes — defining products, granting and consuming, and reading inventory are all documented REST calls an AI coding agent can drive end-to-end.