createPayment(
array(
'amount' => array(
'value' => 50,
'currency' => 'RUB',
),
'payment_method_data' => array(
'type' => 'b2b_sberbank',
'payment_purpose' => 'Оплата заказа №37',
'vat_data' => array(
'type' => 'calculated',
'rate' => 20,
'amount' => array(
'value' => 10,
'currency' => 'RUB',
),
),
),
'confirmation' => array(
'type' => 'redirect',
'return_url' => 'https://www.example.com/return_url',
),
'capture' => true,
'description' => 'Оплата заказа №37',
),
uniqid('', true)
);
?>