Skip to content

relaypay-public/merchant-php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.