From f828c82a240a846c46b11be89fa8cac79e4fbc45 Mon Sep 17 00:00:00 2001 From: Kolawole Ezekiel Date: Tue, 5 Apr 2022 21:30:12 +0100 Subject: [PATCH] add more banks in json, php, sql format --- banks.json | 65 +++++++++++++++++++++++++++++++++++------------------- banks.php | 63 ++++++++++++++++++++++++++++++++++------------------ banks.sql | 63 ++++++++++++++++++++++++++++++++++------------------ 3 files changed, 124 insertions(+), 67 deletions(-) diff --git a/banks.json b/banks.json index f0bc75b..7cdbf80 100644 --- a/banks.json +++ b/banks.json @@ -1,25 +1,44 @@ [ - { "id": "1", "name": "Access Bank" ,"code":"044" }, - { "id": "2", "name": "Citibank","code":"023" }, - { "id": "3", "name": "Diamond Bank","code":"063" }, - { "id": "4", "name": "Dynamic Standard Bank","code":"" }, - { "id": "5", "name": "Ecobank Nigeria","code":"050" }, - { "id": "6", "name": "Fidelity Bank Nigeria","code":"070" }, - { "id": "7", "name": "First Bank of Nigeria","code":"011" }, - { "id": "8", "name": "First City Monument Bank","code":"214" }, - { "id": "9", "name": "Guaranty Trust Bank","code":"058" }, - { "id": "10", "name": "Heritage Bank Plc","code":"030" }, - { "id": "11", "name": "Jaiz Bank","code":"301" }, - { "id": "12", "name": "Keystone Bank Limited","code":"082" }, - { "id": "13", "name": "Providus Bank Plc","code":"101" }, - { "id": "14", "name": "Polaris Bank","code":"076" }, - { "id": "15", "name": "Stanbic IBTC Bank Nigeria Limited","code":"221" }, - { "id": "16", "name": "Standard Chartered Bank","code":"068" }, - { "id": "17", "name": "Sterling Bank","code":"232" }, - { "id": "18", "name": "Suntrust Bank Nigeria Limited","code":"100" }, - { "id": "19", "name": "Union Bank of Nigeria","code":"032" }, - { "id": "20", "name": "United Bank for Africa","code":"033" }, - { "id": "21", "name": "Unity Bank Plc","code":"215" }, - { "id": "22", "name": "Wema Bank","code":"035" }, - { "id": "23", "name": "Zenith Bank","code":"057" } + { "id": "1", "name": "Access Bank", "code":"044" }, + { "id": "2", "name": "Access Mobile", "code":"323" }, + { "id": "3", "name": "Aso Savings and Loans", "code":"401" }, + { "id": "4", "name": "Cellulant","code":"317" }, + { "id": "5", "name": "Central Bank of Nigeria", "code":"001" }, + { "id": "6", "name": "Citibank", "code":"023" }, + { "id": "7", "name": "Coronation Merchant Bank", "code":"559" }, + { "id": "8", "name": "Corporetti ORPORETTI", "code":"310" }, + { "id": "9", "name": "Covenant Microfinance Bank", "code": "551" }, + { "id": "10", "name": "Diamond Bank", "code":"063" }, + { "id": "11", "name": "Dynamic Standard Bank", "code":"" }, + { "id": "12", "name": "Eartholeum (QIK QIK)", "code": "302"}, + { "id": "13", "name": "Ecobank Nigeria", "code":"050" }, + { "id": "14", "name": "Eco Mobile", "code": "307" }, + { "id": "15", "name": "Ekondo Microfinance Bank", "code": "562" }, + { "id": "16", "name": "Enterprise Bank", "code": "084" }, + { "id": "17", "name": "Equitorial Trust Bank", "code": "040" }, + { "id": "18", "name": "Fidelity Bank Nigeria", "code":"070" }, + { "id": "19", "name": "Fidelity Mobile", "code": "318" }, + { "id": "20", "name": "Finatrust Microfinance Bank", "code": "608" }, + { "id": "21", "name": "First Inland Bank", "code": "085" }, + { "id": "22", "name": "First Bank of Nigeria", "code":"011" }, + { "id": "23", "name": "First City Monument Bank", "code":"214" }, + { "id": "24", "name": "Fortis Microfinance Bank", "code": "501" }, + { "id": "25", "name": "Fortis Mobile", "code": "308" }, + { "id": "26", "name": "Guaranty Trust Bank", "code":"058" }, + { "id": "27", "name": "Heritage Bank Plc", "code":"030" }, + { "id": "28", "name": "Jaiz Bank", "code":"301" }, + { "id": "29", "name": "Keystone Bank Limited", "code":"082" }, + { "id": "30", "name": "PAGA", "code": "327" }, + { "id": "31", "name": "Providus Bank Plc", "code":"101" }, + { "id": "32", "name": "Polaris Bank", "code":"076" }, + { "id": "33", "name": "Stanbic IBTC Bank Nigeria Limited", "code":"221" }, + { "id": "34", "name": "Standard Chartered Bank", "code":"068" }, + { "id": "35", "name": "Sterling Bank", "code":"232" }, + { "id": "36", "name": "Suntrust Bank Nigeria Limited", "code":"100" }, + { "id": "37", "name": "Union Bank of Nigeria", "code":"032" }, + { "id": "38", "name": "United Bank for Africa", "code":"033" }, + { "id": "39", "name": "Unity Bank Plc", "code":"215" }, + { "id": "40", "name": "VFD Microfinance Bank", "code": "566" }, + { "id": "41", "name": "Wema Bank", "code":"035" }, + { "id": "42", "name": "Zenith Bank", "code":"057" } ] diff --git a/banks.php b/banks.php index e0d6d43..403649b 100644 --- a/banks.php +++ b/banks.php @@ -11,26 +11,45 @@ // `Forms`.`banks` $banks = array( array('id' => '1','name' => 'Access Bank','code'=>'044'), - array('id' => '2','name' => 'Citibank','code'=>'023'), - array('id' => '3','name' => 'Diamond Bank','code'=>'063'), - array('id' => '4','name' => 'Dynamic Standard Bank','code'=>''), - array('id' => '5','name' => 'Ecobank Nigeria','code'=>'050'), - array('id' => '6','name' => 'Fidelity Bank Nigeria','code'=>'070'), - array('id' => '7','name' => 'First Bank of Nigeria','code'=>'011'), - array('id' => '8','name' => 'First City Monument Bank','code'=>'214'), - array('id' => '9','name' => 'Guaranty Trust Bank','code'=>'058'), - array('id' => '10','name' => 'Heritage Bank Plc','code'=>'030'), - array('id' => '11','name' => 'Jaiz Bank','code'=>'301'), - array('id' => '12','name' => 'Keystone Bank Limited','code'=>'082'), - array('id' => '13','name' => 'Providus Bank Plc','code'=>'101'), - array('id' => '14','name' => 'Polaris Bank','code'=>'076'), - array('id' => '15','name' => 'Stanbic IBTC Bank Nigeria Limited','code'=>'221'), - array('id' => '16','name' => 'Standard Chartered Bank','code'=>'068'), - array('id' => '17','name' => 'Sterling Bank','code'=>'232'), - array('id' => '18','name' => 'Suntrust Bank Nigeria Limited','code'=>'100'), - array('id' => '19','name' => 'Union Bank of Nigeria','code'=>'032'), - array('id' => '20','name' => 'United Bank for Africa','code'=>'033'), - array('id' => '21','name' => 'Unity Bank Plc','code'=>'215'), - array('id' => '22','name' => 'Wema Bank','code'=>'035'), - array('id' => '23','name' => 'Zenith Bank','code'=>'057') + array('id' => "2", "name" => "Access Mobile", "code" => "323" ), + array('id' => "3", "name" => "Aso Savings and Loans", "code" => "401" ), + array('id' => "4", "name" => "Cellulant","code" => "317" ), + array('id' => "5", "name" => "Central Bank of Nigeria", "code" => "001" ), + array('id' => '6','name' => 'Citibank','code'=>'023'), + array("id" => "7", "name" => "Coronation Merchant Bank", "code" => "559" ), + array("id" => "8", "name" => "Corporetti ORPORETTI", "code" => "310" ), + array("id" => "9", "name" => "Covenant Microfinance Bank", "code" => "551" ), + array('id' => '10','name' => 'Diamond Bank','code'=>'063'), + array('id' => '11','name' => 'Dynamic Standard Bank','code'=>''), + array("id" => "12", "name" => "Eartholeum (QIK QIK)", "code" => "302"), + array('id' => '13','name' => 'Ecobank Nigeria','code'=>'050'), + array("id" => "14", "name" => "Eco Mobile", "code" => "307" ), + array("id" => "15", "name" => "Ekondo Microfinance Bank", "code" => "562" ), + array("id" => "16", "name" => "Enterprise Bank", "code" => "084" ), + array("id" => "17", "name" => "Equitorial Trust Bank", "code" => "040" ), + array('id' => '18','name' => 'Fidelity Bank Nigeria','code'=>'070'), + array("id" => "19", "name" => "Fidelity Mobile", "code" => "318" ), + array("id" => "20", "name" => "Finatrust Microfinance Bank", "code" => "608" ), + array("id" => "21", "name" => "First Inland Bank", "code" => "085" ), + array('id' => '22','name' => 'First Bank of Nigeria','code'=>'011'), + array('id' => '23','name' => 'First City Monument Bank','code'=>'214'), + array("id" => "24", "name" => "Fortis Microfinance Bank", "code" => "501" ), + array("id" => "25", "name" => "Fortis Mobile", "code" => "308" ), + array('id' => '26','name' => 'Guaranty Trust Bank','code'=>'058'), + array('id' => '27','name' => 'Heritage Bank Plc','code'=>'030'), + array('id' => '28','name' => 'Jaiz Bank','code'=>'301'), + array('id' => '29','name' => 'Keystone Bank Limited','code'=>'082'), + array("id" => "30", "name" => "PAGA", "code" => "327" ), + array('id' => '31','name' => 'Providus Bank Plc','code'=>'101'), + array('id' => '32','name' => 'Polaris Bank','code'=>'076'), + array('id' => '33','name' => 'Stanbic IBTC Bank Nigeria Limited','code'=>'221'), + array('id' => '34','name' => 'Standard Chartered Bank','code'=>'068'), + array('id' => '35','name' => 'Sterling Bank','code'=>'232'), + array('id' => '36','name' => 'Suntrust Bank Nigeria Limited','code'=>'100'), + array('id' => '37','name' => 'Union Bank of Nigeria','code'=>'032'), + array('id' => '38','name' => 'United Bank for Africa','code'=>'033'), + array('id' => '39','name' => 'Unity Bank Plc','code'=>'215'), + array("id" => "40", "name" => "VFD Microfinance Bank", "code" => "566" ), + array('id' => '41','name' => 'Wema Bank','code'=>'035'), + array('id' => '42','name' => 'Zenith Bank','code'=>'057') ); diff --git a/banks.sql b/banks.sql index 0d86160..01a7b75 100644 --- a/banks.sql +++ b/banks.sql @@ -15,28 +15,47 @@ CREATE TABLE `banks` ( INSERT INTO `banks` (`id`, `name`,`code`) VALUES (1, 'Access Bank','044'), -(2, 'Citibank','023'), -(3, 'Diamond Bank','063'), -(4, 'Dynamic Standard Bank',' '), -(5, 'Ecobank Nigeria','050'), -(6, 'Fidelity Bank Nigeria','070'), -(7, 'First Bank of Nigeria','011'), -(8, 'First City Monument Bank','214'), -(9, 'Guaranty Trust Bank','058'), -(10, 'Heritage Bank Plc','030'), -(11, 'Jaiz Bank','301'), -(12, 'Keystone Bank Limited','082'), -(13, 'Providus Bank Plc','101'), -(14, 'Polaris Bank','076'), -(15, 'Stanbic IBTC Bank Nigeria Limited','221'), -(16, 'Standard Chartered Bank','068'), -(17, 'Sterling Bank','232'), -(18, 'Suntrust Bank Nigeria Limited','100'), -(19, 'Union Bank of Nigeria','032'), -(20, 'United Bank for Africa','033'), -(21, 'Unity Bank Plc','215'), -(22, 'Wema Bank','035'), -(23, 'Zenith Bank','057'); +(2, "Access Mobile", "323"), +(3, "Aso Savings and Loans", "401"), +(4, "Cellulant", "317"), +(5, "Central Bank of Nigeria", "001"), +(6, 'Citibank','023'), +(7, "Coronation Merchant Bank", "559"), +(8, "Corporetti ORPORETTI", "310"), +(9, "Covenant Microfinance Bank", "551"), +(10, 'Diamond Bank','063'), +(11, 'Dynamic Standard Bank',' '), +(12, "Eartholeum (QIK QIK)", "302"), +(13, 'Ecobank Nigeria','050'), +(14, "Eco Mobile", "code" => "307"), +(15, "Ekondo Microfinance Bank", "562"), +(16, "Enterprise Bank", "084"), +(17, "Equitorial Trust Bank", "040"), +(18, 'Fidelity Bank Nigeria','070'), +(19, "Fidelity Mobile", "318" ), +(20, "Finatrust Microfinance Bank", "608" ), +(21, "First Inland Bank", "085" ), +(22, 'First Bank of Nigeria','011'), +(23, 'First City Monument Bank','214'), +(24, "Fortis Microfinance Bank", "501"), +(25, "Fortis Mobile", "308"), +(26, 'Guaranty Trust Bank','058'), +(27, 'Heritage Bank Plc','030'), +(28, 'Jaiz Bank','301'), +(29, 'Keystone Bank Limited','082'), +(30, "PAGA", "327"), +(31, 'Providus Bank Plc','101'), +(32, 'Polaris Bank','076'), +(33, 'Stanbic IBTC Bank Nigeria Limited','221'), +(34, 'Standard Chartered Bank','068'), +(35, 'Sterling Bank','232'), +(36, 'Suntrust Bank Nigeria Limited','100'), +(37, 'Union Bank of Nigeria','032'), +(38, 'United Bank for Africa','033'), +(39, 'Unity Bank Plc','215'), +(40, "VFD Microfinance Bank", "566"), +(41, 'Wema Bank','035'), +(42, 'Zenith Bank','057'); -- -- Indexes for dumped tables