@aliaspayments/vlt-client
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

vlt-client

Build Status

Usage

const client = new VltClient({
  apiKey: 'abc123',
	apiSecret: 'abc1234',
	apiUrl: 'http://localhost:3000'
});

// List gateways
await client.gateways.list();

// Create gateway
await client.gateways.create({
	name: "My Gateway",
	type: "global_transport",
	credentials: {
		username: 'abc123',
		password: 'abc123'
	}
});

// Update gateway
await client.gateways.update('59ef868c138285143d48c7f1', { name: 'my gateway' });

// Redact gateway
await client.gateways.redact('59ef868c138285143d48c7f1');

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    61
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    61
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @aliaspayments/vlt-client

Weekly Downloads

61

Version

1.1.0

License

MIT

Unpacked Size

8.21 kB

Total Files

7

Last publish

Collaborators

  • gcollazo
  • jpadilla