https://github.com/yuki-toida/ex_payjp
https://github.com/yuki-toida/ex_payjp
elixir
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuki-toida/ex_payjp
- Owner: yuki-toida
- License: mit
- Created: 2018-04-18T08:14:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-02T02:35:29.000Z (almost 8 years ago)
- Last Synced: 2025-02-11T11:53:48.426Z (over 1 year ago)
- Topics: elixir
- Language: Elixir
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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