diff --git a/README.md b/README.md index b840ea1..80d8ede 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,7 @@ const paystack = new Paystack("secret_key"); * resolveAccount * resolveBIN * resolvePhone + * verifyAccount * nuban * create * list diff --git a/resources/verification.js b/resources/verification.js index b40e8e0..2120e34 100644 --- a/resources/verification.js +++ b/resources/verification.js @@ -45,5 +45,22 @@ module.exports = { resolvePhone: { method: "post", route: `/verifications` + }, + + /* + Account Validation + */ + validateAccount: { + method: "post", + route: `${route}/validate`, + args: [ + "bank_code", + "country_code", + "account_number", + "account_name", + "account_type", + "document_type", + "document_number" + ] } };