package
0.6.0-dev6
Repository: https://github.com/moov-io/customers.git
Documentation: pkg.go.dev

# README

Go API client for client

Customers focuses on solving authentic identification of humans who are legally able to hold and transfer currency within the US. Primarily this project solves Know Your Customer (KYC), Customer Identification Program (CIP), Office of Foreign Asset Control (OFAC) checks and verification workflows to comply with United States federal law and ensure authentic transfers. Customers has an objective to be a service for detailed due diligence on individuals and companies for Financial Institutions and services in a modernized and extensible way.

Customer phone numbers and addresses are stored and partially used in KYC/OFAC validation. Arbitrary key/value pairs can be stored for a Customer. Documents and Disclaimers, and their acknowledgment are also stored under a Customer as they're accepted. Bank Accounts, which can be validated with micro-deposits currently, are stored under each Customer.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional

Put the package under your project folder and add the following in import:

import "./client"

Documentation for API Endpoints

All URIs are relative to http://localhost:8087

ClassMethodHTTP requestDescription
AccountValidationApiCompleteAccountValidationPut /customers/{customerID}/accounts/{accountID}/validationsComplete Account Validation
AccountValidationApiGetAccountValidationGet /customers/{customerID}/accounts/{accountID}/validations/{validationID}Get Account Validation
AccountValidationApiInitAccountValidationPost /customers/{customerID}/accounts/{accountID}/validationsInitiate Account Validation
AccountsApiCreateCustomerAccountPost /customers/{customerID}/accountsCreate Customer Account
AccountsApiDecryptAccountNumberPost /customers/{customerID}/accounts/{accountID}/decryptDecrypt Account Number
AccountsApiDeleteCustomerAccountDelete /customers/{customerID}/accounts/{accountID}Delete Customer Account
AccountsApiGetCustomerAccountByIDGet /customers/{customerID}/accounts/{accountID}Get Customer Account
AccountsApiGetCustomerAccountsGet /customers/{customerID}/accountsGet Customer Accounts
AccountsApiGetLatestAccountOFACSearchGet /customers/{customerID}/accounts/{accountID}/ofacLatest Account OFAC Search
AccountsApiRefreshAccountOFACSearchPut /customers/{customerID}/accounts/{accountID}/refresh/ofacRefresh Account OFAC Search
AccountsApiUpdateAccountStatusPut /customers/{customerID}/accounts/{accountID}/statusUpdate Account Status
ConfigurationApiGetOrganizationConfigurationGet /configuration/customersGet Organization Configuration
ConfigurationApiGetOrganizationLogoGet /configuration/logoGet Organization Logo
ConfigurationApiUpdateOrganizationConfigurationPut /configuration/customersUpdate Organization Configuration
ConfigurationApiUploadOrganizationLogoPut /configuration/logoUpdate Organization Logo
CustomersApiAddAddressPost /customers/{customerID}/addressAdd Customer Address
CustomersApiCreateCustomerPost /customersCreate Customer
CustomersApiDeleteAddressDelete /customers/{customerID}/addresses/{addressID}Delete Customer Address
CustomersApiDeleteCustomerDelete /customers/{customerID}Delete Customer
CustomersApiGetCustomerGet /customers/{customerID}Get Customer
CustomersApiGetLatestOFACSearchGet /customers/{customerID}/ofacLatest Customer OFAC search
CustomersApiPingGet /pingPing Customers Service
CustomersApiRefreshOFACSearchPut /customers/{customerID}/refresh/ofacRefresh Customer OFAC search
CustomersApiReplaceCustomerMetadataPut /customers/{customerID}/metadataUpdate Customer Metadata
CustomersApiSearchCustomersGet /customersSearch Customers
CustomersApiUpdateAddressPut /customers/{customerID}/addresses/{addressID}Update Customer Address
CustomersApiUpdateCustomerPut /customers/{customerID}Update Customer
CustomersApiUpdateCustomerStatusPut /customers/{customerID}/statusUpdate Customer Status
DisclaimersApiAcceptDisclaimerPost /customers/{customerID}/disclaimers/{disclaimerID}Accept Customer Disclaimer
DisclaimersApiGetCustomerDisclaimersGet /customers/{customerID}/disclaimersGet Customer Disclaimers
DocumentsApiDeleteCustomerDocumentDelete /customers/{customerID}/documents/{documentID}Delete Customer Document
DocumentsApiGetCustomerDocumentContentsGet /customers/{customerID}/documents/{documentID}Get Customer Document
DocumentsApiGetCustomerDocumentsGet /customers/{customerID}/documentsGet Customer Documents
DocumentsApiUploadCustomerDocumentPost /customers/{customerID}/documentsUpload Customer Document
ReportsApiGetReportOfCustomerAccountsGet /reports/accountsCreate Report of Accounts
RepresentativesApiAddRepresentativePost /customers/{customerID}/representativesAdd Customer Representative
RepresentativesApiAddRepresentativeAddressPost /customers/{customerID}/representatives/{representativeID}/addressesAdd Customer Representative Address
RepresentativesApiDeleteRepresentativeDelete /customers/{customerID}/representatives/{representativeID}Delete Customer Representative
RepresentativesApiDeleteRepresentativeAddressDelete /customers/{customerID}/representatives/{representativeID}/addresses/{addressID}Delete a Customer Representative Address
RepresentativesApiUpdateRepresentativePut /customers/{customerID}/representatives/{representativeID}Update Customer Representative
RepresentativesApiUpdateRepresentativeAddressPut /customers/{customerID}/representatives/{representativeID}/addresses/{addressID}Update Customer Representative Address

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author