From 2ed9ba75cb514a4a107a70ed5ba3d9d1f5236e08 Mon Sep 17 00:00:00 2001 From: plondon Date: Fri, 3 Aug 2018 13:09:26 -0400 Subject: [PATCH] feat(Phone Call): submit phone call opt in --- src/profile.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/profile.js b/src/profile.js index ede911f..d5b3bc9 100644 --- a/src/profile.js +++ b/src/profile.js @@ -152,6 +152,12 @@ class Profile { fetchJumioStatus (id) { return this.api.authGET(`account/verify/enhanced/${id}`); } + + submitPhoneCallOptIn (trade) { + return this.api.authPOST('account/verify/phone', { + transaction_id: trade.id + }); + } } module.exports = Profile;