This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
You can install the package via composer:
composer require stephenjude/lenco-laravel-sdk
Add Lenco API token to your .env
file.
LENCO_API_TOKEN=xxxx_xxxx_xxxx_xxxx
use \LencoSDK\Lenco\Lenco;
$lenco = new Lenco();
$banks = $lenco->banks();
use \LencoSDK\Lenco\Facades\Lenco;
$banks = Lenco::banks();
use LencoSDK\Lenco\Facades\Lenco;
Lenco::accounts();
Lenco::account(accountID: $accountID);
Lenco::accountBalance(accountID: $accountID);
Lenco::banks();
Lenco::resolve(accountNumber: $accountNumber, bankCode: $bankCode);
Lenco::transactions(
page: $page = null,
status: $status = null,
type: $type = null,
start: $start = null,
end: $end = null,
search: $search = null,
accountIds: $accountIds = null
);
Lenco::transactionById(transactionId: $transactionId);
Lenco::transactionByReference(transactionReference: $transactionReference);
Lenco::createVirtualAccount(
accountName: $accountName,
transactionReference: $transactionReference = null,
amount: $amount = null,
minAmount: $minAmount = null,
isStatic: $isStatic = false,
createNewAccount: $createNewAccount = false,
bvn: $bvn = null
);
Lenco::virtualAccounts(page: $page = null);
Lenco::virtualAccountByReference(accountReference: $accountReference);
Lenco::virtualAccountByBVN(bvn: $bvn);
Lenco::virtualAccountTransactions(accountReference: $accountReference, page: $page = null);
Lenco::virtualAccountTransaction(transactionId: $transactionId);
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.