$simpay = $payment->online(
new SimPayDirectBillingPayment(
'apiKey',
'apiPassword',
'serviceId as int',
'serviceHash'
)
);
$simpay->setAmount(15.00); //required
//optional
$simpay->setDescription('description');
$simpay->setControl('control');
$simpay->setReturnFail('https://return.url/fail');
$simpay->setReturnSuccess('https://return.url/success');
$simpay->setPhoneNumber('phoneNumber');
$simpayPayment = $simpay->generatePayment();
$simpayPayment->getTransactionUrl();
$simpayPayment->getTransactionId();