PHP code example of sppay / sp-pay-php
1. Go to this page and download the library: Download sppay/sp-pay-php 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/ */
sppay / sp-pay-php example snippets
$validatedAccount = (new Sppay\SpPayPhp())->validateAccount(
bearerToken: 'bearer_token_from_authentication'
institutionCode: 'SPP',
accountNumber: '1000'
);
bash
composer