lib/paykassa/pay.rb in paykassa-0.1.6 vs lib/paykassa/pay.rb in paykassa-0.1.7
- old
+ new
@@ -25,10 +25,10 @@
tron_trc20: 30,
binancesmartchain_bep20: 31, # available currencies USDT, BUSD, USDC, ADA, EOS, BTC, ETH, DOGE
ethereum_erc20: 32
}
def initialize(domain:, api_id:, api_key:, test: false)
- @token = api_password
+ @token = api_key
@_auth = {domain: domain, api_id: api_id, api_key: api_key, test: test}
end
def pay(amount: , shop: , currency: , system_name: , paid_commission: "shop", number:, tag:, priority:)
data = {
amount: amount,