relaypay-official/merchant-php-sdk

1.0.3 2023-12-06 04:53 UTC

This package is auto-updated.

Last update: 2024-05-14 11:30:10 UTC


README

This package provides an official PHP SDK to interact with the RelayPay API.

Installation

Use Composer to install the package: composer require relaypay-official/merchant-php-sdk

Quick start

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.