PHP code example of apimatic-bk / bk-sdk

1. Go to this page and download the library: Download apimatic-bk/bk-sdk 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/ */

    

apimatic-bk / bk-sdk example snippets


use BokuDirectPaymentsAPILib\Environment;
use BokuDirectPaymentsAPILib\BokuDirectPaymentsAPIClientBuilder;

$client = BokuDirectPaymentsAPIClientBuilder::init()
    ->environment(Environment::MERCHANT_TEST_ENVIRONMENT)
    ->country('gb')
    ->build();