ben/banker_php
Composer 安装命令:
composer require ben/banker_php
包简介
An online payment integration package making use of flutter wave api
README 文档
README
A PHP package that help payment integration using flutterwave's Rave API
Get Started
to get started with banker_php, Start by creating a flutterwave accout. Click here to create an account
install package
install bankw=er_php via composer.
run on your terminal
composer require ben/banker_php
API keys
API keys to access the flutterwave rave API can be gotten at the flutter wave's dashboard. After Signing in to ypiu account, go to settings->API read more
.env
API keys should be stored be stored in the a .env file in the src directory.
Card bin verification
to Get card bin via banker_php
require autoload
require('vendor/autoload.php')
use Cardify\slamify;
then call for the function
new Slamify
getCardbin(<bin>)
and pass in the argument of the card bin
BVN verification
to verify BVN via banker_php
require autoload
require('vendor/autoload.php')
use Cardify\slamify;
then call for the function
new Slamify
get_bvn(<bvn>)
and pass BVN as the argument
Note: this will require a charge of N50
Get all banks
to Get card bin via banker_php
require autoload
require('vendor/autoload.php')
use Cardify\slamify;
then call for the function
new Slamify
getBanks(<country_code>)
and pass in the country code as an argument
e.g NG for Nigeria.
it's set to NG b default.
Account verification
to Get card bin via banker_php
require autoload
require('vendor/autoload.php')
use Cardify\slamify;
then call for the function
new Slamify
getAccount(<accout_no>, <bank>)
and pass in the account number as the first argument, and the bank code or the bank name as the secound argument
Card payments
to Get card bin via banker_php
require autoload
require('vendor/autoload.php')
use Cardify\Payment;
then call for the function
new Payment
cardPaymet(<payment details>)
and pass in the payment details as an argument
Post OTP
to Get card bin via banker_php
require autoload
require('vendor/autoload.php')
use Cardify\Payment;
then call for the function
new Payment
postOTP(<otp>)
and pass in the otp as an argument
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: 0BSD
- 更新时间: 2020-07-23