Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.68 KB

README.md

File metadata and controls

50 lines (36 loc) · 1.68 KB

iyzico Elixir Client

A minimal iyzico client.

Build Status Hex.pm Hexdocs.pm Downloads Inline docs Deps Status

Installation

Available in Hex, the package can be installed by adding iyzico to your list of dependencies in mix.exs:

def deps do
  [{:iyzico, "~> 1.0"}]
end

Documentation

Available in HexDocs. You can also download it to use it offline.

Configuration

You may get your own API key and API secret from (https://sandbox-merchant.iyzipay.com). Once you're ready to production, you will ultimately need to use production mode. This is achieved by providing :prod parameter to :world key.

config :iyzico, Iyzico,
  locale: "en",
  api_key: "sandbox-qO7nc7SfZobKsgQq81r518pEnfg6FJQE",
  api_secret: "sandbox-OFVrJ1h8QM8xq8BMTKBiZUa92JcD2B8g",
  world: :sandbox,
  base_url: "https://sandbox-api.iyzipay.com",
  server_ip: {67, 43, 43, 43}

Contribution

All contributions are welcomed as long as you follow the conventions of Elixir language.

License

MIT