Skip to content

yoavlt/webpay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpay

Elixir wrapper of Webpay

Installation

If available in Hex, the package can be installed as:

  1. Add webpay to your list of dependencies in mix.exs:
  def deps do
  [{:webpay, "~> 0.0.4"}]
  end
  1. Ensure webpay is started before your application:
  def application do
  [applications: [:webpay]]
  end
  1. Puts config your config.exs
  config :webpay, Webpay,
  api_key: "your api key"

Usage

Webpay.Charges.create [
  amount: 400,
  currency: :jpy,
  card: "card token",
  description: ""
]

About

Elixir webpay wrapper

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages