Download the PHP package xplicit-dev/mamopay without Composer
On this page you can find all versions of the php package xplicit-dev/mamopay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xplicit-dev/mamopay
More information about xplicit-dev/mamopay
Files in xplicit-dev/mamopay
Package mamopay
Short Description The MamoPay PHP library provides convenient access to the MamoPay API from applications written in the PHP language. It includes a pre-defined set of classes for API resources that initialize themselves dynamically from API responses which makes it compatible with a wide range of versions of the MamoPay API.
License MIT
Homepage https://github.com/xplicit-dev/mamopay
Rated 5.00 based on 1 reviews
Informations about the package mamopay
MamoPay
The MamoPay PHP library offers seamless integration with the MamoPay API for PHP-based applications, streamlining access and enhancing functionality.
Requirements
A minimum of PHP 5.6.0 up to 8.1
Installation
You can install the package via Composer:
Getting Started
Obtain your API Key:
Log in to the MamoPay dashboard (https://dashboard.mamopay.com/manage/developer)
and navigate to the Developer section to get your API key.
Instantiate MamoPay Client:
For sandbox testing, pass 'true' as second parameter:
The resources can be accessed via the $client
object. All the methods invocations follow the following pattern
Supported Resources
-
Links
-
Transaction
-
Subscription
-
Payout
- Webhook
Use of Unlisted Resources
The MamoClient SDK allows you to utilize resources not listed within this package. This flexibility enables you to leverage any additional resources provided by the MamoPay API without constraints.
Links
The resource to generate vanilla and subscription payment links
- generate vanilla payment link:
see params here https://mamopay.readme.io/reference/post_links
this will return a \MamoPay\Api\Objects\PaymentLink object
refer: https://mamopay.readme.io/reference/payment-link-object
-
Fetching all Payment Links:
-
Update Payment Link:
-
Delete Payment Link:
- Fetch Payment Link Info:
Transaction
Initiate transactions by merchant (Merchant Initiated Transaction)
Merchant Initiated Transactions (MIT) allows a business to use card details, that were stored during previous transactions, to charge their customers.
this will return a \MamoPay\Api\Objects\TransactionInfo object
refer : https://mamopay.readme.io/reference/charge-object
-
Fetch Transaction Info
-
Fetch all Transactions
- Refund Payment
Subscription
-
Fetches all subscribers of subscription.
-
Fetches all subscription payments made against a Recurring Payment item.
-
Unsubscribe subscription
- Cancels an existing recurring payment. This is NOT to unsubscribe a customer from a recurring payment that they have subscribed to. This deletes a previously created subscription for a business.
Payout
- Fetch all Disbursements
Issue Disbursements
-
Allows the issuance of disbursement
- Allows the issuance of disbursements in bulk
Webhook
-Webhook registration for updates on one-off payment statuses and subscription payment statuses.
this will return \MamoPay\Api\Objects\WebhookInfo object
-
WebhookEvent class contain all event constants
-
Fetches all registered webhooks for a given business
-
update webhook details
- Delete a registered webhook
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
All versions of mamopay with dependencies
ext-curl Version *