Loading...
Loading...
APIs GraphQL & REST, SDKs multi-plateformes et infrastructure bancaire BaaS pour integrer paiements, comptes et cartes en quelques lignes de code.
import { getBaaSProvider } from '@platform/core/baas/factory';
const baas = getBaaSProvider();
const account = await baas.createAccount({
holderName: 'Johan Lepinay',
currency: 'EUR',
});
// { id: 'acc_...', iban: 'FR76...', status: 'Active' }GraphQL pour Swan, REST pour Treezor. Choisissez l'API qui correspond a votre stack technique.
Mutations typees, union types pour les erreurs, pagination Relay. API moderne et flexible.
Endpoints RESTful classiques, JSON, pagination offset. Compatible avec tout HTTP client.
Notifications temps reel signees HMAC-SHA256. Events pour transactions, cartes et KYC.
// Initier un virement SEPA
const transfer = await baas.initiateTransfer({
fromAccountId: 'acc_123',
toIban: 'FR76 1234 5678 9012 3456 7890 123',
beneficiaryName: 'Marie Dupont',
amountCents: 15000, // 150.00 EUR
mode: 'InstantWithFallback',
});Librairies officielles et exemples pour accelerer votre integration.
SDK principal pour l'API YaniPay. Types complets, gestion d'erreurs typee.
pnpm add @yanipay/sdkComposants mobiles pre-construits : onboarding, wallet, cartes bancaires.
pnpm add @yanipay/react-nativeFramework natif SwiftUI pour l'ecosysteme Apple : iPhone, iPad, Apple Watch.
swift package add YaniPaySDKScripts d'administration, analytics et automatisation. Compatible uv (Astral).
uv add yanipaySandbox complet, documentation interactive et exemples prets a l'emploi.
Inscrivez-vous et generez vos cles API depuis le dashboard developpeur.
Ajoutez vos credentials dans votre fichier .env.local :
# .env.local
BAAS_PROVIDER=swan
SWAN_CLIENT_ID=your_client_id
SWAN_CLIENT_SECRET=your_client_secret
NEXT_PUBLIC_APP_URL=http://localhost:3000Verifiez que tout fonctionne avec un health check :
import { getBaaSProvider } from '@platform/core/baas/factory';
const baas = getBaaSProvider();
const health = await baas.healthCheck();
console.log(health); // { healthy: true, latencyMs: 42 }Testez l'integration sans credentials reels grace au simulateur local :
cd treezor-simulator && pnpm dev # Port 4000Recevez des notifications pour chaque evenement : transactions, cartes, onboarding et consentements.
import crypto from 'crypto';
function verifyWebhook(payload: string, signature: string): boolean {
const expected = crypto
.createHmac('sha256', process.env.SWAN_WEBHOOK_SECRET!)
.update(payload)
.digest('hex');
return crypto.timingSafeEqual(
Buffer.from(signature),
Buffer.from(expected)
);
}Conforme PSD2, RGPD et LCB-FT. Vos donnees et celles de vos utilisateurs sont protegees.
Authentification securisee avec tokens a duree limitee
Authentification forte pour les operations sensibles
Verification cryptographique des webhooks
Protection contre les abus : 100 req/min/IP
Donnees chiffrees at-rest et in-transit
Opere sous agrement bancaire francais
Documentation, support et ressources pour construire avec YaniPay.
Commencez gratuitement, evoluez sans friction.
Pour experimenter
Pour les projets en production
Pour les grands volumes