Vai al contenuto
Developer Tools

SDK/API

Build your own charging experience with our comprehensive SDK and API.

charging.ts
api.ts
import { HeyCharge } from '@heycharge/sdk';

const client = new HeyCharge({
  apiKey: 'hc_live_...'
});

// Start a charging session
const session = await client.sessions.create({
  chargerId: 'chrg_abc123',
  userId: 'user_xyz789'
});

// Listen for events
client.on('session.started', (event) => {
  console.log(`Charging: $${event.power}kW`);
});

Caratteristiche

Mobile SDK

Native iOS, Android, and React Native SDKs for app integration

REST API

Full API access to all platform features

Webhooks

Real-time event notifications

Documentation

Comprehensive docs and sample code

Specifiche tecniche

Mobile SDKs iOS SDK, Android SDK, React Native SDK
API REST API v2
Authentication OAuth 2.0
Webhooks Real-time events
Sandbox Full test environment

Ideale per

White-label CPO partnersApp developersSystem integrators

Sei pronto a iniziare?

Contattaci per discutere delle tue esigenze in materia di infrastrutture di ricarica per veicoli elettrici.