magedahmad/tap-payment

A package for tap.company payment gateway

dev-main 2023-04-03 14:48 UTC

This package is auto-updated.

Last update: 2024-05-03 17:26:41 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.