Skip to content

Other API calls using wepay rails

adamthedeveloper edited this page Nov 28, 2011 · 1 revision

You can make other calls to take advantage of wepay's api within your rails app. Here are some examples of things you can do:

gateway = WepayRails::Payments::Gateway.new

checkout = gateway.call_api('/checkout',{:checkout_id => 12345})

balance = gateway.call_api('/account/balance',{:account_id => 12345})

There are many calls you can make. See https://www.wepay.com/developer/reference for more details.

Clone this wiki locally