PHP code example of zgabievi / e-money
1. Go to this page and download the library: Download zgabievi/e-money library . Choose the download type require .
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zgabievi / e-money example snippets
Gabievi\eMoney\eMoneyServiceProvider::class
'eMoney' => Gabievi\eMoney\eMoneyFacade::class
return eMoney::GetResult('GetBalance');
return (array)eMoney::GetBalance(...$args)->GetBalanceResult;
return eMoney::GetResult('GetStatement', '01/01/2016', '01/14/2016');
json
{
"Code": 1,
"ExtraInfo": null,
"ID": "3D3FFA52900E468CA3E3F39CD6819E44",
"Message": "Success",
"SystemCode": "OK",
"Value": {
"StatementEntry": [
{
"Amount": "15",
"Code": 866730178,
"Credit": 110100052,
"Currency": "GEL",
"Date": "2016-01-12T00:00:00",
"Debit": 110100015,
"Description": "12345678910, 02.04.1994, Test #1",
"ID": 16673017,
"Status": "Canceled",
"Type": "Test transaction"
},
{
"Amount": "1",
"Code": 866730178,
"Credit": 800000003,
"Currency": "GEL",
"Date": "2016-01-12T00:00:00",
"Debit": 110100015,
"Description": "Test transaction",
"ID": 16673019,
"Status": "Canceled",
"Type": "Test transaction"
}
]
}
}
php artisan vendor:publish