This is Xendit API made using Laravel framework
haaruuyaa/xendit-laravel-api is a Laravel package for this is xendit api made using laravel framework.
It currently has 0 GitHub stars and 15 downloads on Packagist (latest version 1.0.0).
Install it with composer require haaruuyaa/xendit-laravel-api.
Discover more Laravel packages by haaruuyaa
or browse all Laravel packages to compare alternatives.
Last updated
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.
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
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
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);