ntholenaar/multisafepay-client

This package is abandoned and no longer maintained. No replacement package was suggested.

MultiSafepay payment processing library

0.2.3 2017-06-09 10:00 UTC

This package is not auto-updated.

Last update: 2020-12-25 22:58:02 UTC


README

Please see the official multisafepay client(https://github.com/MultiSafepay/php-sdk)

MultiSafepay API Client

Build Status Scrutinizer Code Quality

API Client for the MultiSafepay API.

For more information about the MultiSafepay API see: https://www.multisafepay.com/documentation/doc/API-Reference/

Requirements

The following versions of PHP are supported.

Installation

You can use composer require to add the client to your composer.json file.

$ composer require ntholenaar/multisafepay-client

Usage

Client setup.

    $client = new Client();

    $client->setApiKey('API-KEY');

Get all gateways

    $response = $client->environment('test')->api('gateways')->all();
    
    var_dump($response);

Get issuers for an particular gateway.

    $response = $client->environment('test')->api('issuers')->all('IDEAL');
        
    var_dump($response);

Get details about an particular order.

    $response = $client->environment('test')->api('orders')->show('ORDER-ID');
        
    var_dump($response);

Credits

License

The MIT License (MIT). Please see License File for more information.