API Sample Code
curl --request POST \
--url https://www.coinpayments.net/api.php \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'HMAC: your_generated_hmac' \
--data 'version=1&cmd=rates&key=your_api_public_key&format=json'
composer require coinpaymentsnet/coinpayments-php