Skip to content

Commit

Permalink
Update example.php
Browse files Browse the repository at this point in the history
  • Loading branch information
namdevel committed Sep 17, 2021
1 parent e6ae74a commit b1e79db
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion example.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,39 @@
$app = new Ovo($token);

echo $app->getLastTransactions(); // get 5 last transaction

echo $app->getFavoriteTransfer(); // get favorite transfer

echo $app->getEmail(); // get account email

echo $app->transactionHistory(); // get transaction history

echo $app->walletInquiry(); // wallet inquiry

echo $app->getOvoCash(); // get ovo balance

echo $app->getOvoCashCardNumber(); // get ovo cash card number

echo $app->getOvoPointsCardNumber(); // get ovo point card number

echo $app->getOvoPoints(); // get ovo point balance

echo $app->getPointDetails(); // get ovo point history

echo $app->getBillerList(); // get biller list

echo $app->getBillerCategory('<category_id>'); // get biller category

echo $app->getDenominations('<product_id>'); // get denomination

echo $app->getBankList(); // get bank list

echo $app->getUnreadNotifications(); // get total unread notification

echo $app->getAllNotifications(); // get all notifications

echo $app->getInvestment(); // get investment data
echo $app->isOVO('<amount>', '<phone_number>'); // ovo account validate

echo $app->isOVO('<amount>', '<phone_number>'); // ovo account validate

echo $app->getTransactionDetails('<merchant_id>', '<merchant_invoice>'); // get transaction details

0 comments on commit b1e79db

Please sign in to comment.