Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 446 Bytes

readme.md

File metadata and controls

19 lines (11 loc) · 446 Bytes

RelayPay PHP SDK

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.