# PayPal
### Elixir library for working with the PayPal REST API.
[](https://travis-ci.org/Zensavona/PayPal) [](http://inch-ci.org/github/zensavona/PayPal) [](https://hexdocs.pm/pay_pal) [](https://coveralls.io/github/Zensavona/PayPal?branch=master) [](https://beta.hexfaktor.org/github/Zensavona/PayPal) [](https://hex.pm/packages/pay_pal) [](https://hex.pm/packages/pay_pal) [](http://opensource.org/licenses/MIT)
This is in development, currently the following parts of the API are working:
- access token rotation on expiry
- Billing Plans
- Billing Agreements
- Payments
- Payouts
These work fine and I am using them in production, they have test coverage. Check out the docs :)
# Installation
Add `:pay_pal` as a dependency to your project's `mix.exs`:
```elixir
defp deps do
[
{:pay_pal, "~> 0.0.7"}
]
end
```
Configure your settings in your configuration files:
```elixir
config :pay_pal,
client_id: "your_paypal_client_id",
client_secret: "your_paypal_secret",
environment: :sandbox
```