Skip to content

fairbank-io/conekta

Repository files navigation

Conekta API Client

Build Status GoDoc Version Software License

Pure Go Conekta client implementation.

Example

// Start a new client instance with default options
client, err := conekta.NewClient("API_KEY", nil)

// Create new customer
testCustomer := &Customer{
    Name:      "jose",
    Phone:     "+5215542537676",
    Corporate: false,
    Email:     "[email protected]",
}
err := client.Customers.Create(testCustomer)
if err != nil {
	// Handle error
}

About

Conekta API client

Resources

License

Stars

Watchers

Forks

Languages