User Tools

Site Tools


aml

This is an old revision of the document!


AML

API for AML usage

Web service address

Test web service address (for testing purposes)
https://testapi.moneypolo.com:26443/AML.asmx

Real web service address
https://api.moneypolo.com:26442/AML.asmx

Security

Access to web service can be restricted by IP (upon client’s demand). Each transmitted request must be signed with a key. MoneyPolo issues a key for the merchant at the beginning of the testing period. The key should be changed when switching to the production environment.

MoneyPolo distributes keys among their clients, which has to be transmitted to web service in parametrical form. Each request method should have a Signature object:

Signature

Name Type Required Description
MerchantCode string * Merchant's code
Sign string * Signature


For the correct signature generation (Sign) the following is needed:

  1. produce a concatenation of data, transferred to the method of service in request object, and Key.
  2. apply to the result algorythm SHA512.
  3. transfer the result to the upper case.

Methods

BlackListFindName

This method allows to check if person or company is blacklisted.

Input parameters of the method are:

Name Type Required Example Description
Name string * Ben Laden Person or company name
ExcludePoliticallyExposedPersons int * 1 1 - show only blacklisted person, 0 - show all matches include politically exposed persons

Signature: Name + ExcludePoliticallyExposedPersons + key

Output parameters of the method are:

Name Type Description
BlackListCode string Short name of blacklist, for example RDC_ENTITY or RDC_ALIAS.
RecordID int ID of the record in blacklist
Blocked int 1 - this person should be blocked, 0 - person exists in blacklist but no need to block, just pay attention.
Name string Person's name from the RecordID
EntityID int ID of the entity in RDC DB

PHP Example

//BlackListFindName
$request['Name'] = Ben Laden;
$request['ExcludePoliticallyExposedPersons'] = '1';
if($accRequest->Prepare_Data($request))
{
    $result = $accRequest->Send('BlackListFindName'); 
}



BlackListEntity

This method allows to retrieve the additional information about the person by the EntityID from the RDC DB.

Input parameters of the method are:

Name Type Required Example Description
EntityID int * 9999999 EntityID from the RDC DB

Signature: EntityID + key

PHP Example

//BlackListEntity
$request['EntityID'] = 9999999;
if($accRequest->Prepare_Data($request))
{
    $result = $accRequest->Send('BlackListEntity'); 
}



aml.1539080438.txt.gz · Last modified: 2018/10/09 11:20 by Alexandr Grishin