Verification Module

This wrapper class facilitates synchronous integration with Paystack Verification APIs The Verification API allows you to perform KYC processes.


class VerificationClientAPI(secret_key: str = None)

Paystack Verification API Reference: Verification

resolve_account(account_number: str, bank_code: str)→ PayStackResponse

Confirm an account belongs to the right customer. This feature is available to business in Nigeria and Ghana.

Parameters:
  • account_number (str) – The account number to be confirmed

  • bank_code (str) – The bank code to be confirmed

Returns:

The response from the API

Return type:

PayStackResponse object

resolve_card_bin(bin_code: str)→ PayStackResponse

Resolve a card BIN

Parameters:

bin_code (str) – The card bin to be resolved

Returns:

The response from the API

Return type:

PayStackResponse object

validate_account(account_name: str, account_number: str, account_type: str, bank_code: str, country_code: str, document_type: str, document_number: str)→ PayStackResponse

Confirm the authenticity of a customer’s account number before sending money. This feature is only available to businesses in South Africa.

Parameters:
  • account_name (str) – The account name to be confirmed

  • account_number (str) – The account number to be confirmed

  • account_type (str) – The account type to be confirmed

  • bank_code (str) – The bank code to be confirmed

  • country_code (str) – The country code to be confirmed

  • document_type (str) – The document type to be confirmed

  • document_number (str) – The document number to be confirmed

Returns:

The response from the API

Return type:

PayStackResponse object