Download the PHP package relaypay-official/merchant-php-client without Composer
On this page you can find all versions of the php package relaypay-official/merchant-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package merchant-php-client
.
Relay Pay API documentation. Use api.sandbox.relaypay.io
for Sandbox environment and api.relaypay.io
for production. Some useful links: - Official docs
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 0.0.2
- Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen
Requirements
PHP 5.5 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
Then run composer install
Manual Installation
Download the files and include autoload.php
:
Tests
To run the unit tests:
Getting Started
Please follow the installation procedure and then run the following:
Documentation for API Endpoints
All URIs are relative to https://{environment}.relaypay.io
Class | Method | HTTP request | Description |
---|---|---|---|
ECommerceApi | getMerchantTransaction | GET /api/v1/merchant/transaction | Get merchant transaction for a given merchantId by a specified orderId |
ECommerceApi | getMerchantTxs | GET /api/v1/merchant/transaction/history | Get all bill payment transactions for the merchant |
ECommerceApi | setEcommerceRequest | POST /api/v1/ecommerce/request | Ecommerce provider pushes a transaction request. The service returns a unique url to be used for redirection. |
ECommerceApi | setEcommerceSalesforce | POST /api/v1/ecommerce/salesforce | Ecommerce provider pushes a Salesforce specific data for authorisation. |
MerchantSignatureTestingApi | generateSign | POST /api/v1/merchants/generate-sign/{privateKey} | Testing header signature generation. Not to be used in the actual merchant implementation. This method is a convenience for a developer to verify that his sign function generates the same header as we do. |
Documentation For Models
- EcommerceIncomingRequest
- EcommerceMerchantTransaction
- EcommerceResponse
- MerchantSalesforcePlugin
- PageEcommerceMerchantTransaction
- Pageable
- Sort
Documentation For Authorization
authorization
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
sign
- Type: API key
- API key parameter name: Sign
- Location: HTTP header
Author
All versions of merchant-php-client with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^6.2