An elixir library for Payeezy payment. Currently supports ValueLink gift card transactions only.
See API documentation here
If available in Hex, the package can be installed as:
-
Add payeezy to your list of dependencies in
mix.exs
:def deps do [{:payeezy, "~> 0.1.4"}] end
-
Ensure payeezy is started before your application:
def application do [applications: [:payeezy]] end
To setup, place credentials in your {env}.ex or {env}.secret.ex config files as shown below:
config :payeezy,
apikey: [ACCOUNT_API_KEY],
token: [MERCHANT_TOKEN],
apisecret: [ACCOUNT_API_SECRET],
endpoint: [PAYEEZY_API_URL]