-
Notifications
You must be signed in to change notification settings - Fork 1
Business Banking
Aslam edited this page Apr 1, 2021
·
1 revision
/**
* Initialize service and Access Token
*/
$getToken = bcaapi()
->service('Authentication')
->AccessToken()
->toJson();
$service = bcaapi()
->setToken($getToken['access_token'])
->service('BusinessBanking');
/**
* @param string $AccountNumber
*/
$BalanceInformation = $service->BalanceInformation('0201245680')->toJson();
/**
* @param string $AccountNumber
* @param string $StartDate
* @param string @EndDate
*/
$AccountStatement = $service->AccountStatement('0201245680', '2016-08-29', '2016-09-01')->toJson();
/**
* CorporateID taken from config
* TransactionDate current date Y-m-d
* @param array $fields
*/
$FundTransfer = $service->FundTransfer([
'SourceAccountNumber' => '0201245680',
'BeneficiaryAccountNumber' => '0201245681',
'Amount' => '100000.00',
'TransactionID' => '00000001',
'ReferenceID' => '12345PO2016',
'CurrencyCode' => 'IDR',
'Remark1' => 'Transfer Test',
'Remark2' => 'Online Transfer',
])->toJson();
CorporateID is taken from config file name bank-bca.php if you wish to change without event touch bank-bca.php file you cant override it by using this function
$service->setCorporateID('Your CorporateID')->FundTransfer()->toJson();
- Installation
- Services
- Get Token
- Business Banking
- Sakuku
- General Information
- Fire
- Virtual Account
- Notification
- Financing
- Fund Collection
- Flazz BCA