Download the PHP package passimpay/passimpay-php-api without Composer
On this page you can find all versions of the php package passimpay/passimpay-php-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download passimpay/passimpay-php-api
More information about passimpay/passimpay-php-api
Files in passimpay/passimpay-php-api
Package passimpay-php-api
Short Description Passimpay API PHP wrapper
License
Homepage https://github.com/Passimpay/passimpay-api-php
Informations about the package passimpay-php-api
Passimpay API PHP wrapper
This is a library for easy integration of Passimpay API to your PHP project.
Requirements
- PHP >= 7.1.0
- ext-mbstring
- ext-json
- ext-curl
You will also need to create your platform here and specify certain values in code:
- platform id
- secret key
Composer installation
Examples
-
Getting balance:
-
Getting list of currencies:
-
Creating invoice link:
-
Checking invoice status:
-
Getting wallet address for payments:
-
Withdraw:
-
Checking transaction status:
- Handling notifications:
Upon creating platform at passimpay.io you could specify endpoint to call when invoice status is changed.
Use code below to handle this notification:
Contribution
Feel free to create an issue in case you have found a bug or have a suggestion.
All versions of passimpay-php-api with dependencies
ext-mbstring Version *
ext-json Version *
ext-curl Version *