gyugie/gopayid
Composer 安装命令:
composer require gyugie/gopayid
包简介
Un-Official GopayID API Wrapper
README 文档
README
Repository Berikut Ini Merupakan Porting Dari GOJEK dan (https://github.com/namdevel/gopay-api) Untuk PHP
Compliant with the Nov 10, 2020 Gojek API update.
Fitur Akun Pengguna GOPAY
- LoginNumberPhone
- getAccessToken
- transferGopayID
- transferBank
- getHistory
- getProfile
- getAccountBalance
- getQrid
- getBankList
- getBankAccountName
Dokumentasi
Langkah Untuk Menjalankan GopayID API
Ambil Paket Pada Composer
composer require gyugie/gopayid
Jika Di Jalankan Dengan Native
require 'vendor/autoload.php'; use Gyugie\GopayID; $gopay = new GopayID();
Fitur Akun Pengguna GopayID
Login Dengan Nomor Handphone
$loginToken = $gopay->LoginNumberPhone('<mobilePhone>')->getResult();
Login Pada GopayID Untuk Mendapatkan Access Token
$authToken = $gopay->getAuthToken('<loginToken>', '<OTP>')->getResult();
Menampilkan Informasi Akun Pengguna
$gopay = new GopayID('<access_token>'); $result = $gopay->getProfile()->getResult();
Transfer Ke Sesama GOPAY
$gopay = new GopayID('<access_token>'); $result = $gopay->transferGopayID('<phoneNumber>', '<amount>', '<pin>')->getResult();
Transfer Melalui Bank
$gopay = new GopayID('<access_token>'); $result = $gopay->transferBank('<bankCode>', '<bankNumber>', '<amount>', '<pin>')->getResult();
Mendapatkan List Bank
$gopay = new GopayID('<access_token>'); $result = $gopay->getBankList()->getResult();
Mendapatkan History Transaksi
$gopay = new GopayID('<access_token>'); $result = $gopay->getHistoryTransaction()->getResult();
Menampilkan Profile User
$gopay = new GopayID('<access_token>'); $result = $gopay->getBalance()->getResult();
Mendapatkan Qrid
$gopay = new GopayID('<access_token>'); $result = $gopay->getQrid('<phoneNumber>')->getResult();
Mendapatkan Nama Bank Account
$gopay = new GopayID('<access_token>'); $result = $gopay->getBankAccountName('<bankCode>', '<bankNumber>')->getResult();
Contributing
All kinds of contributions are welcome - code, tests, documentation, bug reports, new features, etc...
- Send feedbacks.
- Submit bug reports.
- Write/Edit the documents.
- Fix bugs or add new features.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-01