This package provides an official PHP SDK to interact with the RelayPay API.
Use Composer to install the package:
composer require relaypay-official/merchant-php-sdk
Setup the client:
$rp = new RelayPay( 'YOUR_PUBLIC_KEY', 'YOUR_PRIVATE_KEY', 'YOUR_EMAIL' );
Call the API:
$transactions = $rp->ecommerce()->getTransactions();
For more examples review the Examples
folder.