Risk Engine Repo: https://github.com/SafiBank/DataTest/tree/main/services/cloud_functions_slacker

Slacker Endpoint: https://slacker-manager.apps.brave.safibank.online/swagger/views/swagger-ui/#/

Risk Service Contact Point: User bfd0e User 87682

Slacker Service Contact Point: User 2f2b4 User e8658

Guide Line:

  1. if you need add new endpoints to get risk score, please add your request body and contact both risk and slacker team do the changes

2: if there are any changes on the request parameters please contact risk and slacker team make the changes.

Slacker Endpoint

Request Body

Response Body

Risk Endpoint

Env

/slacker/transaction/validate

{
  "transactionId":"3dfc85c2-ba74-4345-a024-88c81f78f645",
  "accountId":"3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "customerId":"a68e6cbd-0282-4ba5-ad57-5b56bf282ddf",
  "transactionType":"AIRTIME_LOAD",
  "transactionDirection":"OUTGOING",
  "amount":999,
  "otherPartyAccountId":"fde25ac1-f6d8-4d7c-8511-888deb5abe88",
  "otherPartyObject":{},
  "currency":"PHP",
  "authenticationLevel":"LEVEL0",
  "beneficiaryName":"Alex",
  "datetimeReceived":"2022-09-29T09:34:59.132Z",
  "datetimePosted":"2022-09-29T09:34:59.132Z"
}
{
  "transactionId": "3dfc85c2-ba74-4345-a024-88c81f78f645",
  "status": "APPROVED",
  "timestamp": "2022-12-14T07:44:22.554Z"
}

https://slacker-transaction-check-sync-uiidkzmqsa-as.a.run.app

Brave

{
  "transactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "customerId": "a68e6cbd-0282-4ba5-ad57-5b56bf282ddf",
  "transactionType": "AIRTIME_LOAD",
  "transactionDirection": "OUTGOING",
  "amount": 999999,
  "otherPartyAccountId": "fde25ac1-f6d8-4d7c-8511-888deb5abe88",
  "otherPartyObject": {},
  "currency": "PHP",
  "authenticationLevel": "LEVEL0",
  "beneficiaryName": "Alex",
  "datetimeReceived": "2022-09-29T09:34:59.132Z",
  "datetimePosted": "2022-09-29T09:34:59.132Z"
}
{
  "transactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "status": "REJECTED",
  "timestamp": "2022-12-14T07:43:39.095Z"
}

/slacker/card-transaction/validate

{
    "mti": "mti",
    "processingCode": "3",
    "amount": 10,
    "cardHolderBillingAmount": 10,
    "timestamp": "2022-12-01",
    "systemTraceAuditNumber": "5",
    "localTransactionDateTime": "2022-12-01",
    "merchantCode": "0000",
    "acquirerCountryCode": "SGT",
    "panEntryMode": "PAN",
    "networkID": "NET",
    "PosDataSF4": "4",
    "PosDataSF5": "5",
    "PosDataSF7": "7",
    "PosDataSF10": "0",
    "acquirerID": "acquirerID",
    "retrievalReferenceNumber": "16",
    "authorizationID": "666666",
    "cardAcceptorTerminalID": "18",
    "cardAcceptorMerchantID": "18",
    "merchantName": "MasterCard",
    "currency": "PHP",
    "cardHolderCurrencyCode": "PHP",
    "transactionId": "327994d9-ccf6-4cc5-9127-232bde6425a4",
    "OrgtransactionID": "23",
    "threeDsAuthTID": "24",
    "DCCIndicator": "25",
    "ecomIndicator": "26",
    "UCAFIndicator": "27",
    "threeDsValidation": "28",
    "PANValidation": "34",
    "expiryDateValidation": "33",
    "pinValidation": "32",
    "CVVValidation": "31",
    "CVV2Validation": "30",
    "EMVValidation": "29",
    "MSTransactionTypeId": "28",
    "MSTransactionRefData": "27",
    "accountId": "327994d9-ccf6-4cc5-9127-232bde6425a4",
    "counterPartAccountId": "MASTERCARD",
    "fee": 0,
    "feeCurrency": "PHP",
    "transactionCode": "DOMESTIC_PAYMENT",
    "settlementState": "CARD_PAYMENT",
    "customerId": "24521ff5-d43f-41fe-a325-efe839f37625",
    "status": "PENDING",
    "categoryCode": "ATM",
    "originalDataElement": "14",
    "originalTransactionID": "24521ff5-d43f-41fe-a325-efe839f37625",
    "RRN": "test RRN",
    "cardDetails": {
        "proxyNumber": "99999999",
        "cardVendor": "card number",
        "cardId": "66666666",
        "lastFourDigitCardNumber": "1234",
        "cardType": "Debit"
    }
}

{
  "transactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "status": "REJECTED",
  "timestamp": "2022-12-14T07:43:39.095Z"
}

In developing

https://slacker-cards-transaction-sync-uiidkzmqsa-as.a.run.app

/slacker/transaction/schedule/validate

{
  "transactionId": "3dfc85c2-ba74-4345-a024-88c81f78f645",
  "accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "customerId": "797e9d26-1dba-4ca6-82d0-a0916bc54afd",
  "transactionType": "INTERNAL_TRANSACTION",
  "transactionDirection": "INCOMING",
  "amount": 999,
  "otherPartyAccountId": "",
  "otherPartyObject": {},
  "currency": "PHP",
  "authenticationLevel": "LEVEL0",
  "beneficiaryName": "Alex",
  "datetimeReceived": "2022-09-29T09:34:59.132Z",
  "datetimePosted": "2022-09-29T09:34:59.132Z",
  “schedule” : {
		“id”: “3fa85f64-5717-4562-b3fc-2c963f66afa6”,
		“startDate”: “2022-11-18”,
		“endDate”: “2022-11-18”,
		“frequency”: “ONE_TIME”,
	}
}
{
  "transactionId": "3dfc85c2-ba74-4345-a024-88c81f78f645",
  "status": "APPROVED",
  "timestamp": "2022-12-14T07:44:22.554Z"
}

{
  "transactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "accountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "customerId": "797e9d26-1dba-4ca6-82d0-a0916bc54afd",
  "transactionType": "INTERNAL_TRANSACTION",
  "transactionDirection": "INCOMING",
  "amount": 999999,
  "otherPartyAccountId": "",
  "otherPartyObject": {},
  "currency": "PHP",
  "authenticationLevel": "LEVEL0",
  "beneficiaryName": "Alex",
  "datetimeReceived": "2022-09-29T09:34:59.132Z",
  "datetimePosted": "2022-09-29T09:34:59.132Z",
  “schedule” : {
		“id”: “3fa85f64-5717-4562-b3fc-2c963f66afa6”,
		“startDate”: “2022-11-18”,
		“endDate”: “2022-11-18”,
		“frequency”: “ONE_TIME”,
	}
}
{
  "transactionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "status": "REJECTED",
  "timestamp": "2022-12-14T07:43:39.095Z"
}