for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the PayBreak/paybreak-sdk-php package.
*
* (c) PayBreak <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PayBreak\Sdk\Gateways;
/**
* Credit Info Gateway
* @author WN
* @package PayBreak\Sdk\Gateways
class CreditInfoGateway extends AbstractGateway
{
* @param string $installation
* @param int $amount
* @param string $token
* @return array
* @throws \App\Exceptions\Exception
public function getCreditInfo($installation, $amount, $token)
return $this->fetchDocument(
'/v4/installations/' . $installation . '/credit-information',
$token,
'Application',
['order_amount' => $amount]
);
}