Coming Soon
Custody SDK for Node.js
Official Node.js client for the VECU Custody Service. Coming soon with TypeScript support and modern async/await patterns.
Under Development
We're working on a native Node.js SDK with full TypeScript support. In the meantime, you can use our Python SDK or access the REST API directly.
Planned Features
- -Full TypeScript support with type definitions
- -Modern async/await API
- -Promise-based operations
- -Automatic retry and error handling
- -ESM and CommonJS support
- -Mock client for testing
- -Node.js 18+ compatibility
API Preview
Here's what the Node.js SDK API will look like:
import { CustodyClient } from '@vecu/custody-sdk';
// Initialize client
const client = new CustodyClient({
apiKey: process.env.VECU_API_KEY,
apiSecret: process.env.VECU_API_SECRET,
environment: 'sandbox'
});
// Create custody permit
const permit = await client.authorizations.create({
vin: '1HGCM82633A123456',
authorizedParty: 'dealer-001',
permitType: 'transfer'
});
// Check releasability
const result = await client.releasability.checkVin({
vin: '1HGCM82633A123456'
});
console.log(`Releasable: ${result.isReleasable}`);