PHP code example of opifer / imuis
1. Go to this page and download the library: Download opifer/imuis 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/ */
opifer / imuis example snippets
pifer\Imuis\Client;
use Opifer\Imuis\Model\Creditor;
$creditor = new Creditor();
$creditor->setName('Rick van Laarhoven');
// Set any other data on the creditor
$client = new Client('PARTNERKEY', 'ENVIRONMENT');
$response = $client->createCreditor($creditor);
if ($response->hasErrors()) {
$errors = $response->getErrors();
}