relaypay-official/merchant-php-sdk

1.0.3 2023-12-06 04:53 UTC

This package is auto-updated.

Last update: 2024-09-14 12:22:38 UTC


README

本软件包提供官方PHP SDK,用于与RelayPay API交互。

安装

使用Composer安装包: composer require relaypay-official/merchant-php-sdk

快速开始

设置客户端

$rp = new RelayPay( 'YOUR_PUBLIC_KEY', 'YOUR_PRIVATE_KEY', 'YOUR_EMAIL' );

调用API

$transactions = $rp->ecommerce()->getTransactions();

更多示例,请参阅Examples文件夹。