mirror of
https://github.com/zerosdev/tripay-sdk-php.git
synced 2026-01-07 01:01:29 +00:00
15 lines
302 B
PHP
15 lines
302 B
PHP
<?php
|
|
|
|
require __DIR__ . '/../vendor/autoload.php';
|
|
|
|
use ZerosDev\TriPay\Client;
|
|
use ZerosDev\TriPay\Merchant;
|
|
|
|
$config = require __DIR__ . '/config.php';
|
|
|
|
$client = new Client($config);
|
|
$merchant = new Merchant($client);
|
|
|
|
$result = $merchant->transactions([]);
|
|
echo $result->getBody()->getContents();
|