PHP code example of acceptcrypto / acceptcryptophp

1. Go to this page and download the library: Download acceptcrypto/acceptcryptophp library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

acceptcrypto / acceptcryptophp example snippets


$response = AcceptCrypto::checkout({{TOKEN}}, {{CUSTOMER EMAIL ADDRESS}});

$response = AcceptCrypto::custom({{NAME}}, {{AMOUNT}}, {{CURRENCY}}, {{BACKGROUND}}, {{CUSTOMER EMAIL ADDRESS}}, {{API KEY}});

$tx = AcceptCrypto::tx({{ID}}, {{API KEY}});

$email = AcceptCrypto::email({{EMAIL}}, {{API KEY}});