ExPayjp

simple HTTP client for PAY.JP.

Installation

def deps do
  [
    {:ex_payjp, "~> 0.1.0"}
  ]
end

Configuration

use Mix.Config

config :payjp,
  secret_key: "YOUR SECRET KEY",
  expiry_days: 1

expiry_days: default value is 1.
secret_key: you can use environment variables.

export PAYJP_SECRET_KEY="YOUR SECRET KEY"

License

MIT