Skip to content

Latest commit

 

History

History
60 lines (50 loc) · 900 Bytes

README.md

File metadata and controls

60 lines (50 loc) · 900 Bytes

ChargebeeElixir

Elixir implementation of Chargebee API.

v0.1.5

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

Installation

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

Configuration

# config/dev.ex
config :chargebee_elixir,
  namespace: "$your_namespace",
  api_key: "$your_api_key"

Usage

# e.g.
ChargebeeElixir.Plan.list()

Run tests

mix test

Publish

mix hex.publish