class Bygpay::Withdraw::Mobile

Public Instance Methods

sendmoney(amount, payload = {}) click to toggle source

{

"walletno" : "0276967627",
"provider": "TIGO",
"extrnx_code": null

} Perform a mobile deposit request

# File lib/bygpay/withdraw/mobile.rb, line 10
def sendmoney(amount, payload = {})
  post(mobile_withdraw_endpoint, payload.merge(amount: amount))
end