modulepackage
0.0.0-20200602073610-8e99be22d5c4
Repository: https://github.com/kthomas/vouched-golang.git
Documentation: pkg.go.dev
# README
Vouched Golang SDK
This repository contains a Golang implementation of the Vouched API (see https://docs.vouched.id).
The package is not yet feature complete. A list of supported APIs will be documented here.
Installation
go get github.com/kthomas/vouched-golang
Ideally, you should use a package manager such as glide, in which case you can run glide get github.com/kthomas/vouched-golang
.
Documentation forthcoming.
# Functions
NewVouchedAPIClient initializes an VouchedAPIClient using the environment-configured API user and token to construct an HTTP basic authorization header for access to the Vouched API.
# Structs
Error represents an error for a vouched KYC API call or id verification response The following are valid error types: - InvalidRequestError - FaceMatchError - NameMatchError - BirthDateMatchError - InvalidIdPhotoError - InvalidUserPhotoError - UNAUTHENTICATED/AuthenticationError - ConnectionError - InvalidRequestError - InvalidIdBackPhotoError - UnknownSystemError - InvalidIdError.
KYCApplication represents a vouched KYC application.
KYCApplicationIDVerificationResult represents a vouched KYC application id verification response.
KYCApplicationIDVerificationResultConfidences represents confidence scores for a vouched KYC application id verification response.
KYCApplicationQuery represents a graphql request for a previously-submitted KYC application.
KYCApplicationQueryResponse represents a vouched KYC application query response.
KYCApplicationQueryResponseData represents a vouched KYC application query response "data" object.
KYCApplicationRequest represents a vouched KYC application request.
KYCApplicationRequestParameters represents a vouched KYC job request.
KYCApplicationResponse represents a vouched KYC application submission response.
KYCApplicationResponseData represents a vouched KYC application response "data" object.
KYCApplicationResponseJobs represents a vouched KYC application response data "jobs" object.
VouchedAPIClient is a generic base class for calling the vouched API.