Elixir implementation of Chargebee API.
This is a work in progress: right now, we only implement those methods:
- list
- retrieve
- create
on those resources:
- addon
- customer
- hosted_page
- also checkout_new
- also checkout_existing
- subscription
- also create_for_customer
- plan
- portal_session
- subscription
- invoice
- also close
- also import_invoice
The package can be installed by adding chargebee_elixir
to your list of dependencies in mix.exs
:
def deps do
[
{:chargebee_elixir, "~> 0.1.5"}
]
end
# config/dev.ex
config :chargebee_elixir,
namespace: "$your_namespace",
api_key: "$your_api_key"
# e.g.
ChargebeeElixir.Plan.list()
mix test
mix hex.publish