The Channel decisioning Procesor is a service that evaluates results from typologies.
This service consist on a simple post request to store and validate typologies requests.
The online get request will respond with a message stating that the service is running and online. As a note, any get requests will return the online message since this service only uses POST for execution.
Example:
Request:
http://{{host}}:{{port}}/
Response:
{"status":"UP"}
Stores the result from the typology and if all typologies have been stored, it scores the result of the channel.
Example:
Request:
http://{{host}}:{{port}}/monitor/transaction
Request Body:
{
"TransactionID": "123e4567-e89b-12d3-a456-426614174000",
"ILPSourceAccountAddress": "Bank1.MSISDN.2507122015",
"ILPDestinationAccountAddress": "Bank2.MSISDN.25094672092",
"PayerContactNo": "2507122015",
"PayeeContactNo": "25094672092",
"Amount": "250.40",
"Fee": "250.40",
"Payer": {
"PartyIDType": "string",
"PersonalIdentifierType": "string",
"PartyID": "string",
"PartyName": "string"
},
"Payee": {
"PartyName": "string"
},
"SourceAccountBalance": "5000.30",
"SourceAccountTransactionLimit": "500",
"SourceAccountDailyLimit": "1500",
"SourceAccountPINDate": "10/10/2010",
"PayerDeviceIMEI": "19283747590379",
"PayerICCID": "39iejdi3948",
"Location": "Ghana",
"Transaction": {
"AuthenticationType": "string"
},
"TransactionType": {
"TransactionScenario": "string",
"TransactionInitiator": "string",
"TransactionInitiatorType": "string"
}
}
Response:
{
"result": "Transaction is valid"
}