Files
tripay-sdk-php/examples/open-payment-transactions.php
2023-03-03 09:41:28 +07:00

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();