haaruuyaa/xendit-laravel-api
最新稳定版本:1.0.0
Composer 安装命令:
composer require haaruuyaa/xendit-laravel-api
包简介
This is Xendit API made using Laravel framework
README 文档
README
Description
This PHP Package provides a convenient way to interact with the Xendit Laravel API using PHP Laravel. This package allows you to easily integrate Xendit payment functionality into your PHP applications.
Installation
You can install the haaruuyaa\xendit-laravel-api PHP Package via Composer. Run the following command in your project directory:
composer require haaruuyaa/xendit-laravel-api
Setup .env
You can put your API Key / Token in the .env file.
XENDIT_URL=https://api.xendit.co/ XENDIT_TOKEN=yourtoken XENDIT_API_VERSION=2020-10-31
Usage
use Haaruuyaa\XenditApi\Facades\Ewallet; // To create an ewallet payment Ewallet::createPayment(); // To create an ewallet Void Ewallet::createVoid($id); // To create an ewallet Refund Ewallet::createRefund($id); // To get an update for the ewallet charge status Ewallet::getPaymentStatus($id);
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-21