Support et versions
Les SDK suivent semver strict. Les versions LTS sont supportées 24 mois. Changelogs et migrations sont publiés sur GitHub.
Référence SDKTrois SDK maintenus officiellement (iOS, Android, Web) plus deux en bêta (Java, Python). Chacun expose les mêmes primitives : auth, KYC, ordres, webhooks. Génération à la demande depuis l'OpenAPI.
Installation, initialisation et premier appel pour chaque plateforme. Tous les SDK partagent une API publique cohérente.
// Package.swift
.package(url: "https://github.com/inopay/inopay-ios", from: "1.4.2")import InopaySDK
let client = InopayClient(
apiKey: "sk_test_4bX9...",
environment: .sandbox
)
let attestation = try await client.kyc.verify(id: "att_4XK9RZ")
let order = try await client.orders.create(.init(
rcptTo: "sgi_partner_001",
instrument: "SNTS.BRVM",
side: .buy, qty: 10, limitPriceCents: 1_250_000
))// build.gradle.kts
implementation("com.getinopay:inopay-android:1.4.0")import com.getinopay.sdk.InopayClient
import com.getinopay.sdk.Environment
val client = InopayClient.Builder()
.apiKey("sk_test_4bX9...")
.environment(Environment.SANDBOX)
.build()
val attestation = client.kyc.verify("att_4XK9RZ")
val order = client.orders.create(
rcptTo = "sgi_partner_001",
instrument = "SNTS.BRVM",
side = Side.BUY, qty = 10, limitPriceCents = 1_250_000,
)npm install @inopay/web-sdk@1.5.1import { InopayClient } from '@inopay/web-sdk';
const client = new InopayClient({
apiKey: 'sk_test_4bX9...',
environment: 'sandbox',
});
const attestation = await client.kyc.verify('att_4XK9RZ');
const order = await client.orders.create({
rcptTo: 'sgi_partner_001',
instrument: 'SNTS.BRVM',
side: 'buy', qty: 10, limitPriceCents: 1_250_000,
});Versions courantes et statut de support. Les SDK bêta sont fonctionnels mais l'API peut encore changer.
| SDK | Version | Statut | Notes |
|---|---|---|---|
| iOS / Swift | 1.4.2 | Stable | iOS 16+ · SwiftPM |
| Android / Kotlin | 1.4.0 | Stable | API 24+ · Maven Central |
| Web / TypeScript | 1.5.1 | Stable | ESM + CJS · Tree-shakable |
| Java | 0.9.0 | Bêta | JDK 17+ · Spring-friendly |
| Python | 0.6.0 | Bêta | 3.10+ · async/await |
Vous avez besoin d'un SDK Ruby, PHP, Go ou C# ? Générez-le directement depuis notre OpenAPI 3.1 avec openapi-generator. Le contrat est stable et testé en CI.
# Generate a Ruby client from the public OpenAPI 3.1
docker run --rm -v "$PWD/out:/local" \
openapitools/openapi-generator-cli:v7 generate \
-i https://www.getinopay.com/docs/openapi.yaml \
-g ruby \
-o /local/inopay-ruby \
--additional-properties=gemName=inopay,gemVersion=1.0.0
# Languages tested in CI: ruby, php, go, csharp, rust, dartLes SDK suivent semver strict. Les versions LTS sont supportées 24 mois. Changelogs et migrations sont publiés sur GitHub.
Référence SDKTrois SDK maintenus officiellement (iOS, Android, Web) plus deux en bêta (Java, Python). Chacun expose les mêmes primitives : auth, KYC, ordres, webhooks. Génération à la demande depuis l'OpenAPI.
Repo GitHub