A SDK (software development kit) for interacting with the [Edge Payment Technologies, Inc]( HTTP API.

## Using

In order to use the SDK you need two things:

1. A merchant account with Edge Payment Technologies with a minimum amount of business information.
2. A sandbox or production private key from the dashboard.

Once you have those two things you need to instantiate a client. This client can be used for multiple requests. The only two required parameters for a client are the `token` and `user_agent`. The former is used for authenticating your requests and the latter is used for identifying your usage. User Agent identity helps us find clients that aren't behaving correctly and communicate with their owner. You can read more here and

``` elixir
client = EPTSDK.client(%{
  token: "sk_sandbox_VUNVkopDczZcr1oJPLPAGfrN",
  user_agent: "BigShoeApp/1.0"

We can now use that client to make requests:

``` elixir
{:ok, customerA, client} = client
|> EPTSDK.Customer.create(%{
  name: "Johnson Parker",
  email: ""

``` elixir
{:ok, customerB, client} = client
|> EPTSDK.Customer.list(
  filter: %{name: "Johnson Parker"},
  include: ["address"],
  sort: ["name"],
  fields: %{customers: ["name"]}
|> List.first()

``` elixir
customerA == customerB


``` elixir
{:ok, customerA, client}
|> EPTSDK.Customer.update(customerA, %{
  name: "Sally"

## Installation

If [available in Hex](, the package can be installed
by adding `ept_sdk` to your list of dependencies in `mix.exs`:

def deps do
    {:ept_sdk, "~> 2.0.0"}

Documentation can be generated with [ExDoc](
and published on [HexDocs]( Once published, the docs can
be found at <>.