Product Docs Help

merchant

Get the merchant credentials.

<?php declare(strict_types=1); use Qvickly\Api\Auth\AuthAPI; require __DIR__ . '/../../vendor/autoload.php'; use Dotenv\Dotenv; $dotenv = Dotenv::createImmutable(__DIR__ . '/../..'); $dotenv->load(); $authAPI = new AuthAPI(); $auth = $authAPI->login($_ENV['USERNAME'], $_ENV['PASSWORD']); $merchant = $authAPI->merchant($auth, $_ENV['EID']); var_dump($merchant);

This code requires our composer package qvickly/api

composer require qvickly/api
Last modified: 13 September 2024