cliffom / tokenex-go

A Go client for the TokenEx API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tokenex-go CircleCI

A Go client for the TokenEx API.

TokenEx API Documentation

Token Services

Installation

$ go get github.com/cliffom/tokenex-go

Usage

config := tokenex.NewConfig(
  "https://test-api.tokenex.com/TokenServices.svc/REST/",
  "YOUR_TOKENEX_ID",
  "YOUR_TOKENEX_API_KEY")
token, tokenErr := tokenex.Tokenize("4242424242424242", tokenex.SIXTOKENFOUR, config)
data, dataErr := tokenex.Detokenize(token.Token, config)
validate, validateErr  := tokenex.Validate(token.Token, config)
delete, deleteErr := tokenex.Delete(token.Token, config)

License

tokenex-go is available as open source under the terms of the MIT License.

About

A Go client for the TokenEx API.

License:MIT License


Languages

Language:Go 100.0%