Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question