@specialman/safehaven
Version:
Node JS SDK for Safe Haven MFB APIs
16 lines (12 loc) • 330 B
JavaScript
class Verification {
constructor(request) {
this.request = request;
}
async initiate(data) {
return this.request("/identity/v2", { method: "POST", data });
}
async validate(data) {
return this.request("/identity/v2/validate", { method: "POST", data });
}
}
module.exports = Verification;