lib/paykassa/pay.rb in paykassa-0.1.13 vs lib/paykassa/pay.rb in paykassa-0.1.14
- old
+ new
@@ -47,10 +47,10 @@
make_request("api_payment",data)
end
def balance(shop: )
data = {
shop: shop,
- pi_id: @_auth[:api_id],
+ api_id: @_auth[:api_id],
api_key: @_auth[:api_key]
}
@logger.info("Pay.balance with data: #{data.inspect}") if !@logger.nil?
make_request("api_get_shop_balance", data, false)
end