require_once 'Qiwi.php';
$qiwi = new Qiwi('79996661212', 'a9760264ca3e817264ee2340aa877');
$sendMoney = $qiwi->sendMoneyToQiwi([
'id' => 'time() + 10 * 5',
'sum' => [
'amount' => 1000,
'currency' => '643'
],
'paymentMethod' => [
'type' => 'Account',
'accountId' => '643'
],
'comment' => 'Тестовый платеж',
'fields' => [
'account' => '+79996661212'
]
]);