<?php
    require 'vendor/autoload.php';

    use NetSuite\NetSuiteService;

    $config = [
        // required -------------------------------------
        "endpoint"       => "2022_1",
        "host"           => "https://8551419-SB1.suitetalk.api.netsuite.com",
        "account"        => "8551419_SB1",
        "consumerKey"    => "dd17ce162da044d58ba11e38b93f3e81b726a0b930aa96253565467ea5a62f48",
        "consumerSecret" => "75f7314c028190150ee806a81cc4ac8fc51dab4e4ac510bad14aab9461a6e3e4",
        "token"          => "50f037d50ccb298d5aac1299b8b50b7a3972a9ebdb5b5f7294ee412122c18310",
        "tokenSecret"    => "db3945b21998c95629154157458f48a306f2834abad0a0f45b6f923f11ffbc72",
        // optional -------------------------------------
        "signatureAlgorithm" => 'sha256', // Defaults to 'sha256'
        "logging"  => true,
        "log_path" => "/Users/pgcrurom/Projects/Kraken/nb_stripe_ns/logs",
        "log_format"     => "netsuite-php-%date-%operation",
        "log_dateformat" => "Ymd.His.u",
    ];
    $service = new NetSuiteService($config);
?>