-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or requestfirstissue.devGood first issues for new open source contributorsGood first issues for new open source contributorsgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
At the moment, to get the bank code for certain countries, you have to call the list_bank endpoint on the Paystack API. This is alright, but then just another network call.
I would like to have a module that contains all the bank codes separated by country. Something like:
let bank_code = BankCode::NG::GTBThis should give a bank code for Guarantee Trust Bank. The general schema should be something like BankCode::CountryCode::BankShortName.
The alternative to this is having a method in the crate that allows the user to pass the bank name and get the code as a result. The problem could be that the wrong bank code is returned or no code is found.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfirstissue.devGood first issues for new open source contributorsGood first issues for new open source contributorsgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Projects
Status
No status