PHPackages                             khenop/ovoid - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. khenop/ovoid

ActiveLibrary[API Development](/categories/api)

khenop/ovoid
============

Un-Official OVOID API

2.0.0.x-dev(6y ago)18[1 PRs](https://github.com/khenop/ovoid/pulls)MITPHP

Since Jul 2Pushed 6y agoCompare

[ Source](https://github.com/khenop/ovoid)[ Packagist](https://packagist.org/packages/khenop/ovoid)[ RSS](/packages/khenop-ovoid/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

[![](https://camo.githubusercontent.com/1eceea7f21864ae80a12bea2a0e558662343c9ab18ed8925448ab31c8ffec5aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c696e74616e6774696d75722f6f766f69642e7376673f7374796c653d706f706f75742d737175617265)](https://packagist.org/packages/lintangtimur/ovoid) [![](https://camo.githubusercontent.com/62ba7eafd72064b94639ed80b73291ba4aa3e8d97e6880692700b04acd8c521a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c696e74616e6774696d75722f6f766f69642e7376673f7374796c653d706f706f75742d737175617265)](https://github.com/lintangtimur/ovoid/blob/master/LICENSE) [![](https://camo.githubusercontent.com/e6fe5883227e3771b330999b71ed35b71c5f1c7686105437f24b9ee326493444/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3936393965636238626166363466646239343639326239306230316337336231)](https://www.codacy.com/app/lintangtimur/ovoid?utm_source=github.com&utm_medium=referral&utm_content=lintangtimur/ovoid&utm_campaign=Badge_Grade)

Un-Official ovoid API Wrapper
-----------------------------

[](#un-official-ovoid-api-wrapper)

Telah di test pada OVO versi 2.11.1 | 16 Juni 2019 | PHP 7.3.\*

MethodResult`login2FA`OK`login2FAVerify`OK`loginSecurityCode`OK`getBudget`OK`balanceModel`OK`logout`OK`unreadHistory`OK`getWalletTransaction`OK`generateTrxId`OK`transferOvo`OKPORTS
-----

[](#ports)

Jika PHP tidak nyaman bagimu bisa mencoba bahasa pemrograman lain, atau jika ingin menulis dibahasa tersebut silahkan ajukan Issue baru nanti akan saya list disini

### Python

[](#python)

- [@anysz/ovopy](https://github.com/anysz/ovopy) by [anysz](https://github.com/anysz)

### GO

[](#go)

-

### Java

[](#java)

-

### Javascript / nodejs

[](#javascript--nodejs)

-

Install
-------

[](#install)

`composer require khenop/ovoid`

Login
-----

[](#login)

### first step

[](#first-step)

```
require 'vendor/autoload.php';
use Khenop\OVOID;

$ovoid = new OVOID();
echo $ovoid->login2FA('')->getRefId());
```

### second step

[](#second-step)

```
echo $ovoid->login2FAVerify('', '', '')->getUpdateAccessToken();
```

### third step

[](#third-step)

```
echo $ovoid->loginSecurityCode('', '')->getAuthorizationToken();
```

Balance Model
-------------

[](#balance-model)

### Get Payment Method

[](#get-payment-method)

`getPaymentMethod()`

### Get Card Balance

[](#get-card-balance)

`getCardBalance($payment_method)`

### Get Card No

[](#get-card-no)

`getCardNo($payment_method)`

EXAMPLE
-------

[](#example)

```
