verifytx-node

NodeJS SDK for connecting to verifytx

Usage no npm install needed!

<script type="module">
  import verifytxNode from 'https://cdn.skypack.dev/verifytx-node';
</script>

README

Install

$ npm add verifytx-node

Usage

import { VerifyTX } from "verifytx-node"

VerifyTX.getInstance().authorize({
    ...options
});

Documentation

https://docs.dev.verifytx.com

API

Class VerifyTX

Source code:

Methods:

.view( ) Promise<any>
View vob
 ▪ id string vob id
.vobs( ) Promise<any>
Get vobs
 ▪ filter any
.update( ) Promise<any>
 ▪ id string
 ▪ data object
.delete( ) Promise<any>
Delete vob
 ▪ id string vob id
.reverify( ) Promise<any>
Reverify Vob
 ▪ id string reverify vob
.verify( ) Promise<any>
Request a new VOB
 ▪ data object VOB data
.history( ) Promise<any>
View vob coverage history
 ▪ id string vob id
.relations( ) Promise<any>
Available relations
.providers( ) Promise<any>
Get available providers
 ▫ search? string optional provider search
.authorize( ) Promise<IAuthorize>
Authorize api requests
 ▪ options IOptions
.refresh( ) Promise<IAuthorize>
Refresh access token