Examples
# SUCCESS, all data TRUE
<Table align={["left","left"]}>
<thead>
<tr>
<th style={{ textAlign: "left" }}>
Request
</th>
<th style={{ textAlign: "left" }}>
Response
</th>
</tr>
</thead>
<tbody>
<tr>
<td style={{ textAlign: "left" }}>
\{
"nik": "3520000000000000",
"reference\_id": "this\_is\_ref\_id\_1234"
}
</td>
<td style={{ textAlign: "left" }}>
\{\
"message": "success verify income",\
"data": \{\
"id": "abcded9a-508b-453b-9ab7-7d74",\
"reference\_id": "this\_is\_ref\_id\_1234",\
"grade\_income": “2500001-3500000”\
\}\
\}
</td>
</tr>
</tbody>
</Table>
# SUCCESS, reference\_id empty
<Table align={["left","left"]}>
<thead>
<tr>
<th>
Request
</th>
<th>
Response
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
\{
"nik": "3520000000000000",
"reference\_id": ""
}
</td>
<td>
\{\
"message": "success verify income",\
"data": \{\
"id": "abcded9a-508b-453b-9ab7-7d74",\
"reference\_id": "**Hpyrg3UdWVDnGRaVWo9**",\
"grade\_income": "2500001-3500000"\
\}\
\}
</td>
</tr>
</tbody>
</Table>
# FAILED, nik not found
<Table align={["left","left"]}>
<thead>
<tr>
<th>
Request
</th>
<th>
Response
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
\{
"nik": "3520000000000000",
"reference\_id": "this\_is\_ref\_id\_1234"
}
</td>
<td>
\{\
"message": "**income check not found**",\
"data": \{\
"id": "abcded9a-508b-453b-9ab7-7d74",\
"reference\_id": "this\_is\_ref\_id\_1234",\
"grade\_income": null\
\}\
\}
</td>
</tr>
</tbody>
</Table>
# INVALID DATA
<Table align={["left","left","left"]}>
<thead>
<tr>
<th>
Scenario
</th>
<th>
Request
</th>
<th>
Response
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Unauthorized credentials
</td>
<td>
\{\
"nik": "3520000000000000",\
"reference\_id": "this\_is\_ref\_id\_1234"\
}
</td>
<td>
\{\
"message": "Authorization failed"\
\}
</td>
</tr>
<tr>
<td>
“NIK” is empty
</td>
<td>
\{\
"nik": "",\
"reference\_id": "this\_is\_ref\_id\_1234"\
}
</td>
<td>
\{\
"message": "Invalid payload",\
"error\_code": "INVALID\_PAYLOAD",\
"error\_fields": se",\
"0-0": "{ \n \"nik\": \"3520000000000000\", \n \"reference_id\": \"this_is_ref_id_1234\" \n}"\
\}
</td>
</tr>
<tr>
<td>
“NIK” is not 16 digits
</td>
<td>
\{\
"nik": "352000000",\
"reference\_id": "this\_is\_ref\_id\_1234"\
}
</td>
<td>
\{\
"message": "Invalid payload",\
"error\_code": "INVALID\_PAYLOAD",\
"error\_fields": se",\
"0-0": "{ \n \"nik\": \"3520000000000000\", \n \"reference_id\": \"this_is_ref_id_1234\" \n}"\
\}
</td>
</tr>
</tbody>
</Table>
Updated about 1 month ago