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