Developer kits

Accept skins payments with the Python SDK

A small Python library for SkinsFlow: create payments, verify notices and read your balance from any Python backend or bot.

skinsflow-python-sdk.zip · 18 KB · Ücretsiz

  • Python 3.9+
  • No dependencies
  • Works with any framework

Python runs plenty of gaming backends, Discord and Telegram bots and stats sites. The SkinsFlow Python SDK lets them take skins with a few calls instead of a hand-written API client.

Your code creates a payment and sends the customer to the checkout link. The customer picks CS2, Dota 2 or Rust items and accepts one Steam trade. SkinsFlow sends a signed notice, the SDK verifies it, and you confirm the payment before you deliver.

It is framework-agnostic: call it from a Django view, a FastAPI route, a Celery task or a bot command. Test mode uses the same code with your test secret.

Özellikler

Python SDK ile neler elde edersin

Any framework

Django, Flask, FastAPI, bots and scripts. The client has no framework ties.

Payments and purchases

Create payments, read their status and buy skins from the market.

Webhook verification

Check every notice with your webhook signing secret before acting on it.

Typed errors

Clear exceptions for bad requests, authentication and network problems.

Test mode ready

Swap the secret to run every flow without real items.

Müşterilerin neyle öder

Gerçek eşyalar, canlı fiyatlar.

Müşterilerinin takas ettiği eşyalar bunlar gibi. Her biri envanterleri yüklendiği anda değerlenir.

Şu anda pazarda Canlı fiyatlar, birkaç dakikada bir güncellenir
  • AK-47 | Redline (Field-Tested) AK-47 | Redline Görevde Kullanılmış $25.50
  • AWP | Asiimov (Field-Tested) AWP | Asiimov Görevde Kullanılmış $98.88
  • Bıçak ★ Karambit | Marble Fade (Factory New) Karambit | Marble Fade Fabrikadan Yeni Çıkmış $950.68
  • M4A1-S | Solitude (Factory New) M4A1-S | Solitude Fabrikadan Yeni Çıkmış $9.56
  • Eldiven ★ Sport Gloves | Vice (Field-Tested) Sport Gloves | Vice Görevde Kullanılmış $361.41
  • Desert Eagle | Printstream (Field-Tested) Desert Eagle | Printstream Görevde Kullanılmış $32.86
  • Bıçak ★ Butterfly Knife | Fade (Factory New) Butterfly Knife | Fade Fabrikadan Yeni Çıkmış $1,927.48
  • USP-S | Printstream (Field-Tested) USP-S | Printstream Görevde Kullanılmış $35.28
  • M4A4 | Falak (Battle-Scarred) M4A4 | Falak Savaş Görmüş $13.74
  • Glock-18 | AXIA (Field-Tested) Glock-18 | AXIA Görevde Kullanılmış $17.29
Kur

Python SDK kurulumu

  1. Create a project

    In the SkinsFlow dashboard, add your app under Projects & API keys and keep the secrets in environment variables.

  2. Add the SDK

    Unzip skinsflow-python-sdk.zip into your project, or install it into your virtual environment.

  3. Create a payment

    Create the client with your Client ID and secret, create a payment and redirect to its checkout link.

  4. Handle the webhook

    Verify each notice with your webhook signing secret, read the payment again and deliver once.

  5. Set the webhook URL

    In the SkinsFlow dashboard open your project, Settings, and enter your endpoint as the Webhook URL.

  6. Test, then go live

    Run the flow with your test secret, then swap in the live one.

SSS

Python SDK ve skin ödemeleri

What does the Python SDK cost?

Nothing. The Python SDK is free to download and use. SkinsFlow charges 2.5% of each payment credited to your balance, and nothing else: no setup fee, no monthly fee, no minimum volume. Failed, expired and returned payments cost nothing.

Is it async?

The client is a simple synchronous library. Call it from a worker or thread if your app is fully asynchronous.

Can I use it in a Telegram or Discord bot?

Yes. Create a payment when a user asks to pay, send the checkout link, and deliver when your webhook confirms the payment.

What happens with Steam Trade Protection?

Steam can hold traded items for up to 7 days and return them to the customer in that window. A protected payment is not counted as paid yet: your webhook receives a protected status and you wait before you deliver. When the hold ends the payment completes on its own, or you can release it early in your SkinsFlow dashboard if you trust the customer.

Where is the API reference?

In the developer docs. Every endpoint the SDK wraps is described there with examples.

Can I test before going live?

Yes. Turn on test mode and use your project's test secret. The checkout then shows real items with real prices but no item and no money moves, and buttons let you play every outcome: paid, protected, returned, declined. Same code, different secret.

İlgili entegrasyonlar

Skin kabul etmenin diğer yolları

Pay button

Any website · A server that creates payments

One script tag: the checkout in a window over your page.

Kurulum rehberi Tek bir script etiketi
Sektörler

Kimler kullanıyor

Bugün başla

Python SDK, artık skin kabul ediyor.

Hesap aç, siteni ekle, kur. Doğrulama ücretsiz.

Hemen başla