An open API service indexing awesome lists of open source software.

https://github.com/yuki-toida/ex_payjp


https://github.com/yuki-toida/ex_payjp

elixir

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# ExPayjp
simple HTTP client for [PAY.JP](https://pay.jp/).

## Installation
```elixir
def deps do
[
{:ex_payjp, "~> 0.3.0"}
]
end
```

## Configuration
```elixir
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.

```bash
export PAYJP_SECRET_KEY="YOUR SECRET KEY"
```

## License
MIT