@aliaspayments/vlt-ts
Client library for the Vlt API
Last updated 3 years ago by jpadilla .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @aliaspayments/vlt-ts 
SYNC missed versions from official npm registry.

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');

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (2)
Downloads
Today 0
This Week 1
This Month 3
Last Day 1
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |