Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 899 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 899 Bytes

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
}