PHP code example of propaysystems / payment-platform-api-interface
1. Go to this page and download the library: Download propaysystems/payment-platform-api-interface library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
propaysystems / payment-platform-api-interface example snippets
$client = PaymentPlatformAPI::getInstance() //Singleton
->sandbox() //Use sandbox environment
->setVersion('v1')
->setCredentials('username', 'password');
or
->setToken('132465789132465789');
//Get all contacts
$response = $client->getContacts($filters = [], $