top
(README.md)
# paysimple-go [![GoDoc](http://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/Galvanize-IT/paysimple-go)
PaySimple Go Library

### Quickstart

Set the environmental variables `PAYSIMPLE_USER` and `PAYSIMPLE_SECRET`

Create either a live or sandboxed API:

```go
api := API()
// Or
api := Sandbox()
```

Create customers, accounts, and payments as needed:

```go
customer := Customer{
    FirstName:             "Test",
    LastName:              "Customer",
    ShippingSameAsBilling: true,
}
created, err := api.Customers.Create(customer)
if err != nil {
    log.Panic(err)
}
```

For more information, see the PaySimple API documentation: http://developer.paysimple.com/documentation/

- aodin, 2015

Test imports 3 package(s) ΒΆ

  1. github.com/stretchr/testify/require
  2. github.com/codegangsta/envy/lib
  3. github.com/stretchr/testify/assert