Skip to content

Coinpayments Configuration

You can see our video tutorial for coinpayments configuration: Coinpayments Configuration.

Create Coinpayments Account

Please go to and open an account if you don’t have any. After logging in your account please you need to collect the following credentials -

Private And Public Key

To generate private and public keys go to this API Keys tab. You can find this tab under Account > API KEY or visit this link . Click on the Generate new key... Button and you will get public and private keys. Copy and paste them in your .env file.

Next click on the Edit Permissions button and you will be have two sections, one is API Key Settings and another API Key Permissions.

You can configure them according to your requirements. For API Key Permission please check all the options except get_basic_info and set_basic_info.

Coinpayments Merchant ID

Please visit Account Settings under Account menu or click on this and you will get your Merchant ID under Basic Settings tab. Please copy and set this as value for COINPAYMENT_MERCHANT_ID in .env file.

Coinpayments IPN Secret

Please visit Account Settings under Account menu or click on this and select Merchant Settings tab. The very first field is for IPN secret and input random string and save.

Use the same IPN secret value for COINPAYMENT_IPN_SECRET in .env file.

Coinpayments IPN Url

Set value as in .env file. The end point must be /api/ipn.

Check the environment setting process here.

After changing any configuration run following commands:

php artisan clear:all
php artisan horizon:terminate