Answer Scoring

Answer Scoring is a service that allows you to obtain scoring results by submitting answers to questions through Sijitu.

Flow

Mitra -> Sijitu

You request by sending the required parameters, and SIJITU will respond in JSON.

API URL

Environment URL
Sandbox
Port of HTTPS (443)
https://sandbox-api.espay.id/cdd/sijitu/answerscoring
Production
Port of HTTPS (443)
https://api.espay.id/cdd/sijitu/answerscoring

Authorization

Every request sent must require authentication using Basic Authentication. Make sure to add the Authorization in the header. Learn more about Authorization.

Headers

Key Value
Method
POST
HTTP Version
HTTP/1.1
Accept
*/*
Content-Type
application/x-www-form-urlencoded
Content-Length
<dynamic>
Authorization
Basic base64(username:password)

Request Parameters​

Parameter Type Mandatory Description
rq_uuid
String (64)
Y
Request identifier. A unique ID used to identify messages.
rq_datetime
String (19)
Y
Date and time of the transaction request from the merchant's server.

Format:
yyyy-MM-dd hh:mi:ss

Example: :
2024-03-14 07:49:28
sender_id
String (32)
Y
Partner identity code is registered in the Sijitu application.
user_id
String (64)
Y
Email already registered in Sijitu.
organization_id
String (32)
Y
Company identification code is registered in Sijitu.
id_scoring
String (11)
Y
Scoring identity code was obtained from the List Scroing API. Visit List Scoring
name
String (255)
Y
Name to be checked for scoring.
country
String (6)
O
Country code based on ISO.

Example:
  • Indonesia: id
  • Brazil: br
status_pep
String (4)
O
Condition for searching data with PEP or Non-PEP status.

Format:
  • PEP search status: PEP
  • Non-PEP search status: NPEP
data
String (500)
Y
Scoring answers are based on questions sent to the Question Scoring API.
signature
String (64)
Y
Code used to validate transactions. LearnSignature
Y: Yes, O: Optional, C: Conditional

Response Parameters​

Parameter Type Mandatory Description
rq_uuid
String (64)
Y
Request identifier. A unique ID used to identify messages.
rs_datetime
String (32)
Y
Date and time of the transaction request from the merchant's server.

Format:
yyyy-MM-dd hh:mi:ss

Example: :
2024-03-14 07:49:28
error_code
String (4)
Y
Response code.
error_message
String (32)
Y
Response code.
data
Array of Object
Y
Data results.
  score
Object
Y
Total score by category.
  total_score
String (32)
Y
Total score from the sum of question category scores.
  summary
Object
Y
Score conclusion.
    grade
String (32)
Y
Risk value (Low, High, Risk etc.).
    desc
String (32)
Y
Risk value description.
  url_pdf
String (32)
Y
URL to download results in PDF format.
  risk_scoring_id
String (32)
Y
Risk scoring identity code.
  edd_questions
Array of Object
Y
List of edd questions.
    question_order
String (32)
Y
Order of edd questions.
    question_content
String (32)
Y
Remark on edd.
Y: Yes, O: Optional, C: Conditional

Try It!

Anda bisa coba masukkan data sesuai dengan input yang telah disediakan. Setelah itu Anda submit dan lihat hasilnya!























Sample Request

POST /cdd/sijitu/answerscoring 
HTTP/1.1
Content-Length: 240
Host: sandbox-api.espay.id
Accept: */*
Content-Type: application/x-www-form-urlencoded

rq_uuid=QUESTIONSCORING0101002&
rq_datetime=1658306718&
sender_id=SALDOMU&
user_id=test@sgo.co.id&
organization_id=SSB001&
id_scoring=10&
name=Anang&
country=ID&
status_pep=PEP&
data={"33":"79","34":"81","35":"83","36":"84","37":"85"}&
signature=62615a2066b0d9e614371db4d63c6532cca3d12baf4240343dea3901e31ed061
            
































Sample Positive Response

{
    "rq_uuid": "QUESTIONSCORING0101002",
    "rs_datetime": "2022-07-20 12:01:26",
    "error_code": "0000",
    "error_message": "Success",
    "data": [
        {
            "score": {
                "Category:Point 1": "Score:12,06",
                "Category:Point 2": "Score:25,00",
                "Category:Point 3": "Score:20,00",
                "Category:Point 4": "Score:30,00"
            },
            "total_score": "87.06",
            "summary": {
                "grade": "High",
                "desc": "High risk profile karena status category PEP"
            },
            "url_pdf": "https://sijitu-dev.espay.id/frontend/report/scoring/detail/print_pdf/eyJpdiI6Ikh6SGJMSUc5bnpKa3liVDhxV2VpSGc9PSIsInZhbHVlIjoiMVBPdUNSSEdRWWxYWWIyMno4aG5XcGVcLzZEckhsNW9lRDVTQ0xaNnR0RGMwdFZneEtoclpPTjBMWVlURGJJUjhPNnRDbzFyWndtU0Y1QVJnS1Rad3lcL2xXMjVuWjlCUTBrRXorVHdyRGpmek1lcHlXOFFFckdFdEpHQTBzMUl6TU1vUFJMeitBS0dsSFVGUDV1cE9SNUE9PSIsIm1hYyI6IjY5YzkxMzg0ZmY0NDBhYzYyZjNlNDMzNzQ5NjM3NmNmNDhjMWY2MTgzMTNlOTE3ZjQ2ZDViYWEzNzZiMGY4YTcifQ==",
            "risk_scoring_id": 175,
            "edd_questions": [
                {
                    "question_order": 1,
                    "question_content": "asd"
                },
                {
                    "question_order": 2,
                    "question_content": "tes"
                },
                {
                    "question_order": 3,
                    "question_content": "asd12"
                }
            ]
        }
    ]
}
              




CURL

.....
              
Scroll to Top