full response body that I get as a byte from .
Inboundbody, err = io.ReadAll(InboundResponse.Body)
{
"eventId": "651a10a9-71e0-4669-bc77-d1b79cb21a61",
"eventType": "paymentRT",
"processTime": "2023-10-05T16:25:21.861448Z",
"responseBody": {
"entities": [
{
"configGroups": [
{
"aggregators": [
{
"aggregateScore": 1,
"aggregatorId": "Rule: BRPP08_Unusual_Behaviour_During_Probation_Period",
"alert": true,
"matchedBound": 1,
"outputTags": [],
"scores": {
"rules": [
{
"ruleId": "BRPP08_Unusual_Behaviour_During_Probation_Period",
"score": 1
}
]
},
"suppressAlert": false,
"suppressedTags": []
},
{
"aggregateScore": 1,
"aggregatorId": "Rule: PRPP01_Multiple_RPP_CRTRF",
"alert": true,
"matchedBound": 1,
"outputTags": [],
"scores": {
"rules": [
{
"ruleId": "PRPP01_Multiple_RPP_CRTRF",
"score": 1
}
]
},
"suppressAlert": false,
"suppressedTags": []
}
],
"rulesContributingEvents": {},
"triggeredRules": [
"BRPP08_Unusual_Behaviour_During_Probation_Period",
"PRPP01_Multiple_RPP_CRTRF"
],
"type": "global"
}
],
"entityId": "NEDSZAJ0-33345210002",
"entityType": "ACCOUNT",
"models": [
{
"confidence": null,
"modelId": "businessrules",
"score": 60,
"tags": []
}
],
"outputTags": [],
"overallScore": {
"overallScore": 60
},
"riskStatus": "review",
"tenantId": "NEDSZAJ0"
},
{
"configGroups": [],
"entityId": "CTT.creditor.identification.organisationIdentification or privateIdentification",
"entityType": "ACCOUNTCUSTOMER",
"models": [],
"outputTags": [],
"overallScore": {
"overallScore": null
},
"riskStatus": "no-risk",
"tenantId": "NEDSZAJ0"
},
{
"configGroups": [],
"entityId": "ABSAZAJ0-999777210016",
"entityType": "COUNTERPARTY",
"models": [],
"outputTags": [],
"overallScore": {
"overallScore": null
},
"riskStatus": "no-risk",
"tenantId": "NEDSZAJ0"
},
{
"configGroups": [
{
"aggregators": [
{
"aggregateScore": 1,
"aggregatorId": "Rule: PRPP03_Unusual_Activity_Spikes",
"alert": true,
"matchedBound": 1,
"outputTags": [],
"scores": {
"rules": [
{
"ruleId": "PRPP03_Unusual_Activity_Spikes",
"score": 1
}
]
},
"suppressAlert": false,
"suppressedTags": []
}
],
"rulesContributingEvents": {},
"triggeredRules": [
"PRPP03_Unusual_Activity_Spikes"
],
"type": "global"
}
],
"entityId": "CTT.creditorAccount.proxy",
"entityType": "ACCOUNTPROXY",
"models": [
{
"confidence": null,
"modelId": "businessrules",
"score": 30,
"tags": []
}
],
"outputTags": [],
"overallScore": {
"overallScore": 30
},
"riskStatus": "review",
"tenantId": "NEDSZAJ0"
},
{
"configGroups": [],
"entityId": "CTT.debtorAccount.proxy",
"entityType": "COUNTERPARTYPROXY",
"models": [],
"outputTags": [],
"overallScore": {
"overallScore": null
},
"riskStatus": "no-risk",
"tenantId": "NEDSZAJ0"
},
{
"configGroups": [],
"entityId": "CTT.debtor.identification.organisationIdentification or privateIdentification",
"entityType": "COUNTERPARTYCUSTOMER",
"models": [],
"outputTags": [],
"overallScore": {
"overallScore": null
},
"riskStatus": "no-risk",
"tenantId": "NEDSZAJ0"
}
],
"jsonVersion": 4,
"originatingEvent": {
"_metadata": {
"entities": {
"ACCOUNT": [
"NEDSZAJ0-33345210002"
],
"ACCOUNTCUSTOMER": [
"CTT.creditor.identification.organisationIdentification or privateIdentification"
],
"ACCOUNTPROXY": [
"CTT.creditorAccount.proxy"
],
"COUNTERPARTY": [
"ABSAZAJ0-999777210016"
],
"COUNTERPARTYCUSTOMER": [
"CTT.debtor.identification.organisationIdentification or privateIdentification"
],
"COUNTERPARTYPROXY": [
"CTT.debtorAccount.proxy"
]
},
"eventId": "651a10a9-71e0-4669-bc77-d1b79cb21a61",
"eventTime": "2023-10-05T18:25:21Z",
"eventType": "paymentRT",
"execution": {
"expectResponse": true
},
"financialValue": 1700,
"receivedTime": "2023-10-05T16:25:21Z",
"searchable": {
"accountAddress": {
"addressLine1": "CTT.creditor.streetName",
"postalCode": "1234"
},
"accountAgentId": "NEDSZAJ0",
"accountCustomerEntityId": "CTT.creditor.identification.organisationIdentification or privateIdentification",
"accountCustomerId": "CTT.creditor.identification.organisationIdentification or privateIdentification",
"accountEntityId": "NEDSZAJ0-33345210002",
"accountId": "33345210002",
"accountNumber": "33345210002",
"accountProxyEntityId": "CTT.creditorAccount.proxy",
"accountProxyId": "CTT.creditorAccount.proxy",
"counterpartyAddress": {
"addressLine1": "CTT.debtor.streetName",
"postalCode": "5678"
},
"counterpartyAgentId": "ABSAZAJ0",
"counterpartyCustomerEntityId": "CTT.debtor.identification.organisationIdentification or privateIdentification",
"counterpartyCustomerId": "CTT.debtor.identification.organisationIdentification or privateIdentification",
"counterpartyEntityId": "ABSAZAJ0-999777210016",
"counterpartyId": "999777210016",
"counterpartyName": {
"fullName": "debtorAccount"
},
"counterpartyNumber": "999777210016",
"counterpartyProxyEntityId": "CTT.debtorAccount.proxy",
"counterpartyProxyId": "CTT.debtorAccount.proxy",
"eventId": "651a10a9-71e0-4669-bc77-d1b79cb21a61",
"eventTime": "2023-10-05T18:25:21",
"eventType": "paymentRT",
"paymentClearingSystemReference": "90dd9238-zzzz-5g5g-8356-0fcc8055k55k55",
"requestExecutionDate": "2023-10-05",
"settlementDate": "2023-10-05",
"transactionId": "fe0fa93e-9272-4045-a73a-08d5a2101973"
},
"systemEventId": "20755-oq2nVdCv",
"tenantId": [
"NEDSZAJ0"
]
},
"accountAddress": {
"addressLine1": "CTT.creditor.streetName",
"addressLine2": "CTT.creditor.buildingNumber and buildingName",
"country": "ZAF",
"countrySubDivision": "CTT.creditor.countrySubDivision",
"fullAddress": "CTT.creditor.addressLine",
"postalCode": "1234",
"townName": "CTT.creditor.townName"
},
"accountAgentId": "NEDSZAJ0",
"accountBICFI": "NEDSZAJ0",
"accountCustomerEntityId": "CTT.creditor.identification.organisationIdentification or privateIdentification",
"accountCustomerId": "CTT.creditor.identification.organisationIdentification or privateIdentification",
"accountDomain": "CTT.creditorAgent.domain",
"accountEntityId": "NEDSZAJ0-33345210002",
"accountId": "33345210002",
"accountIdCode": "CTT.creditorAccount.type",
"accountName": {
"fullName": "creditorAccount",
"namePrefix": "CTT",
"surname": "Name"
},
"accountNumber": "33345210002",
"accountProxyEntityId": "CTT.creditorAccount.proxy",
"accountProxyId": "CTT.creditorAccount.proxy",
"accountProxyType": "CTT.creditorAccount.proxyType",
"amount": {
"baseCurrency": "zar",
"baseValue": 1700,
"currency": "zar",
"value": 1700
},
"chargeBearer": "SLEV",
"counterpartyAddress": {
"addressLine1": "CTT.debtor.streetName",
"addressLine2": "CTT.debtor.buildingNumber and buildingName",
"country": "ZAF",
"countrySubDivision": "CTT.debtor.countrySubDivision",
"fullAddress": "CTT.debtor.addressLine",
"postalCode": "5678",
"townName": "CTT.debtor.townName"
},
"counterpartyAgentId": "ABSAZAJ0",
"counterpartyBICFI": "ABSAZAJ0",
"counterpartyCustomerEntityId": "CTT.debtor.identification.organisationIdentification or privateIdentification",
"counterpartyCustomerId": "CTT.debtor.identification.organisationIdentification or privateIdentification",
"counterpartyDomain": "CTT.debtorAgent.domain",
"counterpartyEntityId": "ABSAZAJ0-999777210016",
"counterpartyId": "999777210016",
"counterpartyIdCode": "CTT.debtorAccount.type",
"counterpartyName": {
"fullName": "debtorAccount",
"namePrefix": "CTT",
"surname": "Name"
},
"counterpartyNumber": "999777210016",
"counterpartyProxyEntityId": "CTT.debtorAccount.proxy",
"counterpartyProxyId": "CTT.debtorAccount.proxy",
"counterpartyProxyType": "CTT.debtorAccount.proxyType",
"creationDate": "2023-10-05T18:25:21",
"direction": "inbound",
"eventId": "651a10a9-71e0-4669-bc77-d1b79cb21a61",
"eventTime": "2023-10-05T18:25:21",
"eventType": "paymentRT",
"fromId": "ABSAZAJ0",
"instructedAgentId": "CTT.instructedAgent.BICFI",
"instructingAgentId": "CTT.instructingAgent.BICFI",
"intermediaryAgent1Id": "CTT.intermediaryAgent1.BICFI",
"intermediaryAgent2Id": "CTT.intermediaryAgent2.BICFI",
"localInstrument": "PBAC",
"msgStatus": "New",
"msgType": "CRTRF",
"numberOfTransactions": 1,
"paymentClearingSystemReference": "90dd9238-zzzz-5g5g-8356-0fcc8055k55k55",
"paymentMethod": "TRF",
"paymentReference": "CTT.remittanceinformation.structured.creditorReference",
"remittanceId": "CTT.paymentidentification.endToEndIdentification",
"requestExecutionDate": "2023-10-05",
"schemaVersion": 1,
"settlementClearingSystemCode": "RPP",
"settlementDate": "2023-10-05",
"settlementMethod": "CLRG",
"tenantId": "NEDSZAJ0",
"toId": "NEDSZAJ0",
"transactionId": "fe0fa93e-9272-4045-a73a-08d5a2101973",
"transactionType": "CTT.purposeCode",
"ultimateAccountName": {
"fullName": "ultimateCreditor",
"namePrefix": "CTT",
"surname": "Name"
},
"ultimateCounterpartyName": {
"fullName": "ultimateDebtor",
"namePrefix": "CTT",
"surname": "Name"
},
"unstructuredRemittanceInformation": "CTT.remittanceinformation.unstructured",
"verificationResult": "SUCC"
},
"outputTime": "2023-10-05T16:25:21.830Z",
"processorId": "proc",
"statusCode": "success",
"versions": {
"configGroups": [
{
"id": "210002",
"type": "analytical",
"version": "0"
},
{
"type": "global",
"version": "1"
}
],
"modelGraph": 1
}
},
"responseHeaders": {
"Access-Control-Allow-Headers": [
"Origin, X-Requested-With, Content-Type, Content-Length, Accept"
],
"Access-Control-Allow-Origin": [
"*"
],
"Cache-Control": [
"no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0"
],
"Connection": [
"keep-alive"
],
"Content-Length": [
"8155"
],
"Content-Type": [
"application/json"
],
"Date": [
"Thu, 05 Oct 2023 16:25:21 GMT"
],
"Server": [
"webserver"
],
"X-Content-Type-Options": [
"nosniff"
],
"X-Xss-Protection": [
"1; mode=block"
]
},
"responseStatus": "200 OK",
"transactionId": "fe0fa93e-9272-4045-a73a-08d5a2101973"
}