Skip to content

Latest commit

 

History

History
77 lines (58 loc) · 1.38 KB

File metadata and controls

77 lines (58 loc) · 1.38 KB

Bank

A collection of endpoints for managing bank details

Methods

Method HTTP Path Summary
list GET /bank List Banks
resolve_account_number GET /bank/resolve Resolve Account Number
validate_account_number POST /bank/validate Validate Bank Account

list

HTTP: GET
Path: /bank

paystack.bank.list({ ... })

Query Fields

Name Required
country false
currency false
use_cursor false
perPage false
page false
next false
previous false
pay_with_bank_transfer false
pay_with_bank false
enabled_for_verification false
gateway false
type false
include_nip_sort_code false

resolve_account_number

HTTP: GET
Path: /bank/resolve

paystack.bank.resolve_account_number({ ... })

Query Fields

Name Required
account_number false
bank_code false

validate_account_number

HTTP: POST
Path: /bank/validate

paystack.bank.validate_account_number({ ... })

Body Fields

Name Required
account_name true
account_number true
account_type true
bank_code true
country_code true
document_type true
document_number false