A
A
Amin Aliyev2019-04-18 15:50:42
PHP
Amin Aliyev, 2019-04-18 15:50:42

UnitPay api how to get balance correctly?

$unitpay = new UnitPay($secret_key);
$balance = $unitpay->api('getPartner', [
'login' => $login,
'secretKey' => $secret_key
]);
$vk->sendButton($peer_id, print_r($balance, 1), $btns);
Answer:
stdClass Object
(
[error] => stdClass Object
(
[message] => Invalid authorization parameters
[code] => -32000
)
)
The data is entered correctly, but such an error appears, I use unitpay sdk

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Amin Aliyev, 2019-04-21
@amin4ik_03

Data entered incorrectly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question