from paystackapi.verification import Verification
response = Verification.verify_bvn(account_number='1234567890')Arguments
bvn: customer's bvn number
Returns
JSON data from paystack API.
from paystackapi.verification import Verification
response = Verification.verify_bvn_match(bvn='1234567890',account_number='34334343',bank_code='34343' )Arguments
bvn: customer's bvn numberaccount_number: customer's account numberbank_code: customer's bank codefirst_name: customer's first name (Optional)last_name: customer's last name (Optional)middle_name: customer's middle name (Optional)
Returns
JSON data from paystack API.
from paystackapi.verification import Verification
response = Verification.verify_account(account_number='1234567890')Arguments
account_number: customer's account number
Returns
JSON data from paystack API.
from paystackapi.verification import Verification
response = Verification.verify_card_bin(card_bin='001')Arguments
card_bin: customer's card bin
Returns
JSON data from paystack API.
Verification.verify_phone(verification_type, phone, callback_url) - verify a customer's phone number
from paystackapi.verification import Verification
response = Verification.verify_phone(
verification_type='truecaller',
phone='090123456890,
callback_url='https://google.com'
)Arguments
verification_type: phone number verification typephone: phone number to be verifiedcallback_url: callback url to send verification details to
Returns
JSON data from paystack API.