Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 722 Bytes

File metadata and controls

28 lines (17 loc) · 722 Bytes

CoinPayments API v2 PHP Examples

Provides set of PHP samples which will show how to interact with CoinPayments API v2.

Installation

Installation via Composer:

$ composer require coinpaymentscom/examples

or 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).

Usage

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