Start with Invo

Invo Python SDK

The server-side SDK for Django, Flask, FastAPI or plain Python backends: checkout, item purchases, transfers, balances and webhook verification, with zero runtime dependencies. The Python counterpart to the Web SDK, with the same endpoints and field names.

PyPI
invonetwork
Python 3.9+
zero runtime dependencies
Typed
full type hints, ships py.typed

Install

Install it on your backend. Pair it with the Web SDK in the browser for passkey flows.

  1. Install (macOS or Linux)

    python3 -m pip install invonetwork
  2. Install (Windows)

    py -m pip install invonetwork
  3. Get your game secret

    Create your title in the developer console and copy its game secret. Test secrets start with ivsdk_test_.
  4. Keep it on the server

    The SDK authenticates with your game secret and is meant for your backend only.

Your first call

Create the client and read a player’s balances.

from invonetwork import InvoServer

invo = InvoServer(
    game_secret="ivsdk_test_...",                      # server-side ONLY
    base_url="https://sandbox.invo.network/sandbox", # prod: https://invo.network
)

# Read a player's balances
balance = invo.get_player_balance(player_email="player@example.com")

From the Python docs.

What you can build

Everything the Python SDK covers, from the docs. It works for a game or a platform alike.

Currency and item purchase

Hosted checkout, direct rail and spend-currency item purchases.

Sends and transfers

Initiate on the server; the player approves by passkey in the browser.

Balances and reads

Player balances, inbound-pending transfers, linked identities and order details.

Webhook verification

Constant-time HMAC verification with typed events.

Resilience

Automatic retries built in.

Typed

Full type hints, shipping py.typed.

Test first, then go live

Register your title in the developer console. Test keys start with ivsdk_test_ and run against the free sandbox with test cards, where no real money moves. Live keys start with ivsdk_live_. Keep the key on your server and never ship it in a client build.

Other SDKs: Unity · Unreal Engine · Web. Building in Godot? Talk to us.