Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct { GivenNames string `json:"given_names"` FamilyName string `json:"family_name"` Address Address `json:"address"` SSN string `json:"ssn"` }
Profile User profile for Anti Money Laundering (AML) checks
type Result ¶
type Result struct { OnFraudList bool `json:"on_fraud_list"` OnPEPList bool `json:"on_pep_list"` OnWatchList bool `json:"on_watch_list"` }
Result Result of Anti Money Laundering (AML) check for a particular user
func PerformCheck ¶
func PerformCheck(httpClient requests.HttpClient, profile Profile, clientSdkId, apiUrl string, key *rsa.PrivateKey) (result Result, err error)
PerformCheck performs an Anti Money Laundering Check (AML) for a particular user. Returns three boolean values: 'OnPEPList', 'OnWatchList' and 'OnFraudList'.
Click to show internal directories.
Click to hide internal directories.