magedahmad / tap-payment
A package for tap.company payment gateway
dev-main
2023-04-03 14:48 UTC
Requires
- php: ^7.4|^8.0
- illuminate/support: ^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-11-03 18:37:36 UTC
README
A neat tap payment integration with laravel
Installation
You can install the package via composer:
composer require magedahmad/tap-payment
Usage
TapCharge::charge($data);
available endpoints
- Charge
POST /charges
TapCharge::charge($data);
- Get charge
GET /charges/{id}
TapCharge::find($id);
- Subscribe
POST subscription/v1/
TapSubscribe::subscribe($data);
- Get subscribtion
GET subscription/v1/{id}
TapSubscribe::find($id);
- List subscriptions
POST subscription/v1/list
TapSubscribe::list();
- Cancel subscription
DELETE subscription/v1/{id}
TapSubscribe::cancel($id);
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email maged.ahmedr@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.