как через ебаный php создать заявку на создание счета? я второй день сижу, и не могу понять + как в body вывести ссылку на счет
<?php $billId = ''; $fields = [ 'amount' => 1.00, 'currency' => 'RUB', 'comment' => 'test', 'expirationDateTime' => '2021-03-20T00:00:00+03:00', 'email' => 'mail@mail.ru', 'account' => '', ]; /** @var \****\Api\BillPayments $billPayments */ $response = $billPayments->createBill($billId, $fields); print_r($response); ?> PHP <?php $billId = ''; $fields = [ 'amount' => 1.00, 'currency' => 'RUB', 'comment' => 'test', 'expirationDateTime' => '2021-03-20T00:00:00+03:00', 'email' => 'mail@mail.ru', 'account' => '', ]; /** @var \****\Api\BillPayments $billPayments */ $response = $billPayments->createBill($billId, $fields); print_r($response); ?>