Provides set of PHP samples which will show how to interact with CoinPayments API v2.
Installation via Composer:
$ composer require coinpaymentscom/examplesor add it by hand to your composer.json file.
You also can clone this repository and start using it directly (please don't forget to run composer install after cloning).
Before starting, please rename .env.dist to .env and populate it with your Client ID and Client Secret obtained from CoinPayments BO.
All examples can be executed from console:
For instance:
$ php _PATH_TO_THIS_LIBRARY/src/examples/create_invoice.php