{"info":{"_postman_id":"1b3233dc-ab36-499d-8786-c519fe188760","name":"FinScore API Documentation","description":"<html><head></head><body><p>FinScore provides credit scoring platform to financial institutions and credit bureaus in emerging markets to obtain more reliable data about existing and new customers, and to approach unserved market segments.</p>\n<p>To support its business partner needs, FinScore provides a facility that allows them to requests for an Access Token and Score. Access Token is used to validate the request in generating the application telco score.</p>\n<p><strong>Note</strong>: For all requests, mobile number format is 63xxxxxxxxxx. That's 63 followed by the 10 digit mobile number. 63 (country code) followed by 3-digit telco prefix (usually 9xx) then by 7-digit number.</p>\n<p><strong>Note</strong>: The MNO is identified by the mobile number prefix. Each product ID has a unique association with an MNO. For instance, if a product ID linked to Globe is used in a request with a SMART mobile number, the response will display an error message.</p>\n<p><strong>API Timeout and Retry Settings</strong></p>\n<p>The FinScore APIs have the following timeout and retry settings:</p>\n<ul>\n<li><p>Timeout: 20 seconds</p>\n<ul>\n<li>Description: The API request will timeout after 20 seconds if a response is not received from the telco server.</li>\n</ul>\n</li>\n<li><p>Retry Attempts: 3</p>\n<ul>\n<li>Description: If the initial API request fails, the system will automatically retry the request up to 2 times.</li>\n</ul>\n</li>\n<li><p>Retry Timeout: 3 seconds</p>\n<ul>\n<li>Description: Each retry attempt will be made after a delay of 3 seconds.</li>\n</ul>\n</li>\n</ul>\n<p>These settings are configured to ensure optimal performance and reliability of the FinScore APIs. Developers integrating with the API should account for these timeout and retry behaviors in their application logic.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"28833048","collectionId":"1b3233dc-ab36-499d-8786-c519fe188760","publishedId":"2s9YyqhhRf","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"a8d5e5"},"publishDate":"2024-01-27T05:23:33.000Z"},"item":[{"name":"Authentication","item":[{"name":"Example","item":[{"name":"Get Access Token","event":[{"listen":"test","script":{"id":"1a8cb8c1-038d-42f2-a178-36a812791de1","exec":["// Test the response fields\r","pm.test(\"Status code is 200\", () => {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Access token is present and not empty\", () => {\r","    pm.expect(pm.response.json().access_token).to.be.a('string').and.not.empty;\r","});\r","\r","pm.test(\"Expires in is a number\", () => {\r","    pm.expect(pm.response.json().expires_in).to.be.a('number');\r","});\r","\r","pm.test(\"Token type is 'Bearer'\", () => {\r","    pm.expect(pm.response.json().token_type).to.equal('Bearer');\r","});\r","\r","// Parse the response JSON data\r","try {\r","    const responseBody = pm.response.json();\r","    // Extract the \"access_token\" from the response\r","    const accessToken = responseBody.access_token;\r","\r","    if (accessToken) {\r","        // Set the \"access_token\" as a global variable\r","        pm.globals.set(\"access_token\", accessToken);\r","        console.log(\"Successfully set 'access_token' as a global variable:\", accessToken);\r","    } else {\r","        console.error(\"Failed to extract 'access_token' from the response.\");\r","    }\r","} catch (error) {\r","    console.error(\"Error parsing response JSON:\", error.message);\r","}\r",""],"type":"text/javascript"}}],"id":"5ea7b4fe-91ac-42a3-aae9-e585cbcbd939","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Authorization","value":"Basic ZmludGVzdDpXOW1wZU10bmtyZ3VVUHlY","type":"text"}],"body":{"mode":"raw","raw":"grant_type=client_credentials"},"url":"{{baseURL}}//auth/connect/token","urlObject":{"path":["","auth","connect","token"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"220256a4-e58b-4261-b3f5-853114faffab","name":"Get Access Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Authorization","value":"Basic ZmludGVzdDpXOW1wZU10bmtyZ3VVUHlY","type":"text"}],"body":{"mode":"raw","raw":"grant_type=client_credentials"},"url":"{{baseURL}}//auth/connect/token"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Fri, 15 Aug 2025 06:54:08 GMT"},{"key":"Content-Type","value":"application/json; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-store, no-cache, max-age=0"},{"key":"Pragma","value":"no-cache"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJhbGciOiJSUzI1NiIsImtpZCI6ImQ4ZjhlOWVjNmIyZDNiMTAxNTM4YTQxNDJkOWQwYzRmIiwidHlwIjoiSldUIn0.eyJuYmYiOjE3NTUyNDA4NDgsImV4cCI6MTc1NTI0NDQ0OCwiaXNzIjoiaHR0cDovLzEwLjE0OC4xNS4yMTU6NTA1NSIsImF1ZCI6WyJodHRwOi8vMTAuMTQ4LjE1LjIxNTo1MDU1L3Jlc291cmNlcyIsImhjc2NvcmUiXSwiY2xpZW50X2lkIjoiZmludGVzdCIsInNjb3BlIjpbImhjc2NvcmUiXX0.laBk6w7_yivFxErBbkGCtKU2E70db4Uxx8qfsk-pGCaHWk77P-wcRHh1NPG5GByT79a5qJ9_tGTSKfbqW8bBMGYD2BNBlgoQ-vsCKDYDnlzHLJlvwJApDEdZlSalT8Cj7qEARRNy9ujaCYHN2ySlvDcWrO1nbVhv-NZyWMlKgCvtoRfz_QPVp3IUGmNqZ3q9lGEDxsupIyvDyDqoISke4NdCUX4qwDR9-s9KSRxADtBdMdxFqWdD-YX9kjm3xm_jHtBL25TnaZcoutMXCZ4DxGW3IbqdW1DJYuJ5piKP2Kz0kg-q0eHEHYqluG4_F-iXpzUDAAs-IwKdhHDF3_BSiQ\",\n    \"expires_in\": 3600,\n    \"token_type\": \"Bearer\"\n}"}],"_postman_id":"5ea7b4fe-91ac-42a3-aae9-e585cbcbd939"}],"id":"bb341b73-5bbf-4248-a17e-85de9fd70ef5","_postman_id":"bb341b73-5bbf-4248-a17e-85de9fd70ef5","description":""}],"id":"1421eae0-b8a6-4074-abc8-7b51c6e57316","description":"<p>API uses authorization token to validate the request. The token can be retrieved via an API call to Finscore authentication manager. Authorization token has a lifetime of 3600 (1 hour). If the authorization token is expired, kindly request a new one in the same facility.</p>\n<p>See below Instructions to request for a token:</p>\n<ol>\n<li><p>To request for a token, send a POST request to the sandbox url: <a href=\"https://\">https://sandbox.iscore.io/auth/connect/token</a></p>\n</li>\n<li><p>The request header has the following parameters: <code>Content Type: application/x-www-form-urlencoded</code> and<code>Authorization: [Basic][Space][Base64String Username: Password]</code></p>\n</li>\n<li><p>The request body has the following parameters : <code>grant_type=client_credentials</code></p>\n</li>\n</ol>\n<p>Note: In the production environment, FinScore will provide the credentials such as username and password to the prtners/customers. To include these credentials, convert this credential into base64 String and add the value to the 'Authorization' field in the header of the request.</p>\n<p>In the response Tab, the response must be 200. Access Token will be available in the response body.</p>\n","_postman_id":"1421eae0-b8a6-4074-abc8-7b51c6e57316"},{"name":"TelcoScore API","item":[{"name":"Example","item":[{"name":"TelcoScore for SMART number","event":[{"listen":"test","script":{"id":"44d124a2-88d4-4ba5-b854-cfbac3b6500d","exec":["// Parse the response JSON\r","const responseJson = pm.response.json();\r","\r","// Test for the presence of required fields\r","pm.test(\"Response has requestid\", () => {\r","    pm.expect(responseJson).to.have.property(\"requestid\");\r","});\r","\r","pm.test(\"Response has transactionid\", () => {\r","    pm.expect(responseJson).to.have.property(\"transactionid\");\r","});\r","\r","pm.test(\"Response has code\", () => {\r","    pm.expect(responseJson).to.have.property(\"code\");\r","});\r","\r","pm.test(\"Response has result\", () => {\r","    pm.expect(responseJson).to.have.property(\"result\");\r","});\r","\r","pm.test(\"Response has scores\", () => {\r","    pm.expect(responseJson).to.have.property(\"scores\");\r","});\r","\r","// Test the values of specific fields\r","pm.test(\"requestid is of type string\", () => {\r","    pm.expect(responseJson.requestid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"transactionid is of type string\", () => {\r","    pm.expect(responseJson.transactionid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"code is '0000'\", () => {\r","    pm.expect(responseJson.code).to.equal(\"0000\");\r","});\r","\r","pm.test(\"result is 'ok'\", () => {\r","    pm.expect(responseJson.result).to.equal(\"ok\");\r","});\r","\r","pm.test(\"scores contains an array for each dynamic key\", () => {\r","    pm.expect(responseJson.scores).to.be.an(\"object\");\r","    pm.expect(Object.keys(responseJson.scores).length).to.be.greaterThan(0);\r","\r","    // Loop through each dynamic key and test the structure\r","    Object.keys(responseJson.scores).forEach((key) => {\r","        pm.expect(responseJson.scores[key]).to.be.an(\"array\");\r","        pm.expect(responseJson.scores[key]).to.have.lengthOf(2);\r","        pm.expect(responseJson.scores[key][0][0]).to.equal(\"score\");\r","        pm.expect(responseJson.scores[key][1][0]).to.equal(\"band\");\r","        pm.expect(responseJson.scores[key][0][1]).to.be.a(\"number\");\r","        pm.expect(responseJson.scores[key][1][1]).to.be.a(\"number\");\r","    });\r","});\r",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"d7c7452b-9df9-4726-82d5-f6849206bb3e","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript","packages":{}}}],"id":"3cb6ef44-4514-47f2-9bac-28ffd5ff5e22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"mobilenumber\": \"639198307883\",\r\n  \"productids\": \"G;\",\r\n  \"requestid\": \"338791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score","urlObject":{"path":["","score","api","v2","score"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"c3da4882-3560-4f9b-b888-07d93a3566eb","name":"TelcoScore for SMART number","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"access_token","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n  \"mobilenumber\": \"639198307883\",\r\n  \"productids\": \"G;\",\r\n  \"requestid\": \"338791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 29 Apr 2025 05:39:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"160"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestid\": \"338791112\",\n    \"transactionid\": \"f2279c3df6eb4368a8ec31c0ca561c8a\",\n    \"code\": \"0000\",\n    \"result\": \"ok\",\n    \"scores\": {\n        \"G\": [\n            [\n                \"score\",\n                337\n            ],\n            [\n                \"band\",\n                1\n            ]\n        ]\n    }\n}"}],"_postman_id":"3cb6ef44-4514-47f2-9bac-28ffd5ff5e22"},{"name":"TelcoScore for Globe number","event":[{"listen":"test","script":{"id":"44d124a2-88d4-4ba5-b854-cfbac3b6500d","exec":["// Parse the response JSON\r","const responseJson = pm.response.json();\r","\r","// Test for the presence of required fields\r","pm.test(\"Response has requestid\", () => {\r","    pm.expect(responseJson).to.have.property(\"requestid\");\r","});\r","\r","pm.test(\"Response has transactionid\", () => {\r","    pm.expect(responseJson).to.have.property(\"transactionid\");\r","});\r","\r","pm.test(\"Response has code\", () => {\r","    pm.expect(responseJson).to.have.property(\"code\");\r","});\r","\r","pm.test(\"Response has result\", () => {\r","    pm.expect(responseJson).to.have.property(\"result\");\r","});\r","\r","pm.test(\"Response has scores\", () => {\r","    pm.expect(responseJson).to.have.property(\"scores\");\r","});\r","\r","// Test the values of specific fields\r","pm.test(\"requestid is of type string\", () => {\r","    pm.expect(responseJson.requestid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"transactionid is of type string\", () => {\r","    pm.expect(responseJson.transactionid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"code is '0000'\", () => {\r","    pm.expect(responseJson.code).to.equal(\"0000\");\r","});\r","\r","pm.test(\"result is 'ok'\", () => {\r","    pm.expect(responseJson.result).to.equal(\"ok\");\r","});\r","\r","pm.test(\"scores contains an array for each dynamic key\", () => {\r","    pm.expect(responseJson.scores).to.be.an(\"object\");\r","    pm.expect(Object.keys(responseJson.scores).length).to.be.greaterThan(0);\r","\r","    // Loop through each dynamic key and test the structure\r","    Object.keys(responseJson.scores).forEach((key) => {\r","        pm.expect(responseJson.scores[key]).to.be.an(\"array\");\r","        pm.expect(responseJson.scores[key]).to.have.lengthOf(2);\r","        pm.expect(responseJson.scores[key][0][0]).to.equal(\"score\");\r","        pm.expect(responseJson.scores[key][1][0]).to.equal(\"band\");\r","        pm.expect(responseJson.scores[key][0][1]).to.be.a(\"number\");\r","        pm.expect(responseJson.scores[key][1][1]).to.be.a(\"number\");\r","    });\r","});\r",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"d7c7452b-9df9-4726-82d5-f6849206bb3e","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript","packages":{}}}],"id":"0222de15-d983-4e62-9886-e9791cd4817d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"mobilenumber\": \"639757304545\",\r\n  \"productids\": \"GL1;\",\r\n  \"requestid\": \"338791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score","urlObject":{"path":["","score","api","v2","score"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"0e29b946-f2a5-4fb6-bb7e-f92b65143de1","name":"TelcoScore for Globe number","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"access_token","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n  \"mobilenumber\": \"639757304545\",\r\n  \"productids\": \"GL1;\",\r\n  \"requestid\": \"338791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 29 Apr 2025 04:23:11 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"163"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestid\": \"338791112\",\n    \"transactionid\": \"9952685694bb4a33938fe4b1c3590874\",\n    \"code\": \"0000\",\n    \"result\": \"ok\",\n    \"scores\": {\n        \"GL1\": [\n            [\n                \"score\",\n                576\n            ],\n            [\n                \"band\",\n                10\n            ]\n        ]\n    }\n}"}],"_postman_id":"0222de15-d983-4e62-9886-e9791cd4817d"},{"name":"TelcoScore for DITO number","event":[{"listen":"test","script":{"id":"44d124a2-88d4-4ba5-b854-cfbac3b6500d","exec":["// Parse the response JSON\r","const responseJson = pm.response.json();\r","\r","// Test for the presence of required fields\r","pm.test(\"Response has requestid\", () => {\r","    pm.expect(responseJson).to.have.property(\"requestid\");\r","});\r","\r","pm.test(\"Response has transactionid\", () => {\r","    pm.expect(responseJson).to.have.property(\"transactionid\");\r","});\r","\r","pm.test(\"Response has code\", () => {\r","    pm.expect(responseJson).to.have.property(\"code\");\r","});\r","\r","pm.test(\"Response has result\", () => {\r","    pm.expect(responseJson).to.have.property(\"result\");\r","});\r","\r","pm.test(\"Response has scores\", () => {\r","    pm.expect(responseJson).to.have.property(\"scores\");\r","});\r","\r","// Test the values of specific fields\r","pm.test(\"requestid is of type string\", () => {\r","    pm.expect(responseJson.requestid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"transactionid is of type string\", () => {\r","    pm.expect(responseJson.transactionid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"code is '0000'\", () => {\r","    pm.expect(responseJson.code).to.equal(\"0000\");\r","});\r","\r","pm.test(\"result is 'ok'\", () => {\r","    pm.expect(responseJson.result).to.equal(\"ok\");\r","});\r","\r","pm.test(\"scores contains an array for each dynamic key\", () => {\r","    pm.expect(responseJson.scores).to.be.an(\"object\");\r","    pm.expect(Object.keys(responseJson.scores).length).to.be.greaterThan(0);\r","\r","    // Loop through each dynamic key and test the structure\r","    Object.keys(responseJson.scores).forEach((key) => {\r","        pm.expect(responseJson.scores[key]).to.be.an(\"array\");\r","        pm.expect(responseJson.scores[key]).to.have.lengthOf(2);\r","        pm.expect(responseJson.scores[key][0][0]).to.equal(\"score\");\r","        pm.expect(responseJson.scores[key][1][0]).to.equal(\"band\");\r","        pm.expect(responseJson.scores[key][0][1]).to.be.a(\"number\");\r","        pm.expect(responseJson.scores[key][1][1]).to.be.a(\"number\");\r","    });\r","});\r",""],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"d7c7452b-9df9-4726-82d5-f6849206bb3e","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"ddd35aeb-a576-48f8-a5c8-69f222a26838","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"mobilenumber\": \"639930000081\",\r\n  \"productids\": \"DT1;\",\r\n  \"requestid\": \"338791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score","urlObject":{"path":["","score","api","v2","score"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"47229792-f5e9-4675-9433-28030e9ba3d0","name":"TelcoScore for DITO number","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"access_token","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n  \"mobilenumber\": \"639930000081\",\r\n  \"productids\": \"DT1;\",\r\n  \"requestid\": \"338791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 05 Nov 2025 04:39:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"163"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestid\": \"338791112\",\n    \"transactionid\": \"72d1628178df4fe6a45022720377f7f9\",\n    \"code\": \"0000\",\n    \"result\": \"ok\",\n    \"scores\": {\n        \"DT1\": [\n            [\n                \"score\",\n                920\n            ],\n            [\n                \"band\",\n                22\n            ]\n        ]\n    }\n}"}],"_postman_id":"ddd35aeb-a576-48f8-a5c8-69f222a26838"}],"id":"d32e5ea0-5531-45ab-bad7-d1ec0bec36ab","event":[{"listen":"prerequest","script":{"id":"02e0b912-8d33-460d-be9c-68daee9ab4c3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"aad6f8d3-746f-4200-b743-38413c5a2905","type":"text/javascript","exec":[""]}}],"_postman_id":"d32e5ea0-5531-45ab-bad7-d1ec0bec36ab","description":""}],"id":"dfcc4d30-4a82-4d9a-9606-0989704d9306","description":"<p>The Finscore’s generic telco scores are statistical models built on various MNO(Mobile Network Operator) data sources such as data and voice usage, top-up patterns, location and device data, and many more. Derived by the most advanced machine learning algorithms, the scores have significant predictive power and can be used as either standalone models or in combination with exiting internal Social-Demographic and/or Credit Bureau models. This is currently available for SMART, Globe, and DITO mobile numbers.</p>\n<h2 id=\"telco-score-versions\">Telco Score versions</h2>\n<p>Finscore offers to its clients several versions(models) of the Telco score for prepaid and postpaid customers. These distinct versions are developed using diverse loan product payment information. All scores are calibrated to the same scale.When clients come on board, they will receive product IDs associated with the chosen version. Each individual model will encompass a specific spectrum of scores and bands for both postpaid and prepaid numbers, contingent upon the Mobile Network Operator (MNO).</p>\n<p><strong>Example</strong>: Below is an example score and band range for SMART prepaid and postpaid customer for a telco score model.</p>\n<p>SMART Prepaid Customer</p>\n<ul>\n<li><p><code>Score Range</code>: 300 to 600</p>\n</li>\n<li><p><code>Score Bands</code>:</p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>SCORE BAND</th>\n<th>RISK LEVEL</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Highest</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Highest</td>\n</tr>\n<tr>\n<td>3</td>\n<td>High</td>\n</tr>\n<tr>\n<td>4</td>\n<td>High</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Medium</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Medium</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Low</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Low</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Low</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Low</td>\n</tr>\n</tbody>\n</table>\n</div><p>SMART Postpaid Customer</p>\n<ul>\n<li><p><code>Score Range</code>: 700 to 999</p>\n</li>\n<li><p><code>Score Bands</code>:</p>\n</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>SCORE BAND</th>\n<th>RISK LEVEL</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>21</td>\n<td>High</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Medium</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Low</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note</strong>: The score bands and ranges may vary from the values provided above in certain models. Additionally, there are specific instances where default values can be assigned to the score bands. Clients will receive specific information about the score bands, ranges, and any special case values associated with the chosen model during the onboarding process. Below, an illustration is presented that showcases default values for special cases within one of the models.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Default value</th>\n<th>Definition</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>-9</td>\n<td>Sun cellular subscribers</td>\n</tr>\n<tr>\n<td>-8</td>\n<td>Smart broadband subscribers and others</td>\n</tr>\n<tr>\n<td>-7</td>\n<td>Smart prepaid and postpaid subscribers, registered before less than 10 days</td>\n</tr>\n<tr>\n<td>-6</td>\n<td>Smart prepaid subscribers without top-ups in the last 90 days</td>\n</tr>\n</tbody>\n</table>\n</div><p>This section enumerates all values that could be returned in the error code field.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Code</th>\n<th>Code</th>\n<th>Message</th>\n<th>When/Why?</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>0000</td>\n<td>ok</td>\n<td>Successful score result</td>\n</tr>\n<tr>\n<td>200</td>\n<td>1000</td>\n<td>score not available</td>\n<td>No score available for the request</td>\n</tr>\n<tr>\n<td>500</td>\n<td>1111</td>\n<td>TF_date format is not YYYY-mm-dd</td>\n<td><code>TF_date</code> is present but not in <code>YYYY-mm-dd</code> format</td>\n</tr>\n<tr>\n<td>500</td>\n<td>1111</td>\n<td>general error</td>\n<td>Unhandled server error (generic exception)</td>\n</tr>\n<tr>\n<td>429</td>\n<td>1111</td>\n<td>limits exceeded</td>\n<td>Transaction/user limits exceeded (main user or end user)</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>requestid not found</td>\n<td><code>requestid</code> is missing, <code>None</code>, or empty</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>productids not found</td>\n<td><code>productids</code> is empty</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>productids format not correct</td>\n<td><code>productids</code> is too long (over 40 chars)</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>productids unknown id in the list</td>\n<td><code>productids</code> contains unknown IDs</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>productids is not presented</td>\n<td><code>productids</code> key is missing</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>mobilenumber format is not correct</td>\n<td><code>mobilenumber</code> does not match regex</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>mobile number not found</td>\n<td><code>mobilenumber</code> key is missing</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>address_check section is too big</td>\n<td><code>address_check</code> string is over 550 chars</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>address_check section is more than 10</td>\n<td><code>address_check</code> list has more than 10 items</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>msisdn_check section is too big</td>\n<td><code>msisdn_check</code> string is over 280 chars</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>address_check must be int</td>\n<td><code>address_check</code> index is not an integer</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>msisdn_check must be int</td>\n<td><code>msisdn_check</code> index is not an integer</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>address_check format is not correct</td>\n<td><code>address_check</code> index list is not sorted or has missing items</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>msisdn_check format is not correct</td>\n<td><code>msisdn_check</code> index list is not sorted or has missing items</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>{msisdn} – not valid SMART number</td>\n<td>MSISDN is GLOBE, but a SMART-only product is requested</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>{msisdn} – not valid GLOBE number</td>\n<td>MSISDN is SMART, but a GLOBE-only product is requested</td>\n</tr>\n<tr>\n<td>422</td>\n<td>1111</td>\n<td>{msisdn} – not valid SMART or GLOBE number</td>\n<td>MSISDN is neither SMART nor GLOBE, or product IDs do not match any prefix</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"authentication\">Authentication</h2>\n<p>To access the API, you need a valid access token. Include the access token in the request headers as follows:</p>\n<p><code>Authorization: Bearer access_token</code></p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<p>The API endpoint for accessing the telco score is:</p>\n<p><code>https://sandbox.iscore.io/score/api/v2/score</code></p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<p>The request should include the following parameters:</p>\n<h3 id=\"mobilenumber-required\"><code>mobilenumber</code> (Required)</h3>\n<p>The <code>mobilenumber</code> parameter should contain the number of the client for whom you want to generate the telco score.</p>\n<h3 id=\"productids-required\"><code>productids</code> (Required)</h3>\n<p>The <code>productids</code> parameter is a semicolon-separated list of product codes that you want to use for the telco score. For Sandbox API testing, you can use <code>\"G;\"</code> for SMART , <code>\"GL1;\"</code> for Globe, and <code>\"DT1;\"</code>for DITO.</p>\n<p><strong>Note</strong>: For live requests, ensure you use the appropriate <code>productids</code> based on the selected model.</p>\n<h3 id=\"requestid-required\"><code>requestid</code> (Required)</h3>\n<p>The <code>requestid</code> parameter is an identifier for the API request. It should be a unique value for each API call.</p>\n<h2 id=\"response-parameters\">Response Parameters</h2>\n<p>The API response will contain the calculated telco scores for the mobile number sent in the request. The response will be in JSON format and will include the following fields:</p>\n<ul>\n<li><p><code>requestid</code> (string, required): Unique identifier for the request.</p>\n</li>\n<li><p><code>transactionid</code> (string, required): Unique system identifier for the transaction.</p>\n</li>\n<li><p><code>code</code> (string, required): Operation code.</p>\n</li>\n<li><p><code>result</code> (string, required): Operation result, indicating the success or failure of the request.</p>\n</li>\n<li><p><code>scores</code> (object, required): An object containing score and band values in numeric format.</p>\n</li>\n</ul>\n","_postman_id":"dfcc4d30-4a82-4d9a-9606-0989704d9306"},{"name":"CrediView API","item":[{"name":"Example","item":[{"name":"CrediView without telco score for SMART","event":[{"listen":"test","script":{"id":"44d124a2-88d4-4ba5-b854-cfbac3b6500d","exec":["pm.test(\"Status code is 200\", () => {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Response has required properties\", () => {\r","    pm.expect(pm.response.json()).to.have.property(\"requestid\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"transactionid\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"code\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"result\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"scores\").and.to.be.an(\"object\");\r","});\r","\r","pm.test(\"Scores object has expected properties\", () => {\r","    \r","    pm.expect(pm.response.json().scores).to.have.property(\"911\").and.to.be.an(\"object\");\r","\r","    const cv_totals = pm.response.json().scores[\"911\"].cv_totals[0];\r","    const numericProperties = [\r","        \"req_total_all\", \"unq_entities_total_all\", \"req_same_total_all\", \"req_others_total_all\",\r","        \"req_total_1\", \"req_total_7\", \"req_total_14\", \"req_total_21\", \"req_total_28\", \"req_total_35\",\r","        \"req_total_45\", \"req_total_60\", \"req_total_90\", \"req_total_180\", \"req_total_360\",\r","        \"unq_entities_1\", \"unq_entities_7\", \"unq_entities_14\", \"unq_entities_21\", \"unq_entities_28\",\r","        \"unq_entities_35\", \"unq_entities_45\", \"unq_entities_60\", \"unq_entities_90\", \"unq_entities_180\",\r","        \"unq_entities_360\", \"req_same_1\", \"req_same_7\", \"req_same_14\", \"req_same_21\", \"req_same_28\",\r","        \"req_same_35\", \"req_same_45\", \"req_same_60\", \"req_same_90\", \"req_same_180\", \"req_same_360\",\r","        \"req_others_1\", \"req_others_7\", \"req_others_14\", \"req_others_21\", \"req_others_28\",\r","        \"req_others_35\", \"req_others_45\", \"req_others_60\", \"req_others_90\", \"req_others_180\",\r","        \"req_others_360\", \"req_bank_1\", \"req_bank_7\", \"req_bank_14\", \"req_bank_21\", \"req_bank_28\",\r","        \"req_bank_35\", \"req_bank_45\", \"req_bank_60\", \"req_bank_90\", \"req_bank_180\", \"req_bank_360\",\r","        \"req_non_bank_1\", \"req_non_bank_7\", \"req_non_bank_14\", \"req_non_bank_21\", \"req_non_bank_28\",\r","        \"req_non_bank_35\", \"req_non_bank_45\", \"req_non_bank_60\", \"req_non_bank_90\", \"req_non_bank_180\",\r","        \"req_non_bank_360\"\r","    ];\r","\r","    numericProperties.forEach(property => {\r","        pm.expect(cv_totals).to.have.property(property).and.to.be.a(\"number\");\r","    });\r","});\r","\r","pm.test(\"Values are as expected\", () => {\r","    const cv_totals = pm.response.json().scores[\"911\"].cv_totals[0];\r","\r","    pm.expect(cv_totals.req_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_360).to.be.greaterThanOrEqual(0);\r","});\r","\r",""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"d7c7452b-9df9-4726-82d5-f6849206bb3e","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript"}}],"id":"84b1718f-3b28-40e3-ad19-399c0fe27af7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639218309045\",\r\n    \"productids\": \"911;\",\r\n    \"requestid\": \"3111791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score","description":"<p>CrediView request with only product ID 911.</p>\n","urlObject":{"path":["","score","api","v2","score"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"0cb88d8f-751a-4aed-a33f-2a9fb314b154","name":"CrediView without telco score - SMART","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"access_token","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639218309045\",\r\n    \"productids\": \"911;\",\r\n    \"requestid\": \"3111791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 06 Aug 2023 09:14:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1611"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestid\": \"3111791112\",\n    \"transactionid\": \"75b0b20f46a54107a75a38b6d6dc1db0\",\n    \"code\": \"0000\",\n    \"result\": \"ok\",\n    \"scores\": {\n        \"911\": {\n            \"cv_totals\": [\n                {\n                    \"req_total_all\": 968,\n                    \"unq_entities_total_all\": 30,\n                    \"req_same_total_all\": 74,\n                    \"req_others_total_all\": 894,\n                    \"req_total_1\": 3,\n                    \"req_total_7\": 12,\n                    \"req_total_14\": 22,\n                    \"req_total_21\": 31,\n                    \"req_total_28\": 40,\n                    \"req_total_35\": 62,\n                    \"req_total_45\": 80,\n                    \"req_total_60\": 107,\n                    \"req_total_90\": 169,\n                    \"req_total_180\": 312,\n                    \"req_total_360\": 539,\n                    \"unq_entities_1\": 2,\n                    \"unq_entities_7\": 3,\n                    \"unq_entities_14\": 3,\n                    \"unq_entities_21\": 3,\n                    \"unq_entities_28\": 3,\n                    \"unq_entities_35\": 7,\n                    \"unq_entities_45\": 9,\n                    \"unq_entities_60\": 12,\n                    \"unq_entities_90\": 18,\n                    \"unq_entities_180\": 22,\n                    \"unq_entities_360\": 24,\n                    \"req_same_1\": 2,\n                    \"req_same_7\": 4,\n                    \"req_same_14\": 6,\n                    \"req_same_21\": 8,\n                    \"req_same_28\": 9,\n                    \"req_same_35\": 14,\n                    \"req_same_45\": 16,\n                    \"req_same_60\": 21,\n                    \"req_same_90\": 31,\n                    \"req_same_180\": 41,\n                    \"req_same_360\": 59,\n                    \"req_others_1\": 1,\n                    \"req_others_7\": 8,\n                    \"req_others_14\": 16,\n                    \"req_others_21\": 23,\n                    \"req_others_28\": 31,\n                    \"req_others_35\": 48,\n                    \"req_others_45\": 64,\n                    \"req_others_60\": 86,\n                    \"req_others_90\": 138,\n                    \"req_others_180\": 271,\n                    \"req_others_360\": 480,\n                    \"req_bank_1\": 0,\n                    \"req_bank_7\": 0,\n                    \"req_bank_14\": 0,\n                    \"req_bank_21\": 0,\n                    \"req_bank_28\": 0,\n                    \"req_bank_35\": 0,\n                    \"req_bank_45\": 1,\n                    \"req_bank_60\": 3,\n                    \"req_bank_90\": 9,\n                    \"req_bank_180\": 16,\n                    \"req_bank_360\": 23,\n                    \"req_non_bank_1\": 0,\n                    \"req_non_bank_7\": 1,\n                    \"req_non_bank_14\": 2,\n                    \"req_non_bank_21\": 2,\n                    \"req_non_bank_28\": 3,\n                    \"req_non_bank_35\": 13,\n                    \"req_non_bank_45\": 18,\n                    \"req_non_bank_60\": 22,\n                    \"req_non_bank_90\": 29,\n                    \"req_non_bank_180\": 58,\n                    \"req_non_bank_360\": 79\n                }\n            ]\n        }\n    }\n}"}],"_postman_id":"84b1718f-3b28-40e3-ad19-399c0fe27af7"},{"name":"CrediView with telco score for SMART","event":[{"listen":"test","script":{"id":"44d124a2-88d4-4ba5-b854-cfbac3b6500d","exec":["pm.test(\"Status code is 200\", () => {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Response has required properties\", () => {\r","    pm.expect(pm.response.json()).to.have.property(\"requestid\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"transactionid\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"code\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"result\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"scores\").and.to.be.an(\"object\");\r","});\r","\r","pm.test(\"Scores object has expected properties\", () => {\r","    pm.expect(pm.response.json().scores).to.have.property(\"10\").and.to.be.an(\"array\");\r","    pm.expect(pm.response.json().scores).to.have.property(\"911\").and.to.be.an(\"object\");\r","\r","    const score10 = pm.response.json().scores[\"10\"];\r","    pm.expect(score10).to.have.lengthOf(2);\r","    pm.expect(score10[0][0]).to.equal(\"score\");\r","    pm.expect(score10[0][1]).to.be.a(\"number\");\r","    pm.expect(score10[1][0]).to.equal(\"band\");\r","    pm.expect(score10[1][1]).to.be.a(\"number\");\r","\r","    const cv_totals = pm.response.json().scores[\"911\"].cv_totals[0];\r","    const numericProperties = [\r","        \"req_total_all\", \"unq_entities_total_all\", \"req_same_total_all\", \"req_others_total_all\",\r","        \"req_total_1\", \"req_total_7\", \"req_total_14\", \"req_total_21\", \"req_total_28\", \"req_total_35\",\r","        \"req_total_45\", \"req_total_60\", \"req_total_90\", \"req_total_180\", \"req_total_360\",\r","        \"unq_entities_1\", \"unq_entities_7\", \"unq_entities_14\", \"unq_entities_21\", \"unq_entities_28\",\r","        \"unq_entities_35\", \"unq_entities_45\", \"unq_entities_60\", \"unq_entities_90\", \"unq_entities_180\",\r","        \"unq_entities_360\", \"req_same_1\", \"req_same_7\", \"req_same_14\", \"req_same_21\", \"req_same_28\",\r","        \"req_same_35\", \"req_same_45\", \"req_same_60\", \"req_same_90\", \"req_same_180\", \"req_same_360\",\r","        \"req_others_1\", \"req_others_7\", \"req_others_14\", \"req_others_21\", \"req_others_28\",\r","        \"req_others_35\", \"req_others_45\", \"req_others_60\", \"req_others_90\", \"req_others_180\",\r","        \"req_others_360\", \"req_bank_1\", \"req_bank_7\", \"req_bank_14\", \"req_bank_21\", \"req_bank_28\",\r","        \"req_bank_35\", \"req_bank_45\", \"req_bank_60\", \"req_bank_90\", \"req_bank_180\", \"req_bank_360\",\r","        \"req_non_bank_1\", \"req_non_bank_7\", \"req_non_bank_14\", \"req_non_bank_21\", \"req_non_bank_28\",\r","        \"req_non_bank_35\", \"req_non_bank_45\", \"req_non_bank_60\", \"req_non_bank_90\", \"req_non_bank_180\",\r","        \"req_non_bank_360\"\r","    ];\r","\r","    numericProperties.forEach(property => {\r","        pm.expect(cv_totals).to.have.property(property).and.to.be.a(\"number\");\r","    });\r","});\r","\r","pm.test(\"Values are as expected\", () => {\r","    const cv_totals = pm.response.json().scores[\"911\"].cv_totals[0];\r","\r","    pm.expect(cv_totals.req_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_360).to.be.greaterThanOrEqual(0);\r","});\r","\r",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"d7c7452b-9df9-4726-82d5-f6849206bb3e","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript","packages":{}}}],"id":"6b2da3e3-aecb-4bf4-be27-7ce5fe921868","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639198307883\",\r\n    \"productids\": \"911;G;\",\r\n    \"requestid\": \"3111791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score","description":"<p>CrediView request with product IDs 911 and 10.</p>\n","urlObject":{"path":["","score","api","v2","score"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"2f628749-3c33-4d20-bc78-06834c31667d","name":"CrediView with telco score for SMART","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"access_token","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639198307883\",\r\n    \"productids\": \"911;G;\",\r\n    \"requestid\": \"3111791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 29 Apr 2025 05:42:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1647"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestid\": \"3111791112\",\n    \"transactionid\": \"14e09f5f01ad4797a08f23386502ad38\",\n    \"code\": \"0000\",\n    \"result\": \"ok\",\n    \"scores\": {\n        \"911\": {\n            \"cv_totals\": [\n                {\n                    \"req_total_all\": 968,\n                    \"unq_entities_total_all\": 30,\n                    \"req_same_total_all\": 74,\n                    \"req_others_total_all\": 894,\n                    \"req_total_1\": 3,\n                    \"req_total_7\": 12,\n                    \"req_total_14\": 22,\n                    \"req_total_21\": 31,\n                    \"req_total_28\": 40,\n                    \"req_total_35\": 62,\n                    \"req_total_45\": 80,\n                    \"req_total_60\": 107,\n                    \"req_total_90\": 169,\n                    \"req_total_180\": 312,\n                    \"req_total_360\": 539,\n                    \"unq_entities_1\": 2,\n                    \"unq_entities_7\": 3,\n                    \"unq_entities_14\": 3,\n                    \"unq_entities_21\": 3,\n                    \"unq_entities_28\": 3,\n                    \"unq_entities_35\": 7,\n                    \"unq_entities_45\": 9,\n                    \"unq_entities_60\": 12,\n                    \"unq_entities_90\": 18,\n                    \"unq_entities_180\": 22,\n                    \"unq_entities_360\": 24,\n                    \"req_same_1\": 2,\n                    \"req_same_7\": 4,\n                    \"req_same_14\": 6,\n                    \"req_same_21\": 8,\n                    \"req_same_28\": 9,\n                    \"req_same_35\": 14,\n                    \"req_same_45\": 16,\n                    \"req_same_60\": 21,\n                    \"req_same_90\": 31,\n                    \"req_same_180\": 41,\n                    \"req_same_360\": 59,\n                    \"req_others_1\": 1,\n                    \"req_others_7\": 8,\n                    \"req_others_14\": 16,\n                    \"req_others_21\": 23,\n                    \"req_others_28\": 31,\n                    \"req_others_35\": 48,\n                    \"req_others_45\": 64,\n                    \"req_others_60\": 86,\n                    \"req_others_90\": 138,\n                    \"req_others_180\": 271,\n                    \"req_others_360\": 480,\n                    \"req_bank_1\": 0,\n                    \"req_bank_7\": 0,\n                    \"req_bank_14\": 0,\n                    \"req_bank_21\": 0,\n                    \"req_bank_28\": 0,\n                    \"req_bank_35\": 0,\n                    \"req_bank_45\": 1,\n                    \"req_bank_60\": 3,\n                    \"req_bank_90\": 9,\n                    \"req_bank_180\": 16,\n                    \"req_bank_360\": 23,\n                    \"req_non_bank_1\": 0,\n                    \"req_non_bank_7\": 1,\n                    \"req_non_bank_14\": 2,\n                    \"req_non_bank_21\": 2,\n                    \"req_non_bank_28\": 3,\n                    \"req_non_bank_35\": 13,\n                    \"req_non_bank_45\": 18,\n                    \"req_non_bank_60\": 22,\n                    \"req_non_bank_90\": 29,\n                    \"req_non_bank_180\": 58,\n                    \"req_non_bank_360\": 79\n                }\n            ]\n        },\n        \"G\": [\n            [\n                \"score\",\n                337\n            ],\n            [\n                \"band\",\n                1\n            ]\n        ]\n    }\n}"}],"_postman_id":"6b2da3e3-aecb-4bf4-be27-7ce5fe921868"},{"name":"CrediView with telco score for DITO","event":[{"listen":"test","script":{"id":"44d124a2-88d4-4ba5-b854-cfbac3b6500d","exec":["pm.test(\"Status code is 200\", () => {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Response has required properties\", () => {\r","    pm.expect(pm.response.json()).to.have.property(\"requestid\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"transactionid\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"code\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"result\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"scores\").and.to.be.an(\"object\");\r","});\r","\r","pm.test(\"Scores object has expected properties\", () => {\r","    pm.expect(pm.response.json().scores).to.have.property(\"10\").and.to.be.an(\"array\");\r","    pm.expect(pm.response.json().scores).to.have.property(\"911\").and.to.be.an(\"object\");\r","\r","    const score10 = pm.response.json().scores[\"10\"];\r","    pm.expect(score10).to.have.lengthOf(2);\r","    pm.expect(score10[0][0]).to.equal(\"score\");\r","    pm.expect(score10[0][1]).to.be.a(\"number\");\r","    pm.expect(score10[1][0]).to.equal(\"band\");\r","    pm.expect(score10[1][1]).to.be.a(\"number\");\r","\r","    const cv_totals = pm.response.json().scores[\"911\"].cv_totals[0];\r","    const numericProperties = [\r","        \"req_total_all\", \"unq_entities_total_all\", \"req_same_total_all\", \"req_others_total_all\",\r","        \"req_total_1\", \"req_total_7\", \"req_total_14\", \"req_total_21\", \"req_total_28\", \"req_total_35\",\r","        \"req_total_45\", \"req_total_60\", \"req_total_90\", \"req_total_180\", \"req_total_360\",\r","        \"unq_entities_1\", \"unq_entities_7\", \"unq_entities_14\", \"unq_entities_21\", \"unq_entities_28\",\r","        \"unq_entities_35\", \"unq_entities_45\", \"unq_entities_60\", \"unq_entities_90\", \"unq_entities_180\",\r","        \"unq_entities_360\", \"req_same_1\", \"req_same_7\", \"req_same_14\", \"req_same_21\", \"req_same_28\",\r","        \"req_same_35\", \"req_same_45\", \"req_same_60\", \"req_same_90\", \"req_same_180\", \"req_same_360\",\r","        \"req_others_1\", \"req_others_7\", \"req_others_14\", \"req_others_21\", \"req_others_28\",\r","        \"req_others_35\", \"req_others_45\", \"req_others_60\", \"req_others_90\", \"req_others_180\",\r","        \"req_others_360\", \"req_bank_1\", \"req_bank_7\", \"req_bank_14\", \"req_bank_21\", \"req_bank_28\",\r","        \"req_bank_35\", \"req_bank_45\", \"req_bank_60\", \"req_bank_90\", \"req_bank_180\", \"req_bank_360\",\r","        \"req_non_bank_1\", \"req_non_bank_7\", \"req_non_bank_14\", \"req_non_bank_21\", \"req_non_bank_28\",\r","        \"req_non_bank_35\", \"req_non_bank_45\", \"req_non_bank_60\", \"req_non_bank_90\", \"req_non_bank_180\",\r","        \"req_non_bank_360\"\r","    ];\r","\r","    numericProperties.forEach(property => {\r","        pm.expect(cv_totals).to.have.property(property).and.to.be.a(\"number\");\r","    });\r","});\r","\r","pm.test(\"Values are as expected\", () => {\r","    const cv_totals = pm.response.json().scores[\"911\"].cv_totals[0];\r","\r","    pm.expect(cv_totals.req_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_360).to.be.greaterThanOrEqual(0);\r","});\r","\r",""],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"d7c7452b-9df9-4726-82d5-f6849206bb3e","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"2fb0274c-f4cf-4cac-a587-49922c37c794","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639940000070\",\r\n    \"productids\": \"CVSCR2;DT1;\",\r\n    \"requestid\": \"3111791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score","description":"<p>CrediView request with product IDs 911 and 10.</p>\n","urlObject":{"path":["","score","api","v2","score"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"f9eb1084-df61-490b-8b4e-2c69be476698","name":"CrediView with telco score for DITO","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"access_token","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639940000070\",\r\n    \"productids\": \"CVSCR2;DT1;\",\r\n    \"requestid\": \"3111791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 05 Nov 2025 04:59:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3202"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestid\": \"3111791112\",\n    \"transactionid\": \"1c026e68ab6b4ae5baa58d46db8a8c35\",\n    \"code\": \"0000\",\n    \"result\": \"ok\",\n    \"scores\": {\n        \"DT1\": [\n            [\n                \"score\",\n                357\n            ],\n            [\n                \"band\",\n                1\n            ]\n        ],\n        \"CVSCR2\": {\n            \"cv_totals\": {\n                \"req_total_1\": 0,\n                \"unq_entities_1\": 0,\n                \"req_others_1\": 0,\n                \"req_bnpl_1\": 0,\n                \"req_pos_1\": 0,\n                \"req_digi_loan_1\": 0,\n                \"req_digi_bank_1\": 0,\n                \"req_cash_loan_1\": 0,\n                \"req_auto_1\": 0,\n                \"req_bank_1\": 0,\n                \"req_digi_bnpl_1\": 0,\n                \"req_total_7\": 0,\n                \"unq_entities_7\": 0,\n                \"req_others_7\": 0,\n                \"req_bnpl_7\": 0,\n                \"req_pos_7\": 0,\n                \"req_digi_loan_7\": 0,\n                \"req_digi_bank_7\": 0,\n                \"req_cash_loan_7\": 0,\n                \"req_auto_7\": 0,\n                \"req_bank_7\": 0,\n                \"req_digi_bnpl_7\": 0,\n                \"req_total_14\": 0,\n                \"unq_entities_14\": 0,\n                \"req_others_14\": 0,\n                \"req_bnpl_14\": 0,\n                \"req_pos_14\": 0,\n                \"req_digi_loan_14\": 0,\n                \"req_digi_bank_14\": 0,\n                \"req_cash_loan_14\": 0,\n                \"req_auto_14\": 0,\n                \"req_bank_14\": 0,\n                \"req_digi_bnpl_14\": 0,\n                \"req_total_21\": 0,\n                \"unq_entities_21\": 0,\n                \"req_others_21\": 0,\n                \"req_bnpl_21\": 0,\n                \"req_pos_21\": 0,\n                \"req_digi_loan_21\": 0,\n                \"req_digi_bank_21\": 0,\n                \"req_cash_loan_21\": 0,\n                \"req_auto_21\": 0,\n                \"req_bank_21\": 0,\n                \"req_digi_bnpl_21\": 0,\n                \"req_total_28\": 0,\n                \"unq_entities_28\": 0,\n                \"req_others_28\": 0,\n                \"req_bnpl_28\": 0,\n                \"req_pos_28\": 0,\n                \"req_digi_loan_28\": 0,\n                \"req_digi_bank_28\": 0,\n                \"req_cash_loan_28\": 0,\n                \"req_auto_28\": 0,\n                \"req_bank_28\": 0,\n                \"req_digi_bnpl_28\": 0,\n                \"req_total_35\": 0,\n                \"unq_entities_35\": 0,\n                \"req_others_35\": 0,\n                \"req_bnpl_35\": 0,\n                \"req_pos_35\": 0,\n                \"req_digi_loan_35\": 0,\n                \"req_digi_bank_35\": 0,\n                \"req_cash_loan_35\": 0,\n                \"req_auto_35\": 0,\n                \"req_bank_35\": 0,\n                \"req_digi_bnpl_35\": 0,\n                \"req_total_45\": 0,\n                \"unq_entities_45\": 0,\n                \"req_others_45\": 0,\n                \"req_bnpl_45\": 0,\n                \"req_pos_45\": 0,\n                \"req_digi_loan_45\": 0,\n                \"req_digi_bank_45\": 0,\n                \"req_cash_loan_45\": 0,\n                \"req_auto_45\": 0,\n                \"req_bank_45\": 0,\n                \"req_digi_bnpl_45\": 0,\n                \"req_total_60\": 0,\n                \"unq_entities_60\": 0,\n                \"req_others_60\": 0,\n                \"req_bnpl_60\": 0,\n                \"req_pos_60\": 0,\n                \"req_digi_loan_60\": 0,\n                \"req_digi_bank_60\": 0,\n                \"req_cash_loan_60\": 0,\n                \"req_auto_60\": 0,\n                \"req_bank_60\": 0,\n                \"req_digi_bnpl_60\": 0,\n                \"req_total_90\": 0,\n                \"unq_entities_90\": 0,\n                \"req_others_90\": 0,\n                \"req_bnpl_90\": 0,\n                \"req_pos_90\": 0,\n                \"req_digi_loan_90\": 0,\n                \"req_digi_bank_90\": 0,\n                \"req_cash_loan_90\": 0,\n                \"req_auto_90\": 0,\n                \"req_bank_90\": 0,\n                \"req_digi_bnpl_90\": 0,\n                \"req_total_180\": 0,\n                \"unq_entities_180\": 0,\n                \"req_others_180\": 0,\n                \"req_bnpl_180\": 0,\n                \"req_pos_180\": 0,\n                \"req_digi_loan_180\": 0,\n                \"req_digi_bank_180\": 0,\n                \"req_cash_loan_180\": 0,\n                \"req_auto_180\": 0,\n                \"req_bank_180\": 0,\n                \"req_digi_bnpl_180\": 0,\n                \"req_total_360\": 0,\n                \"unq_entities_360\": 0,\n                \"req_others_360\": 0,\n                \"req_bnpl_360\": 0,\n                \"req_pos_360\": 0,\n                \"req_digi_loan_360\": 0,\n                \"req_digi_bank_360\": 0,\n                \"req_cash_loan_360\": 0,\n                \"req_auto_360\": 0,\n                \"req_bank_360\": 0,\n                \"req_digi_bnpl_360\": 0,\n                \"req_total_540\": 0,\n                \"unq_entities_540\": 0,\n                \"req_others_540\": 0,\n                \"req_bnpl_540\": 0,\n                \"req_pos_540\": 0,\n                \"req_digi_loan_540\": 0,\n                \"req_digi_bank_540\": 0,\n                \"req_cash_loan_540\": 0,\n                \"req_auto_540\": 0,\n                \"req_bank_540\": 0,\n                \"req_digi_bnpl_540\": 0,\n                \"req_total_720\": 0,\n                \"unq_entities_720\": 0,\n                \"req_others_720\": 0,\n                \"req_bnpl_720\": 0,\n                \"req_pos_720\": 0,\n                \"req_digi_loan_720\": 0,\n                \"req_digi_bank_720\": 0,\n                \"req_cash_loan_720\": 0,\n                \"req_auto_720\": 0,\n                \"req_bank_720\": 0,\n                \"req_digi_bnpl_720\": 0,\n                \"req_total_all\": 13,\n                \"unq_entities_total_all\": 1,\n                \"req_others_total_all\": 13\n            }\n        }\n    }\n}"}],"_postman_id":"2fb0274c-f4cf-4cac-a587-49922c37c794"}],"id":"86652443-14f5-477b-bd31-e3f8ef81f0fb","event":[{"listen":"prerequest","script":{"id":"02e0b912-8d33-460d-be9c-68daee9ab4c3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"aad6f8d3-746f-4200-b743-38413c5a2905","type":"text/javascript","exec":[""]}}],"_postman_id":"86652443-14f5-477b-bd31-e3f8ef81f0fb","description":""}],"id":"06d873dd-bfa6-4cf7-b164-a3af38542c9e","description":"<p>CrediView provides the information based on the telco scoring inquiries of a user. CrediView is currently available only for SMART and Globe numbers.</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>To access the API, you need a valid access token. Include the access token in the request headers as follows:</p>\n<p><code>Authorization: Bearer access_token</code></p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<p>The API endpoint for accessing CrediView is:</p>\n<p><code>https://sandbox.iscore.io/score/api/v2/score</code></p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<p>The request should include the following parameters:</p>\n<h3 id=\"mobilenumber-required\"><code>mobilenumber</code> (Required)</h3>\n<p>The <code>mobilenumber</code> parameter should contain the SMART number of the client for whom you want to generate the CrediView score.</p>\n<h3 id=\"productids-required\"><code>productids</code> (Required)</h3>\n<p>The <code>productids</code> parameter is a semicolon-separated list of product codes used for CrediView. For this API request, the value should be <code>\"911;\"</code> for CrediView Version 1 and <code>\"CVSCR2;\"</code> for Version 2. This section covers Version 1; for Version 2, please refer to the <a href=\"https://docs.finscore.ph/#b9be32bf-5bee-4be8-bb13-66c268bfb7b7\">next section</a>.</p>\n<h3 id=\"requestid-required\"><code>requestid</code> (Required)</h3>\n<p>The <code>requestid</code> parameter is an identifier for the API request. It should be a unique value for each API call.</p>\n<h2 id=\"response-parameters\">Response Parameters</h2>\n<p>The API response will be in JSON format and will include the following fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property name</th>\n<th>Property type</th>\n<th>Is mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>requestid</td>\n<td>string</td>\n<td>Yes</td>\n<td>Unique identifier</td>\n</tr>\n<tr>\n<td>transactionid</td>\n<td>string</td>\n<td>Yes</td>\n<td>Unique system identifier</td>\n</tr>\n<tr>\n<td>code</td>\n<td>string</td>\n<td>Yes</td>\n<td>Operation code</td>\n</tr>\n<tr>\n<td>result</td>\n<td>string</td>\n<td>Yes</td>\n<td>Operation result</td>\n</tr>\n<tr>\n<td>scores</td>\n<td>string</td>\n<td>Yes</td>\n<td>Semicolon separated string scoring product identifiers (product id 911)</td>\n</tr>\n<tr>\n<td>➔ 911</td>\n<td>Object</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td>➔ cv_totals</td>\n<td>Object</td>\n<td>yes</td>\n<td></td>\n</tr>\n<tr>\n<td>req_total_all</td>\n<td>Integer</td>\n<td>Yes</td>\n<td># all previous requests, including such performed by the Client requesting CrediView</td>\n</tr>\n<tr>\n<td>unq_entities_total_all</td>\n<td>Integer</td>\n<td>Yes</td>\n<td># of unique Lending institutions who performed the requests, including the Client requesting CrediView</td>\n</tr>\n<tr>\n<td>req_same_total_all</td>\n<td>Integer</td>\n<td>Yes</td>\n<td># of all previous requests performed by the Client requesting CrediView</td>\n</tr>\n<tr>\n<td>req_others_total_all</td>\n<td>Integer</td>\n<td>Yes</td>\n<td># of all previous requests, excluding such performed by the Client requesting CrediView</td>\n</tr>\n<tr>\n<td>req_total_1</td>\n<td>Integer</td>\n<td>Yes</td>\n<td># of all previous requests, including such performed by the Client requesting CrediView - 1 Day before the Main request date</td>\n</tr>\n<tr>\n<td>req_total_7</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same as above, but \"Last 7 days\" (includes \"_1\")</td>\n</tr>\n<tr>\n<td>req_total_14</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same as above, but \"Last 14 days\" (includes \"_1\" and \"_7\")</td>\n</tr>\n<tr>\n<td>req_total_21</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_total_28</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_total_35</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_total_45</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_total_60</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_total_90</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_total_180</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_total_360</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>unq_entities_1</td>\n<td>Integer</td>\n<td>Yes</td>\n<td># of unique Lending institutions who performed the requests, including the Client requesting CrediView - 1 Day before the Main request date</td>\n</tr>\n<tr>\n<td>unq_entities_7</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same as above, but \"Last 7 days\" (includes \"_1\")</td>\n</tr>\n<tr>\n<td>unq_entities_14</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same as above, but \"Last 14 days\" (includes \"_1\" and \"_7\")</td>\n</tr>\n<tr>\n<td>unq_entities_21</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>unq_entities_28</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>unq_entities_35</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>unq_entities_45</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>unq_entities_60</td>\n<td>string</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>unq_entities_90</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>unq_entities_180</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>unq_entities_360</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_same_1</td>\n<td>Integer</td>\n<td>Yes</td>\n<td># of all previous requests performed by the Client requesting CrediView - 1 Day before the Main request date</td>\n</tr>\n<tr>\n<td>req_same_7</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same as above, but \"Last 7 days\" (includes \"_1\")</td>\n</tr>\n<tr>\n<td>req_same_14</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same as above, but \"Last 14 days\" (includes \"_1\" and \"_7\")</td>\n</tr>\n<tr>\n<td>req_same_21</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_same_28</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_same_35</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_same_45</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_same_60</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_same_90</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_same_180</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_same_360</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_others_1</td>\n<td>Integer</td>\n<td>Yes</td>\n<td># of all previous requests, excluding such performed by the Client requesting CrediView - 1 Day before the Main request date</td>\n</tr>\n<tr>\n<td>req_others_7</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same as above, but \"Last 7 days\" (includes \"_1\")</td>\n</tr>\n<tr>\n<td>req_others_14</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same as above, but \"Last 14 days\" (includes \"_1\" and \"_7\")</td>\n</tr>\n<tr>\n<td>req_others_21</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_others_28</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_others_35</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_others_45</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_others_60</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_others_90</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_others_180</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_others_360</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_bank_1</td>\n<td>Integer</td>\n<td>Yes</td>\n<td># of all previous requests performed by Banks, excluding such performed by the Client requesting CrediView - 1 Day before the Main request date</td>\n</tr>\n<tr>\n<td>req_bank_7</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same as above, but \"Last 7 days\" (includes \"_1\")</td>\n</tr>\n<tr>\n<td>req_bank_14</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same as above, but \"Last 14 days\" (includes \"_1\" and \"_7\")</td>\n</tr>\n<tr>\n<td>req_bank_21</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_bank_28</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_bank_35</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_bank_45</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_bank_60</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_bank_90</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_bank_180</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_bank_360</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_non_bank_1</td>\n<td>Integer</td>\n<td>Yes</td>\n<td># of all previous requests performed by non banks, excluding such performed by the Client requesting CrediView - 1 Day before the Main request date</td>\n</tr>\n<tr>\n<td>req_non_bank_7</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same as above, but \"Last 7 days\" (includes \"_1\")</td>\n</tr>\n<tr>\n<td>req_non_bank_14</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_non_bank_21</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_non_bank_28</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_non_bank_35</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_non_bank_45</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_non_bank_60</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_non_bank_90</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_non_bank_180</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n<tr>\n<td>req_non_bank_360</td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Same logic as above</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"06d873dd-bfa6-4cf7-b164-a3af38542c9e"},{"name":"CrediView V2","item":[{"name":"Example","item":[{"name":"CrediView version 2","event":[{"listen":"test","script":{"id":"44d124a2-88d4-4ba5-b854-cfbac3b6500d","exec":["pm.test(\"Status code is 200\", () => {\r","    pm.response.to.have.status(200);\r","});\r","\r","pm.test(\"Response has required properties\", () => {\r","    pm.expect(pm.response.json()).to.have.property(\"requestid\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"transactionid\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"code\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"result\").and.to.be.a(\"string\");\r","    pm.expect(pm.response.json()).to.have.property(\"scores\").and.to.be.an(\"object\");\r","});\r","\r","pm.test(\"Scores object has expected properties\", () => {\r","    \r","    pm.expect(pm.response.json().scores).to.have.property(\"911\").and.to.be.an(\"object\");\r","\r","    const cv_totals = pm.response.json().scores[\"911\"].cv_totals[0];\r","    const numericProperties = [\r","        \"req_total_all\", \"unq_entities_total_all\", \"req_same_total_all\", \"req_others_total_all\",\r","        \"req_total_1\", \"req_total_7\", \"req_total_14\", \"req_total_21\", \"req_total_28\", \"req_total_35\",\r","        \"req_total_45\", \"req_total_60\", \"req_total_90\", \"req_total_180\", \"req_total_360\",\r","        \"unq_entities_1\", \"unq_entities_7\", \"unq_entities_14\", \"unq_entities_21\", \"unq_entities_28\",\r","        \"unq_entities_35\", \"unq_entities_45\", \"unq_entities_60\", \"unq_entities_90\", \"unq_entities_180\",\r","        \"unq_entities_360\", \"req_same_1\", \"req_same_7\", \"req_same_14\", \"req_same_21\", \"req_same_28\",\r","        \"req_same_35\", \"req_same_45\", \"req_same_60\", \"req_same_90\", \"req_same_180\", \"req_same_360\",\r","        \"req_others_1\", \"req_others_7\", \"req_others_14\", \"req_others_21\", \"req_others_28\",\r","        \"req_others_35\", \"req_others_45\", \"req_others_60\", \"req_others_90\", \"req_others_180\",\r","        \"req_others_360\", \"req_bank_1\", \"req_bank_7\", \"req_bank_14\", \"req_bank_21\", \"req_bank_28\",\r","        \"req_bank_35\", \"req_bank_45\", \"req_bank_60\", \"req_bank_90\", \"req_bank_180\", \"req_bank_360\",\r","        \"req_non_bank_1\", \"req_non_bank_7\", \"req_non_bank_14\", \"req_non_bank_21\", \"req_non_bank_28\",\r","        \"req_non_bank_35\", \"req_non_bank_45\", \"req_non_bank_60\", \"req_non_bank_90\", \"req_non_bank_180\",\r","        \"req_non_bank_360\"\r","    ];\r","\r","    numericProperties.forEach(property => {\r","        pm.expect(cv_totals).to.have.property(property).and.to.be.a(\"number\");\r","    });\r","});\r","\r","pm.test(\"Values are as expected\", () => {\r","    const cv_totals = pm.response.json().scores[\"911\"].cv_totals[0];\r","\r","    pm.expect(cv_totals.req_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_total_all).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_total_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.unq_entities_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_same_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_others_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_bank_360).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_1).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_7).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_14).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_21).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_28).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_35).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_45).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_60).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_90).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_180).to.be.greaterThanOrEqual(0);\r","    pm.expect(cv_totals.req_non_bank_360).to.be.greaterThanOrEqual(0);\r","});\r","\r",""],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"d7c7452b-9df9-4726-82d5-f6849206bb3e","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"e2019a2b-e6d9-4b47-9429-07eafdf70595","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639940000070\",\r\n    \"productids\": \"CVSCR2;\",\r\n    \"requestid\": \"3111791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score","description":"<p>CrediView request with only product ID 911.</p>\n","urlObject":{"path":["","score","api","v2","score"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"e18dfd6a-1460-4104-9d84-d1e152da6138","name":"CrediView version 2","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"access_token","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639940000070\",\r\n    \"productids\": \"CVSCR2;\",\r\n    \"requestid\": \"3111791112\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 05 Nov 2025 04:40:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"3164"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestid\": \"3111791112\",\n    \"transactionid\": \"693a9a56be0c457eba275615d86b7f3f\",\n    \"code\": \"0000\",\n    \"result\": \"ok\",\n    \"scores\": {\n        \"CVSCR2\": {\n            \"cv_totals\": {\n                \"req_total_1\": 0,\n                \"unq_entities_1\": 0,\n                \"req_others_1\": 0,\n                \"req_bnpl_1\": 0,\n                \"req_pos_1\": 0,\n                \"req_digi_loan_1\": 0,\n                \"req_digi_bank_1\": 0,\n                \"req_cash_loan_1\": 0,\n                \"req_auto_1\": 0,\n                \"req_bank_1\": 0,\n                \"req_digi_bnpl_1\": 0,\n                \"req_total_7\": 0,\n                \"unq_entities_7\": 0,\n                \"req_others_7\": 0,\n                \"req_bnpl_7\": 0,\n                \"req_pos_7\": 0,\n                \"req_digi_loan_7\": 0,\n                \"req_digi_bank_7\": 0,\n                \"req_cash_loan_7\": 0,\n                \"req_auto_7\": 0,\n                \"req_bank_7\": 0,\n                \"req_digi_bnpl_7\": 0,\n                \"req_total_14\": 0,\n                \"unq_entities_14\": 0,\n                \"req_others_14\": 0,\n                \"req_bnpl_14\": 0,\n                \"req_pos_14\": 0,\n                \"req_digi_loan_14\": 0,\n                \"req_digi_bank_14\": 0,\n                \"req_cash_loan_14\": 0,\n                \"req_auto_14\": 0,\n                \"req_bank_14\": 0,\n                \"req_digi_bnpl_14\": 0,\n                \"req_total_21\": 0,\n                \"unq_entities_21\": 0,\n                \"req_others_21\": 0,\n                \"req_bnpl_21\": 0,\n                \"req_pos_21\": 0,\n                \"req_digi_loan_21\": 0,\n                \"req_digi_bank_21\": 0,\n                \"req_cash_loan_21\": 0,\n                \"req_auto_21\": 0,\n                \"req_bank_21\": 0,\n                \"req_digi_bnpl_21\": 0,\n                \"req_total_28\": 0,\n                \"unq_entities_28\": 0,\n                \"req_others_28\": 0,\n                \"req_bnpl_28\": 0,\n                \"req_pos_28\": 0,\n                \"req_digi_loan_28\": 0,\n                \"req_digi_bank_28\": 0,\n                \"req_cash_loan_28\": 0,\n                \"req_auto_28\": 0,\n                \"req_bank_28\": 0,\n                \"req_digi_bnpl_28\": 0,\n                \"req_total_35\": 0,\n                \"unq_entities_35\": 0,\n                \"req_others_35\": 0,\n                \"req_bnpl_35\": 0,\n                \"req_pos_35\": 0,\n                \"req_digi_loan_35\": 0,\n                \"req_digi_bank_35\": 0,\n                \"req_cash_loan_35\": 0,\n                \"req_auto_35\": 0,\n                \"req_bank_35\": 0,\n                \"req_digi_bnpl_35\": 0,\n                \"req_total_45\": 0,\n                \"unq_entities_45\": 0,\n                \"req_others_45\": 0,\n                \"req_bnpl_45\": 0,\n                \"req_pos_45\": 0,\n                \"req_digi_loan_45\": 0,\n                \"req_digi_bank_45\": 0,\n                \"req_cash_loan_45\": 0,\n                \"req_auto_45\": 0,\n                \"req_bank_45\": 0,\n                \"req_digi_bnpl_45\": 0,\n                \"req_total_60\": 0,\n                \"unq_entities_60\": 0,\n                \"req_others_60\": 0,\n                \"req_bnpl_60\": 0,\n                \"req_pos_60\": 0,\n                \"req_digi_loan_60\": 0,\n                \"req_digi_bank_60\": 0,\n                \"req_cash_loan_60\": 0,\n                \"req_auto_60\": 0,\n                \"req_bank_60\": 0,\n                \"req_digi_bnpl_60\": 0,\n                \"req_total_90\": 0,\n                \"unq_entities_90\": 0,\n                \"req_others_90\": 0,\n                \"req_bnpl_90\": 0,\n                \"req_pos_90\": 0,\n                \"req_digi_loan_90\": 0,\n                \"req_digi_bank_90\": 0,\n                \"req_cash_loan_90\": 0,\n                \"req_auto_90\": 0,\n                \"req_bank_90\": 0,\n                \"req_digi_bnpl_90\": 0,\n                \"req_total_180\": 0,\n                \"unq_entities_180\": 0,\n                \"req_others_180\": 0,\n                \"req_bnpl_180\": 0,\n                \"req_pos_180\": 0,\n                \"req_digi_loan_180\": 0,\n                \"req_digi_bank_180\": 0,\n                \"req_cash_loan_180\": 0,\n                \"req_auto_180\": 0,\n                \"req_bank_180\": 0,\n                \"req_digi_bnpl_180\": 0,\n                \"req_total_360\": 0,\n                \"unq_entities_360\": 0,\n                \"req_others_360\": 0,\n                \"req_bnpl_360\": 0,\n                \"req_pos_360\": 0,\n                \"req_digi_loan_360\": 0,\n                \"req_digi_bank_360\": 0,\n                \"req_cash_loan_360\": 0,\n                \"req_auto_360\": 0,\n                \"req_bank_360\": 0,\n                \"req_digi_bnpl_360\": 0,\n                \"req_total_540\": 0,\n                \"unq_entities_540\": 0,\n                \"req_others_540\": 0,\n                \"req_bnpl_540\": 0,\n                \"req_pos_540\": 0,\n                \"req_digi_loan_540\": 0,\n                \"req_digi_bank_540\": 0,\n                \"req_cash_loan_540\": 0,\n                \"req_auto_540\": 0,\n                \"req_bank_540\": 0,\n                \"req_digi_bnpl_540\": 0,\n                \"req_total_720\": 0,\n                \"unq_entities_720\": 0,\n                \"req_others_720\": 0,\n                \"req_bnpl_720\": 0,\n                \"req_pos_720\": 0,\n                \"req_digi_loan_720\": 0,\n                \"req_digi_bank_720\": 0,\n                \"req_cash_loan_720\": 0,\n                \"req_auto_720\": 0,\n                \"req_bank_720\": 0,\n                \"req_digi_bnpl_720\": 0,\n                \"req_total_all\": 13,\n                \"unq_entities_total_all\": 1,\n                \"req_others_total_all\": 13\n            }\n        }\n    }\n}"}],"_postman_id":"e2019a2b-e6d9-4b47-9429-07eafdf70595"}],"id":"54c2ad1f-46f4-4ea4-bec4-96407473a676","event":[{"listen":"prerequest","script":{"id":"02e0b912-8d33-460d-be9c-68daee9ab4c3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"aad6f8d3-746f-4200-b743-38413c5a2905","type":"text/javascript","exec":[""]}}],"_postman_id":"54c2ad1f-46f4-4ea4-bec4-96407473a676","description":""}],"id":"b9be32bf-5bee-4be8-bb13-66c268bfb7b7","description":"<h2 id=\"authentication\">Authentication</h2>\n<p>To access the API, you need a valid access token. Include the access token in the request headers as follows:</p>\n<p><code>Authorization: Bearer access_token</code></p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<p>The API endpoint for accessing CrediView is:</p>\n<p><code>https://sandbox.iscore.io/score/api/v2/score</code></p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<p>The request should include the following parameters:</p>\n<h3 id=\"mobilenumber-required\"><code>mobilenumber</code> (Required)</h3>\n<p>The <code>mobilenumber</code> parameter should contain the SMART number of the client for whom you want to generate the CrediView score.</p>\n<h3 id=\"productids-required\"><code>productids</code> (Required)</h3>\n<p>The <code>productids</code> parameter is a semicolon-separated list of product codes that you want to use for CrediView. For this API request, the productids should be \"CVSCR2;\".</p>\n<h3 id=\"requestid-required\"><code>requestid</code> (Required)</h3>\n<p>The <code>requestid</code> parameter is an identifier for the API request. It should be a unique value for each API call.</p>\n<h2 id=\"response-parameters\">Response Parameters</h2>\n<ul>\n<li><p>mobilenumber (string): Echo of the requested mobile number</p>\n</li>\n<li><p>productids (string): Echo of the requested product IDs</p>\n</li>\n<li><p>requestid (string): Echo of the request ID</p>\n</li>\n<li><p>transactionid (string): Unique transaction identifier generated by the system</p>\n</li>\n<li><p>code (string): Response code (\"0000\" for success)</p>\n</li>\n<li><p>result (string): Result status (\"ok\" for success)</p>\n</li>\n<li><p>scores (object): Contains score results for each requested product</p>\n<ul>\n<li><p>CVSCR2 (object) : Credit Verification Score v2 results</p>\n<ul>\n<li><p>cv_score (object): Score information</p>\n<ul>\n<li><p>score (integer): Credit score value (e.g., 512)</p>\n</li>\n<li><p>band (integer): Risk band classification (1-5, where higher is better)</p>\n</li>\n</ul>\n</li>\n<li><p>cv_totals(object): Database hit counters showing credit inquiries</p>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>Counter Metrics Explanation</strong>: The cv_totals object contains counters for different time periods and inquiry types:</p>\n<p><strong>Time Period Suffixes</strong>:</p>\n<ul>\n<li><p>_1: Last 1 day</p>\n</li>\n<li><p>_7: Last 7 days</p>\n</li>\n<li><p>_14: Last 14 days</p>\n</li>\n<li><p>_21: Last 21 days</p>\n</li>\n<li><p>_28: Last 28 days</p>\n</li>\n<li><p>_35: Last 35 days</p>\n</li>\n<li><p>_45: Last 45 days</p>\n</li>\n<li><p>_60: Last 60 days</p>\n</li>\n<li><p>_90: Last 90 days</p>\n</li>\n<li><p>_180: Last 180 days</p>\n</li>\n<li><p>_360: Last 360 days</p>\n</li>\n<li><p>_540: Last 540 days</p>\n</li>\n<li><p>_720: Last 720 days</p>\n</li>\n<li><p>_all: All time total</p>\n</li>\n</ul>\n<p><strong>Counter Types</strong>:</p>\n<ul>\n<li><p>req_total_[period]: Total number of credit inquiries in the period</p>\n</li>\n<li><p>unq_entities_[period]: Number of unique entities that made inquiries</p>\n</li>\n<li><p>req_others_[period]: Other/miscellaneous inquiries</p>\n</li>\n<li><p>req_bnpl_[period]: Buy Now Pay Later inquiries</p>\n</li>\n<li><p>req_pos_[period]: Point of Sale financing inquiries</p>\n</li>\n<li><p>req_digi_loan_[period]: Digital loan inquiries</p>\n</li>\n<li><p>req_digi_bank_[period]: Digital bank inquiries</p>\n</li>\n<li><p>req_cash_loan_[period]: Cash loan inquiries</p>\n</li>\n<li><p>req_auto_[period]: Auto loan inquiries</p>\n</li>\n<li><p>req_bank_[period]: Traditional bank inquiries</p>\n</li>\n<li><p>req_digi_bnpl_[period]: Digital BNPL inquiries</p>\n</li>\n</ul>\n<p><strong>CVSCR2 Product Response Field Reference Table</strong></p>\n<p>Top-Level Response Fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>mobilenumber</td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>Mobile number queried (international format).</td>\n</tr>\n<tr>\n<td>productids</td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>Semicolon-separated string of scoring product identifiers.</td>\n</tr>\n<tr>\n<td>requestid</td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>Unique identifier provided by client.</td>\n</tr>\n<tr>\n<td>transactionid</td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>Unique system-generated identifier.</td>\n</tr>\n<tr>\n<td>code</td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>Operation code (<code>\"0000\"</code> for success).</td>\n</tr>\n<tr>\n<td>result</td>\n<td><code>string</code></td>\n<td>Yes</td>\n<td>Operation result (<code>\"ok\"</code> for success).</td>\n</tr>\n<tr>\n<td>scores</td>\n<td><code>object</code></td>\n<td>Yes</td>\n<td>Container for score results by product.</td>\n</tr>\n</tbody>\n</table>\n</div><p>scores → CVSCR2 Fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cv_score</td>\n<td><code>object</code></td>\n<td>Yes</td>\n<td>Credit verification score information.</td>\n</tr>\n<tr>\n<td>cv_totals</td>\n<td><code>object</code></td>\n<td>Yes</td>\n<td>Credit inquiry counter totals.</td>\n</tr>\n</tbody>\n</table>\n</div><p>scores → CVSCR2 → cv_score Fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>score</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>CV score value (typically 300–850).</td>\n</tr>\n<tr>\n<td>band</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>CV score band (1–5, where 5 is best).</td>\n</tr>\n</tbody>\n</table>\n</div><p>scores → CVSCR2 → cv_totals Fields</p>\n<p>Total Request Counters (All Sources)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>req_total_all</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Total number of all previous requests, including the client requesting CrediView.</td>\n</tr>\n<tr>\n<td>req_total_1</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — 1 day before the main request date.</td>\n</tr>\n<tr>\n<td>req_total_7</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — last 7 days (includes <code>_1</code>).</td>\n</tr>\n<tr>\n<td>req_total_14</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — last 14 days (includes <code>_1</code> and <code>_7</code>).</td>\n</tr>\n<tr>\n<td>req_total_21</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — last 21 days.</td>\n</tr>\n<tr>\n<td>req_total_28</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — last 28 days.</td>\n</tr>\n<tr>\n<td>req_total_35</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — last 35 days.</td>\n</tr>\n<tr>\n<td>req_total_45</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — last 45 days.</td>\n</tr>\n<tr>\n<td>req_total_60</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — last 60 days.</td>\n</tr>\n<tr>\n<td>req_total_90</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — last 90 days.</td>\n</tr>\n<tr>\n<td>req_total_180</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — last 180 days.</td>\n</tr>\n<tr>\n<td>req_total_360</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — last 360 days.</td>\n</tr>\n<tr>\n<td>req_total_540</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — last 540 days.</td>\n</tr>\n<tr>\n<td>req_total_720</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of all requests — last 720 days.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Unique Entity Counters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>unq_entities_total_all</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Total number of unique lending institutions who performed requests.</td>\n</tr>\n<tr>\n<td>unq_entities_1</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — 1 day before the main request date.</td>\n</tr>\n<tr>\n<td>unq_entities_7</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — last 7 days (includes <code>_1</code>).</td>\n</tr>\n<tr>\n<td>unq_entities_14</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — last 14 days.</td>\n</tr>\n<tr>\n<td>unq_entities_21</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — last 21 days.</td>\n</tr>\n<tr>\n<td>unq_entities_28</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — last 28 days.</td>\n</tr>\n<tr>\n<td>unq_entities_35</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — last 35 days.</td>\n</tr>\n<tr>\n<td>unq_entities_45</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — last 45 days.</td>\n</tr>\n<tr>\n<td>unq_entities_60</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — last 60 days.</td>\n</tr>\n<tr>\n<td>unq_entities_90</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — last 90 days.</td>\n</tr>\n<tr>\n<td>unq_entities_180</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — last 180 days.</td>\n</tr>\n<tr>\n<td>unq_entities_360</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — last 360 days.</td>\n</tr>\n<tr>\n<td>unq_entities_540</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — last 540 days.</td>\n</tr>\n<tr>\n<td>unq_entities_720</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of unique entities — last 720 days.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Other Requests Counters (Excluding Client)</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>req_others_total_all</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Total number of all requests, excluding the client requesting CrediView.</td>\n</tr>\n<tr>\n<td>req_others_1</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — 1 day before the main request date.</td>\n</tr>\n<tr>\n<td>req_others_7</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — last 7 days.</td>\n</tr>\n<tr>\n<td>req_others_14</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — last 14 days.</td>\n</tr>\n<tr>\n<td>req_others_21</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — last 21 days.</td>\n</tr>\n<tr>\n<td>req_others_28</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — last 28 days.</td>\n</tr>\n<tr>\n<td>req_others_35</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — last 35 days.</td>\n</tr>\n<tr>\n<td>req_others_45</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — last 45 days.</td>\n</tr>\n<tr>\n<td>req_others_60</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — last 60 days.</td>\n</tr>\n<tr>\n<td>req_others_90</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — last 90 days.</td>\n</tr>\n<tr>\n<td>req_others_180</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — last 180 days.</td>\n</tr>\n<tr>\n<td>req_others_360</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — last 360 days.</td>\n</tr>\n<tr>\n<td>req_others_540</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — last 540 days.</td>\n</tr>\n<tr>\n<td>req_others_720</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of other requests — last 720 days.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Bank Request Counters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>req_bank_1</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — 1 day.</td>\n</tr>\n<tr>\n<td>req_bank_7</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — last 7 days.</td>\n</tr>\n<tr>\n<td>req_bank_14</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — last 14 days.</td>\n</tr>\n<tr>\n<td>req_bank_21</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — last 21 days.</td>\n</tr>\n<tr>\n<td>req_bank_28</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — last 28 days.</td>\n</tr>\n<tr>\n<td>req_bank_35</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — last 35 days.</td>\n</tr>\n<tr>\n<td>req_bank_45</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — last 45 days.</td>\n</tr>\n<tr>\n<td>req_bank_60</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — last 60 days.</td>\n</tr>\n<tr>\n<td>req_bank_90</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — last 90 days.</td>\n</tr>\n<tr>\n<td>req_bank_180</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — last 180 days.</td>\n</tr>\n<tr>\n<td>req_bank_360</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — last 360 days.</td>\n</tr>\n<tr>\n<td>req_bank_540</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — last 540 days.</td>\n</tr>\n<tr>\n<td>req_bank_720</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by traditional banks — last 720 days.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Digital Bank Request Counters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>req_digi_bank_1</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — 1 day.</td>\n</tr>\n<tr>\n<td>req_digi_bank_7</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — last 7 days.</td>\n</tr>\n<tr>\n<td>req_digi_bank_14</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — last 14 days.</td>\n</tr>\n<tr>\n<td>req_digi_bank_21</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — last 21 days.</td>\n</tr>\n<tr>\n<td>req_digi_bank_28</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — last 28 days.</td>\n</tr>\n<tr>\n<td>req_digi_bank_35</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — last 35 days.</td>\n</tr>\n<tr>\n<td>req_digi_bank_45</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — last 45 days.</td>\n</tr>\n<tr>\n<td>req_digi_bank_60</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — last 60 days.</td>\n</tr>\n<tr>\n<td>req_digi_bank_90</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — last 90 days.</td>\n</tr>\n<tr>\n<td>req_digi_bank_180</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — last 180 days.</td>\n</tr>\n<tr>\n<td>req_digi_bank_360</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — last 360 days.</td>\n</tr>\n<tr>\n<td>req_digi_bank_540</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — last 540 days.</td>\n</tr>\n<tr>\n<td>req_digi_bank_720</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests by digital banks — last 720 days.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Cash Loan Request Counters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>req_cash_loan_1</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — 1 day.</td>\n</tr>\n<tr>\n<td>req_cash_loan_7</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — last 7 days.</td>\n</tr>\n<tr>\n<td>req_cash_loan_14</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — last 14 days.</td>\n</tr>\n<tr>\n<td>req_cash_loan_21</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — last 21 days.</td>\n</tr>\n<tr>\n<td>req_cash_loan_28</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — last 28 days.</td>\n</tr>\n<tr>\n<td>req_cash_loan_35</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — last 35 days.</td>\n</tr>\n<tr>\n<td>req_cash_loan_45</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — last 45 days.</td>\n</tr>\n<tr>\n<td>req_cash_loan_60</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — last 60 days.</td>\n</tr>\n<tr>\n<td>req_cash_loan_90</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — last 90 days.</td>\n</tr>\n<tr>\n<td>req_cash_loan_180</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — last 180 days.</td>\n</tr>\n<tr>\n<td>req_cash_loan_360</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — last 360 days.</td>\n</tr>\n<tr>\n<td>req_cash_loan_540</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — last 540 days.</td>\n</tr>\n<tr>\n<td>req_cash_loan_720</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for cash loans — last 720 days.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Digital Loan Request Counters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>req_digi_loan_1</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — 1 day.</td>\n</tr>\n<tr>\n<td>req_digi_loan_7</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — last 7 days.</td>\n</tr>\n<tr>\n<td>req_digi_loan_14</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — last 14 days.</td>\n</tr>\n<tr>\n<td>req_digi_loan_21</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — last 21 days.</td>\n</tr>\n<tr>\n<td>req_digi_loan_28</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — last 28 days.</td>\n</tr>\n<tr>\n<td>req_digi_loan_35</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — last 35 days.</td>\n</tr>\n<tr>\n<td>req_digi_loan_45</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — last 45 days.</td>\n</tr>\n<tr>\n<td>req_digi_loan_60</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — last 60 days.</td>\n</tr>\n<tr>\n<td>req_digi_loan_90</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — last 90 days.</td>\n</tr>\n<tr>\n<td>req_digi_loan_180</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — last 180 days.</td>\n</tr>\n<tr>\n<td>req_digi_loan_360</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — last 360 days.</td>\n</tr>\n<tr>\n<td>req_digi_loan_540</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — last 540 days.</td>\n</tr>\n<tr>\n<td>req_digi_loan_720</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for digital loans — last 720 days.</td>\n</tr>\n</tbody>\n</table>\n</div><p>BNPL Request Counters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>req_bnpl_1</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — 1 day.</td>\n</tr>\n<tr>\n<td>req_bnpl_7</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — last 7 days.</td>\n</tr>\n<tr>\n<td>req_bnpl_14</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — last 14 days.</td>\n</tr>\n<tr>\n<td>req_bnpl_21</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — last 21 days.</td>\n</tr>\n<tr>\n<td>req_bnpl_28</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — last 28 days.</td>\n</tr>\n<tr>\n<td>req_bnpl_35</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — last 35 days.</td>\n</tr>\n<tr>\n<td>req_bnpl_45</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — last 45 days.</td>\n</tr>\n<tr>\n<td>req_bnpl_60</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — last 60 days.</td>\n</tr>\n<tr>\n<td>req_bnpl_90</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — last 90 days.</td>\n</tr>\n<tr>\n<td>req_bnpl_180</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — last 180 days.</td>\n</tr>\n<tr>\n<td>req_bnpl_360</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — last 360 days.</td>\n</tr>\n<tr>\n<td>req_bnpl_540</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — last 540 days.</td>\n</tr>\n<tr>\n<td>req_bnpl_720</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Buy Now Pay Later — last 720 days.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Digital BNPL Request Counters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>req_digi_bnpl_1</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — 1 day.</td>\n</tr>\n<tr>\n<td>req_digi_bnpl_7</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — last 7 days.</td>\n</tr>\n<tr>\n<td>req_digi_bnpl_14</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — last 14 days.</td>\n</tr>\n<tr>\n<td>req_digi_bnpl_21</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — last 21 days.</td>\n</tr>\n<tr>\n<td>req_digi_bnpl_28</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — last 28 days.</td>\n</tr>\n<tr>\n<td>req_digi_bnpl_35</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — last 35 days.</td>\n</tr>\n<tr>\n<td>req_digi_bnpl_45</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — last 45 days.</td>\n</tr>\n<tr>\n<td>req_digi_bnpl_60</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — last 60 days.</td>\n</tr>\n<tr>\n<td>req_digi_bnpl_90</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — last 90 days.</td>\n</tr>\n<tr>\n<td>req_digi_bnpl_180</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — last 180 days.</td>\n</tr>\n<tr>\n<td>req_digi_bnpl_360</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — last 360 days.</td>\n</tr>\n<tr>\n<td>req_digi_bnpl_540</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — last 540 days.</td>\n</tr>\n<tr>\n<td>req_digi_bnpl_720</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Digital BNPL — last 720 days.</td>\n</tr>\n</tbody>\n</table>\n</div><p>POS (Point of Sale) Request Counters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>req_pos_1</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — 1 day.</td>\n</tr>\n<tr>\n<td>req_pos_7</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — last 7 days.</td>\n</tr>\n<tr>\n<td>req_pos_14</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — last 14 days.</td>\n</tr>\n<tr>\n<td>req_pos_21</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — last 21 days.</td>\n</tr>\n<tr>\n<td>req_pos_28</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — last 28 days.</td>\n</tr>\n<tr>\n<td>req_pos_35</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — last 35 days.</td>\n</tr>\n<tr>\n<td>req_pos_45</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — last 45 days.</td>\n</tr>\n<tr>\n<td>req_pos_60</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — last 60 days.</td>\n</tr>\n<tr>\n<td>req_pos_90</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — last 90 days.</td>\n</tr>\n<tr>\n<td>req_pos_180</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — last 180 days.</td>\n</tr>\n<tr>\n<td>req_pos_360</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — last 360 days.</td>\n</tr>\n<tr>\n<td>req_pos_540</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — last 540 days.</td>\n</tr>\n<tr>\n<td>req_pos_720</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for Point of Sale financing — last 720 days.</td>\n</tr>\n</tbody>\n</table>\n</div><p>Auto Loan Request Counters</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property Name</th>\n<th>Property Type</th>\n<th>Is Mandatory?</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>req_auto_1</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — 1 day.</td>\n</tr>\n<tr>\n<td>req_auto_7</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — last 7 days.</td>\n</tr>\n<tr>\n<td>req_auto_14</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — last 14 days.</td>\n</tr>\n<tr>\n<td>req_auto_21</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — last 21 days.</td>\n</tr>\n<tr>\n<td>req_auto_28</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — last 28 days.</td>\n</tr>\n<tr>\n<td>req_auto_35</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — last 35 days.</td>\n</tr>\n<tr>\n<td>req_auto_45</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — last 45 days.</td>\n</tr>\n<tr>\n<td>req_auto_60</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — last 60 days.</td>\n</tr>\n<tr>\n<td>req_auto_90</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — last 90 days.</td>\n</tr>\n<tr>\n<td>req_auto_180</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — last 180 days.</td>\n</tr>\n<tr>\n<td>req_auto_360</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — last 360 days.</td>\n</tr>\n<tr>\n<td>req_auto_540</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — last 540 days.</td>\n</tr>\n<tr>\n<td>req_auto_720</td>\n<td><code>integer</code></td>\n<td>Yes</td>\n<td>Number of requests for auto loans — last 720 days.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"b9be32bf-5bee-4be8-bb13-66c268bfb7b7"},{"name":"KYCCheck API","item":[{"name":"Example","item":[{"name":"KYCCheck","event":[{"listen":"test","script":{"id":"44d124a2-88d4-4ba5-b854-cfbac3b6500d","exec":["// Parse the response JSON\r","var responseJson = pm.response.json();\r","\r","// Test case for requestid\r","pm.test(\"Request ID is present\", function () {\r","    pm.expect(responseJson).to.have.property(\"requestid\");\r","});\r","\r","// Test case for transactionid\r","pm.test(\"Transaction ID is present\", function () {\r","    pm.expect(responseJson).to.have.property(\"transactionid\");\r","});\r","\r","// Test case for code\r","pm.test(\"Response code is correct\", function () {\r","    pm.expect(responseJson.code).to.eql(\"0000\");\r","});\r","\r","// Test case for result\r","pm.test(\"Result is 'ok'\", function () {\r","    pm.expect(responseJson.result).to.eql(\"ok\");\r","});\r","\r","// Test case for scores\r","pm.test(\"Scores are present\", function () {\r","    pm.expect(responseJson.scores).to.have.property(\"901\");\r","    var score901 = responseJson.scores[\"901\"];\r","    pm.expect(score901).to.be.an('array');\r","    pm.expect(score901.length).to.eql(2);\r","    pm.expect(score901[0]).to.be.a('string');\r","    \r","    var attributes = score901[1];\r","    pm.expect(attributes).to.be.an('object');\r","    \r","    // Validate that some attributes exist, but don't enforce specific values\r","    pm.expect(attributes).to.have.property('first_name');\r","    pm.expect(attributes).to.have.property('middle_name');\r","    pm.expect(attributes).to.have.property('last_name');\r","    pm.expect(attributes).to.have.property('dob');\r","    pm.expect(attributes).to.have.property('id_number');\r","    pm.expect(attributes).to.have.property('address1');\r","    pm.expect(attributes).to.have.property('address2');\r","    pm.expect(attributes).to.have.property('city');\r","    pm.expect(attributes).to.have.property('state');\r","    pm.expect(attributes).to.have.property('zip');\r","});\r",""],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"d7c7452b-9df9-4726-82d5-f6849206bb3e","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript"}}],"id":"f67af517-b555-46c5-8b49-c229b0fb8a28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"personal_data\": {\r\n        \"first_name\": \"SPHINX\",\r\n        \"middle_name\": \"GODOY\",\r\n        \"last_name\": \"LUSTRO\",\r\n        \"dob\": \"1979-08-15\",\r\n        \"id_number\": \"N2508009011\",\r\n        \"id_type\": \"DL\",\r\n        \"address1\": \"B34 L12 PH 3 HDLC II NOVALICHES KALOOKAN CITY 1400\",\r\n        \"address2\": \"LOT 8 BLOCK 38 UNIT R MARANG ST AMPARO SUBDIVISION CALOOCAN CITY 1400\",\r\n        \"city\": \"\",\r\n        \"state\": \"\",\r\n        \"zip\": \"\"\r\n    },\r\n    \"productids\": \"901;\",\r\n    \"requestid\": \"16260869\"\r\n}\r\n"},"url":"{{baseURL}}//finscore/api/v2/sgcheck","urlObject":{"path":["","finscore","api","v2","sgcheck"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"5f20e1b0-d295-4e8a-9395-120428c4f905","name":"KYCCheck","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"access_token","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"personal_data\": {\r\n        \"first_name\": \"SPHINX\",\r\n        \"middle_name\": \"GODOY\",\r\n        \"last_name\": \"LUSTRO\",\r\n        \"dob\": \"1979-08-15\",\r\n        \"id_number\": \"N2508009011\",\r\n        \"id_type\": \"DL\",\r\n        \"address1\": \"B34 L12 PH 3 HDLC II NOVALICHES KALOOKAN CITY 1400\",\r\n        \"address2\": \"LOT 8 BLOCK 38 UNIT R MARANG ST AMPARO SUBDIVISION CALOOCAN CITY 1400\",\r\n        \"city\": \"\",\r\n        \"state\": \"\",\r\n        \"zip\": \"\"\r\n    },\r\n    \"productids\": \"901;\",\r\n    \"requestid\": \"16260869\"\r\n}\r\n"},"url":"{{baseURL}}//finscore/api/v2/sgcheck"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sat, 27 Jan 2024 05:05:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"361"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestid\": \"16260869\",\n    \"transactionid\": \"6471c58fbae143bf951f516e703a0685\",\n    \"code\": \"0000\",\n    \"result\": \"ok\",\n    \"scores\": {\n        \"901\": [\n            \"result\",\n            {\n                \"first_name\": \"Match\",\n                \"middle_name\": \"Match\",\n                \"last_name\": \"Match\",\n                \"dob\": \"Match\",\n                \"id_number\": \"No Data\",\n                \"address1\": \"No Match\",\n                \"address2\": \"No Match\",\n                \"city\": \"No Input\",\n                \"state\": \"No Input\",\n                \"zip\": \"No Input\"\n            }\n        ]\n    }\n}"}],"_postman_id":"f67af517-b555-46c5-8b49-c229b0fb8a28"}],"id":"2cfef0ff-4cca-4c23-bc08-6ddd8fffff95","event":[{"listen":"prerequest","script":{"id":"02e0b912-8d33-460d-be9c-68daee9ab4c3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"aad6f8d3-746f-4200-b743-38413c5a2905","type":"text/javascript","exec":[""]}}],"_postman_id":"2cfef0ff-4cca-4c23-bc08-6ddd8fffff95","description":""}],"id":"987ce357-bba3-41f3-a831-18782b7bf3c1","description":"<p>KYCCheck provides the KYC verification of a user.</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>To access the API, you need a valid access token. Include the access token in the request headers as follows:</p>\n<p><code>Authorization: Bearer access_token</code></p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<p>The API endpoint for accessing the KYC verification is:</p>\n<p><code>https://sandbox.iscore.io/finscore/api/v2/sgcheck</code></p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<p>The request should include the following parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Description</th>\n<th>Type</th>\n<th>Mandatory</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>personal_data</td>\n<td>Container for personal data fields</td>\n<td>Object</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>First name of the individual</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>middle_name</td>\n<td>Middle name of the individual (assumed)</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>Last name of the individual</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>dob</td>\n<td>Date of birth of the individual (assumed)</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>id_number</td>\n<td>Identification number of the individual</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>id_type</td>\n<td>Type of identification number (e.g., TIN)</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>address1</td>\n<td>First line of the address</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>address2</td>\n<td>Second line of the address (assumed)</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>city</td>\n<td>City of residence (assumed)</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>state</td>\n<td>State or region code</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>ZIP code (assumed)</td>\n<td>String</td>\n<td>No</td>\n</tr>\n<tr>\n<td>productids</td>\n<td>List of product IDs. For KYC its 901.</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>requestid</td>\n<td>Unique identifier for the request</td>\n<td>String</td>\n<td>Yes</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"response-parameters\">Response Parameters</h2>\n<p>The response will be in JSON format and will include the following fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property name</th>\n<th>Property type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>code</td>\n<td>string</td>\n<td>Yes</td>\n<td>Operation code</td>\n</tr>\n<tr>\n<td>requestid</td>\n<td>string</td>\n<td>Yes</td>\n<td>Requestor unique identifier</td>\n</tr>\n<tr>\n<td>result</td>\n<td>string</td>\n<td>Yes</td>\n<td>Operation result</td>\n</tr>\n<tr>\n<td>productids</td>\n<td>string</td>\n<td>Yes</td>\n<td>Semicolon separated string scoring product identifiers</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td>➔ 901</td>\n</tr>\n<tr>\n<td>address1</td>\n<td>string</td>\n<td>No</td>\n<td>Match/No Match or No data regarding the address</td>\n</tr>\n<tr>\n<td>address2</td>\n<td>string</td>\n<td>No</td>\n<td>Match/No Match or No data regarding the address</td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td>No</td>\n<td>Match/No Match or No data regarding the city</td>\n</tr>\n<tr>\n<td>dob</td>\n<td>string</td>\n<td>Yes</td>\n<td>Match/No Match or No data regarding Date of birth</td>\n</tr>\n<tr>\n<td>first_name</td>\n<td>string</td>\n<td>Yes</td>\n<td>Match/No Match or No data regarding first name</td>\n</tr>\n<tr>\n<td>id_number</td>\n<td>string</td>\n<td>No</td>\n<td>Match/No Match or No data regarding ID number</td>\n</tr>\n<tr>\n<td>last_name</td>\n<td>string</td>\n<td>Yes</td>\n<td>Match/No Match or No data regarding last name</td>\n</tr>\n<tr>\n<td>middle_name</td>\n<td>string</td>\n<td>No</td>\n<td>Match/No Match or No data regarding middle name</td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td>No</td>\n<td>Match/No Match or No data regarding the state</td>\n</tr>\n<tr>\n<td>zip</td>\n<td>string</td>\n<td>No</td>\n<td>Match/No Match or No data regarding the postal code</td>\n</tr>\n<tr>\n<td>transactionid</td>\n<td>string</td>\n<td>Yes</td>\n<td>Unique system identifier</td>\n</tr>\n</tbody>\n</table>\n</div><p>Result and code can have the below given values in the response.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Result</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0000</td>\n<td>ok</td>\n<td>Successful operation</td>\n</tr>\n<tr>\n<td>1111</td>\n<td>error</td>\n<td>General error</td>\n</tr>\n<tr>\n<td>1000</td>\n<td>ok</td>\n<td>Score not available</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"987ce357-bba3-41f3-a831-18782b7bf3c1"},{"name":"CreditFactors API","item":[{"name":"Example","item":[{"name":"CreditFactors","event":[{"listen":"test","script":{"id":"44d124a2-88d4-4ba5-b854-cfbac3b6500d","exec":["pm.test(\"Status code is 200 OK\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r","var jsonData = pm.response.json();\r","\r","pm.test(\"Check requestid\", function () {\r","    pm.expect(jsonData.requestid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"Check transactionid\", function () {\r","    pm.expect(jsonData.transactionid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"Check code\", function () {\r","    pm.expect(jsonData.code).to.eql(\"0000\");\r","});\r","\r","pm.test(\"Check result\", function () {\r","    pm.expect(jsonData.result).to.eql(\"ok\");\r","});\r","\r","pm.test(\"Check scores\", function () {\r","    pm.expect(jsonData.scores[\"10\"]).to.be.an(\"array\");\r","    pm.expect(jsonData.scores[\"10\"][0][0]).to.be.a(\"string\");\r","    pm.expect(jsonData.scores[\"10\"][0][1]).to.be.a(\"number\");\r","    pm.expect(jsonData.scores[\"10\"][1][0]).to.be.a(\"string\");\r","    pm.expect(jsonData.scores[\"10\"][1][1]).to.be.a(\"number\");\r","});\r","\r","pm.test(\"Check customer_profile\", function () {\r","    pm.expect(jsonData.customer_profile).to.be.an(\"array\");\r","    jsonData.customer_profile.forEach(function(profile) {\r","        pm.expect(profile[0]).to.be.a(\"string\");\r","        pm.expect(profile[1]).to.be.a(\"string\");\r","    });\r","});\r",""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"d7c7452b-9df9-4726-82d5-f6849206bb3e","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript","packages":{}}}],"id":"bc25d2fd-6f0e-4979-bc52-234a552e22de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"requestid\":\"123456\",\r\n    \"mobilenumber\":\"639138301638\",\r\n    \"productids\":\"40;\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score","urlObject":{"path":["","score","api","v2","score"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"c948e394-588d-4c45-96fd-643fa8fd2f8c","name":"CreditFactors","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"access_token","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"requestid\":\"c869390f-df23-44ea-8188-65000b5580af\",\r\n    \"mobilenumber\":\"639193802688\",\r\n    \"productids\":\"10;40;\"\r\n}"},"url":"{{baseURL}}//score/api/v2/score"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 30 Aug 2023 07:36:40 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"385"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestid\": \"c89c0cb8-1c68-4738-93be-96360131ca8e\",\n    \"transactionid\": \"66c1649de0df47b6a9c52743b66b85cf\",\n    \"code\": \"0000\",\n    \"result\": \"ok\",\n    \"scores\": {\n        \"10\": [\n            [\n                \"score\",\n                573\n            ],\n            [\n                \"band\",\n                9\n            ]\n        ]\n    },\n    \"customer_profile\": [\n        [\n            \"TimeWithSmart\",\n            \"Loyal\"\n        ],\n        [\n            \"SubscriptionType\",\n            \"Smart Prepaid\"\n        ],\n        [\n            \"SmsUsage\",\n            \"Lowest\"\n        ],\n        [\n            \"TopUp\",\n            \"Low\"\n        ],\n        [\n            \"MobileDataUsage\",\n            \"Mid\"\n        ],\n        [\n            \"AvgDailyActivities\",\n            \"Lowest\"\n        ]\n    ]\n}"}],"_postman_id":"bc25d2fd-6f0e-4979-bc52-234a552e22de"}],"id":"a6878f13-c3c2-4b83-9c49-66eb98615de4","event":[{"listen":"prerequest","script":{"id":"02e0b912-8d33-460d-be9c-68daee9ab4c3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"aad6f8d3-746f-4200-b743-38413c5a2905","type":"text/javascript","exec":[""]}}],"_postman_id":"a6878f13-c3c2-4b83-9c49-66eb98615de4","description":""}],"id":"40d1c2fa-795e-47ea-b174-9ec6223b6688","description":"<p>CreditFactors is a product that consists of several grouped key Telco Metrics. The product provides valuable insights to the partner without revealing the actual sensitive customer data. This API is currently available only for SMART mobile numbers.</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>To access the API, you need a valid access token. Include the access token in the request headers as follows:</p>\n<p><code>Authorization: Bearer access_token</code></p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<p>The API endpoint for accessing the CreditFactors Score is:</p>\n<p><code>https://sandbox.iscore.io/score/api/v2/score</code></p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<p>The request should include the following parameters:</p>\n<h3 id=\"mobilenumber-optional\"><code>mobilenumber</code> (Optional)</h3>\n<p>The <code>mobilenumber</code> parameter should contain the number of the client for whom you want to generate the CreditFactors score.</p>\n<h3 id=\"emailid-optional\"><code>emailID</code> (Optional)</h3>\n<p>The <code>emailID</code> parameter should contain the email ID of the client for whom you want to generate the CreditFactors score.</p>\n<h3 id=\"productids-required\"><code>productids</code> (Required)</h3>\n<p>The <code>productids</code> parameter is a semicolon-separated list of product codes that you want to use for the address check. For CreditFactors API request, the productids should be \"40;\".</p>\n<h3 id=\"requestid-required\"><code>requestid</code> (Required)</h3>\n<p>The <code>requestid</code> parameter is an identifier for the API request. It should be a unique value for each API call.</p>\n<h2 id=\"response-parameters\">Response Parameters</h2>\n<p>The API response will contain the calculated telco scores for the mobile number sent in the request. The response will be in JSON format and will include the following fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Property name</strong></th>\n<th><strong>Property type</strong></th>\n<th><strong>Is mandatory ?</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>requestid</td>\n<td>string</td>\n<td>yes</td>\n<td>Requestor unique identifier</td>\n</tr>\n<tr>\n<td>scores</td>\n<td>array</td>\n<td>yes</td>\n<td>List of scores</td>\n</tr>\n<tr>\n<td>productID 60</td>\n<td>string</td>\n<td>yes</td>\n<td>Score result</td>\n</tr>\n<tr>\n<td>- account_detials - &gt;email</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>flickr</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>foursquare</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td>(null possible result)</td>\n</tr>\n<tr>\n<td>github</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>google</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>gravatar</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>instagram</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>lastfm</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>linkedin</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>microsoft</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>myspace</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>pinterest</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null possible result)</td>\n</tr>\n<tr>\n<td>skype</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>spotify</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>tumblr</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>vimeo</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>weibo</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null possible result)</td>\n</tr>\n<tr>\n<td>yahoo</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null possible result)</td>\n</tr>\n<tr>\n<td>twitter</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null possible result)</td>\n</tr>\n<tr>\n<td>linkedin_details</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>company</td>\n<td>string</td>\n<td>no</td>\n<td>Client company</td>\n</tr>\n<tr>\n<td>location</td>\n<td>string</td>\n<td>no</td>\n<td>Client location</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>no</td>\n<td>Client Name</td>\n</tr>\n<tr>\n<td>photo</td>\n<td>string</td>\n<td>no</td>\n<td>URL photo</td>\n</tr>\n<tr>\n<td>title</td>\n<td>string</td>\n<td>no</td>\n<td>Title</td>\n</tr>\n<tr>\n<td>twitter</td>\n<td>string</td>\n<td>no</td>\n<td>Twitter account</td>\n</tr>\n<tr>\n<td>url</td>\n<td>string</td>\n<td>no</td>\n<td>LinkedIn account url</td>\n</tr>\n<tr>\n<td>website</td>\n<td>string</td>\n<td>no</td>\n<td>Linkedin website</td>\n</tr>\n<tr>\n<td>facebook_details</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>name</td>\n<td></td>\n<td></td>\n<td>Name</td>\n</tr>\n<tr>\n<td>photo</td>\n<td></td>\n<td></td>\n<td>url to Photo</td>\n</tr>\n<tr>\n<td>url</td>\n<td></td>\n<td></td>\n<td>url to account</td>\n</tr>\n<tr>\n<td>skype_details</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>age</td>\n<td>numeric</td>\n<td>no</td>\n<td>Age</td>\n</tr>\n<tr>\n<td>bio</td>\n<td>string</td>\n<td>no</td>\n<td>Short description</td>\n</tr>\n<tr>\n<td>city</td>\n<td>string</td>\n<td>no</td>\n<td>City</td>\n</tr>\n<tr>\n<td>country</td>\n<td>string</td>\n<td>no</td>\n<td>Country</td>\n</tr>\n<tr>\n<td>gender</td>\n<td>numeric</td>\n<td>no</td>\n<td>0 = female, 1 = male</td>\n</tr>\n<tr>\n<td>language</td>\n<td>string</td>\n<td>no</td>\n<td>Language</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>no</td>\n<td>Name</td>\n</tr>\n<tr>\n<td>photo</td>\n<td>string</td>\n<td>no</td>\n<td>url to photo</td>\n</tr>\n<tr>\n<td>state</td>\n<td>string</td>\n<td>no</td>\n<td>status</td>\n</tr>\n<tr>\n<td>account_detials - &gt;phone</td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>facebook</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>google</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>instagram</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>telegram</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>telegram_picture</td>\n<td>string</td>\n<td>no</td>\n<td>Base64 encoded picture</td>\n</tr>\n<tr>\n<td>telegram_last_seen</td>\n<td>date</td>\n<td>no</td>\n<td>timestamp</td>\n</tr>\n<tr>\n<td>twitter</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>viber</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>viber_last_seen</td>\n<td>datetime</td>\n<td>no</td>\n<td>timestamp</td>\n</tr>\n<tr>\n<td>viber_picture</td>\n<td>string</td>\n<td>no</td>\n<td>Base64 encoded picture</td>\n</tr>\n<tr>\n<td>whatsapp</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>whatsapp_last_seen</td>\n<td>datetime</td>\n<td>no</td>\n<td>timestamp</td>\n</tr>\n<tr>\n<td>whatsapp_picture</td>\n<td>string</td>\n<td>no</td>\n<td>Base64 encoded picture</td>\n</tr>\n<tr>\n<td>yahoo</td>\n<td>bool</td>\n<td>no</td>\n<td>Social network account (null is a possible result)</td>\n</tr>\n<tr>\n<td>email_score</td>\n<td>numeric</td>\n<td>yes</td>\n<td>email score result</td>\n</tr>\n<tr>\n<td>phone_score</td>\n<td>numeric</td>\n<td>yes</td>\n<td>Phone number score result</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>code</td>\n<td>string</td>\n<td>yes</td>\n<td>Operation code</td>\n</tr>\n<tr>\n<td>result</td>\n<td>string</td>\n<td>yes</td>\n<td>Operation result</td>\n</tr>\n<tr>\n<td>transactionid</td>\n<td>string</td>\n<td>yes</td>\n<td>Unique system  <br />identifier</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Result codes</strong></p>\n<p>Result and code can have the below given values in the response.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Code</th>\n<th>Result</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0000</td>\n<td>ok</td>\n<td>Successful operation</td>\n</tr>\n<tr>\n<td>1111</td>\n<td>error</td>\n<td>General error</td>\n</tr>\n<tr>\n<td>1000</td>\n<td>ok</td>\n<td>Score not available</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"40d1c2fa-795e-47ea-b174-9ec6223b6688"},{"name":"SIMStatusCheckAPI","item":[{"name":"Positive Test Cases","item":[{"name":"SIM Verification - SMART","event":[{"listen":"prerequest","script":{"id":"3cdfd2a7-26f7-442a-9c90-208676505e3f","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"fab2d2ee-ff62-4b60-9085-bf2b2e91effd","exec":["pm.test(\"Status code is 200\", () => {\r","    pm.response.to.have.status(200);\r","});\r","\r","// Parse the response JSON\r","const responseJson = pm.response.json();\r"," \r","\r","pm.test(\"Response has requestid\", () => {\r","    pm.expect(responseJson).to.have.property(\"requestid\");\r","});\r","\r","pm.test(\"Response has transactionid\", () => {\r","    pm.expect(responseJson).to.have.property(\"transactionid\");\r","});\r","\r","pm.test(\"Response has code\", () => {\r","    pm.expect(responseJson).to.have.property(\"code\");\r","});\r","\r","pm.test(\"Response has result\", () => {\r","    pm.expect(responseJson).to.have.property(\"result\");\r","});\r","\r","pm.test(\"Response has scores\", () => {\r","    pm.expect(responseJson).to.have.property(\"scores\");\r","});\r","\r","// Test the values of specific fields\r","pm.test(\"requestid is of type string\", () => {\r","    pm.expect(responseJson.requestid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"transactionid is of type string\", () => {\r","    pm.expect(responseJson.transactionid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"code is '0000'\", () => {\r","    pm.expect(responseJson.code).to.equal(\"0000\");\r","});\r","\r","pm.test(\"result is 'ok'\", () => {\r","    pm.expect(responseJson.result).to.equal(\"ok\");\r","});\r"," \r","\r","// Parse the request body string to JSON\r","const requestBody = JSON.parse(pm.request.body);\r"," \r","\r","pm.test(\"scores is an object\", () => {\r","    pm.expect(responseJson.scores).to.be.an(\"object\");\r","});\r","\r","// Check each dynamic product code and its values in the \"scores\" object\r","if (responseJson.scores) {\r","    const scoresProductCodes = Object.keys(responseJson.scores);\r","    scoresProductCodes.forEach((productCode) => {\r","        if( productCode == 'TP' ){\r","             pm.test(`scores for product code ${productCode} is an array with valid values`, () => {\r","                pm.expect(responseJson.scores[productCode]['tenure']).to.be.a(\"string\");\r","                pm.expect(responseJson.scores[productCode]['subscription_type']).to.be.a(\"string\");\r","                pm.expect(responseJson.scores[productCode]['activity_flag']).to.be.a(\"string\");\r","            });\r","        }\r","\r","        if( productCode == 'TF' ){\r","            pm.test(`scores for product code ${productCode} has correct value`, () => {\r","                pm.expect(responseJson.scores[productCode]).to.be.a(\"string\");\r","            });\r","        }\r","       \r","    });\r","}"],"type":"text/javascript","packages":{}}}],"id":"0f55198a-f4b5-498c-81ba-d1457a1b075a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639198307883\",\r\n    \"TF_date\": \"2023-01-01\",\r\n    \"productids\": \"TP;TF;\",\r\n    \"requestid\":\"338791112\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}//score/api/v2/score","urlObject":{"path":["","score","api","v2","score"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f55198a-f4b5-498c-81ba-d1457a1b075a"},{"name":"SIM Verification GLOBE TFTP","event":[{"listen":"prerequest","script":{"id":"3cdfd2a7-26f7-442a-9c90-208676505e3f","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript"}},{"listen":"test","script":{"id":"fab2d2ee-ff62-4b60-9085-bf2b2e91effd","exec":["pm.test(\"Status code is 200\", () => {\r","    pm.response.to.have.status(200);\r","});\r","\r","// Parse the response JSON\r","const responseJson = pm.response.json();\r"," \r","\r","pm.test(\"Response has requestid\", () => {\r","    pm.expect(responseJson).to.have.property(\"requestid\");\r","});\r","\r","pm.test(\"Response has transactionid\", () => {\r","    pm.expect(responseJson).to.have.property(\"transactionid\");\r","});\r","\r","pm.test(\"Response has code\", () => {\r","    pm.expect(responseJson).to.have.property(\"code\");\r","});\r","\r","pm.test(\"Response has result\", () => {\r","    pm.expect(responseJson).to.have.property(\"result\");\r","});\r","\r","pm.test(\"Response has scores\", () => {\r","    pm.expect(responseJson).to.have.property(\"scores\");\r","});\r","\r","// Test the values of specific fields\r","pm.test(\"requestid is of type string\", () => {\r","    pm.expect(responseJson.requestid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"transactionid is of type string\", () => {\r","    pm.expect(responseJson.transactionid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"code is '0000'\", () => {\r","    pm.expect(responseJson.code).to.equal(\"0000\");\r","});\r","\r","pm.test(\"result is 'ok'\", () => {\r","    pm.expect(responseJson.result).to.equal(\"ok\");\r","});\r"," \r","\r","// Parse the request body string to JSON\r","const requestBody = JSON.parse(pm.request.body);\r"," \r","\r","pm.test(\"scores is an object\", () => {\r","    pm.expect(responseJson.scores).to.be.an(\"object\");\r","});\r","\r","// Check each dynamic product code and its values in the \"scores\" object\r","if (responseJson.scores) {\r","    const scoresProductCodes = Object.keys(responseJson.scores);\r","    scoresProductCodes.forEach((productCode) => {\r","        if( productCode == 'TP' ){\r","             pm.test(`scores for product code ${productCode} is an array with valid values`, () => {\r","                pm.expect(responseJson.scores[productCode]['tenure']).to.be.a(\"string\");\r","                pm.expect(responseJson.scores[productCode]['subscription_type']).to.be.a(\"string\");\r","                pm.expect(responseJson.scores[productCode]['activity_flag']).to.be.a(\"string\");\r","            });\r","        }\r","\r","        if( productCode == 'TF' ){\r","            pm.test(`scores for product code ${productCode} has correct value`, () => {\r","                pm.expect(responseJson.scores[productCode]).to.be.a(\"string\");\r","            });\r","        }\r","       \r","    });\r","}"],"type":"text/javascript"}}],"id":"35e645f4-6aa5-47b2-b6b3-018a9ea55394","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639177952092\",\r\n    \"TF_date\": \"2023-01-01\",\r\n    \"productids\": \"TFTP;\",\r\n    \"requestid\":\"456474fgf237f\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}//score/api/v2/score","urlObject":{"path":["","score","api","v2","score"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"4a94b38a-714b-4efe-8e11-f92e81b65abd","name":"SIM Verification GLOBE TFTP","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639177952092\",\r\n    \"TF_date\": \"2023-01-01\",\r\n    \"productids\": \"TFTP;\",\r\n    \"requestid\":\"456474fgf237f\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}//score/api/v2/score"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sat, 27 Jan 2024 04:32:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"224"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"requestid\": \"456474fgf237f\",\n    \"transactionid\": \"8be0f7ed08e74573a462222dcd78c45e\",\n    \"code\": \"0000\",\n    \"result\": \"ok\",\n    \"scores\": {\n        \"TP\": {\n            \"tenure\": \"121+ months\",\n            \"subscription_type\": \"NO\",\n            \"activity_flag\": \"YES\"\n        },\n        \"TF\": \"NO\"\n    }\n}"}],"_postman_id":"35e645f4-6aa5-47b2-b6b3-018a9ea55394"},{"name":"Telco Score + SIM Verification - SMART","event":[{"listen":"prerequest","script":{"id":"3cdfd2a7-26f7-442a-9c90-208676505e3f","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript","packages":{}}},{"listen":"test","script":{"id":"fab2d2ee-ff62-4b60-9085-bf2b2e91effd","exec":["pm.test(\"Status code is 200\", () => {\r","    pm.response.to.have.status(200);\r","});\r","\r","// Parse the response JSON\r","const responseJson = pm.response.json();\r"," \r","\r","pm.test(\"Response has requestid\", () => {\r","    pm.expect(responseJson).to.have.property(\"requestid\");\r","});\r","\r","pm.test(\"Response has transactionid\", () => {\r","    pm.expect(responseJson).to.have.property(\"transactionid\");\r","});\r","\r","pm.test(\"Response has code\", () => {\r","    pm.expect(responseJson).to.have.property(\"code\");\r","});\r","\r","pm.test(\"Response has result\", () => {\r","    pm.expect(responseJson).to.have.property(\"result\");\r","});\r","\r","pm.test(\"Response has scores\", () => {\r","    pm.expect(responseJson).to.have.property(\"scores\");\r","});\r","\r","// Test the values of specific fields\r","pm.test(\"requestid is of type string\", () => {\r","    pm.expect(responseJson.requestid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"transactionid is of type string\", () => {\r","    pm.expect(responseJson.transactionid).to.be.a(\"string\");\r","});\r","\r","pm.test(\"code is '0000'\", () => {\r","    pm.expect(responseJson.code).to.equal(\"0000\");\r","});\r","\r","pm.test(\"result is 'ok'\", () => {\r","    pm.expect(responseJson.result).to.equal(\"ok\");\r","});\r"," \r","\r","// Parse the request body string to JSON\r","const requestBody = JSON.parse(pm.request.body);\r"," \r","\r","pm.test(\"scores is an object\", () => {\r","    pm.expect(responseJson.scores).to.be.an(\"object\");\r","});\r","\r","// Check each dynamic product code and its values in the \"scores\" object\r","if (responseJson.scores) {\r","    const scoresProductCodes = Object.keys(responseJson.scores);\r","    scoresProductCodes.forEach((productCode) => {\r","        if( productCode == 'TP' ){\r","             pm.test(`scores for product code ${productCode} is an array with valid values`, () => {\r","                pm.expect(responseJson.scores[productCode]['tenure']).to.be.a(\"string\");\r","                pm.expect(responseJson.scores[productCode]['subscription_type']).to.be.a(\"string\");\r","                pm.expect(responseJson.scores[productCode]['activity_flag']).to.be.a(\"string\");\r","            });\r","        }\r","\r","        if( productCode == 'TF' ){\r","            pm.test(`scores for product code ${productCode} has correct value`, () => {\r","                pm.expect(responseJson.scores[productCode]).to.be.a(\"string\");\r","            });\r","        }\r","       \r","    });\r","}"],"type":"text/javascript","packages":{}}}],"id":"2bf53022-765e-4c1f-896b-c7659a3917fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639198307883\",\r\n    \"TF_date\": \"2023-01-01\",\r\n    \"productids\": \"G;TP;TF;\",\r\n    \"requestid\":\"456474fgf237f\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}//score/api/v2/score","urlObject":{"path":["","score","api","v2","score"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2bf53022-765e-4c1f-896b-c7659a3917fc"}],"id":"83229ad2-380f-4857-b994-29fd83c87207","_postman_id":"83229ad2-380f-4857-b994-29fd83c87207","description":""},{"name":"Negative Test Cases","item":[{"name":"Invalid product ID","event":[{"listen":"test","script":{"exec":["// Test the fields in the response\r","pm.test(\"Status code is 422\", () => {\r","    pm.response.to.have.status(422);\r","});\r","\r","pm.test(\"Code is '1111'\", () => {\r","    pm.expect(pm.response.json().code).to.equal('1111');\r","});\r","\r","pm.test(\"Message is 'productids unknown id in the list'\", () => {\r","    pm.expect(pm.response.json().message).to.equal('productids unknown id in the list');\r","});\r",""],"type":"text/javascript","id":"852ee4f2-ed70-46ab-8025-5881172526ca"}},{"listen":"prerequest","script":{"exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript","id":"b4611e21-a84b-4e58-96db-07463ce7af58"}}],"id":"75c54910-dae8-424c-820c-8f730b9bbe80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639992206091\",\r\n    \"TF_date\": \"2023-01-01\",\r\n    \"productids\": \"xyz\",\r\n    \"requestid\":\"fisncore-qa-dad5e625-e0b0-4ee5-abdc-3f0b7538834a\"\r\n}"},"url":"https://sg-apigw.iscore.io:8443/gen-score/api/v2/score","description":"<p>Request with a non existant Product ID.</p>\n","urlObject":{"protocol":"https","port":"8443","path":["gen-score","api","v2","score"],"host":["sg-apigw","iscore","io"],"query":[],"variable":[]}},"response":[{"id":"38f77bcf-98fb-4ce2-8fff-da331ffaaebc","name":"Invalid product ID","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"access_token","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n  \"mobilenumber\": \"639208748763\",\r\n  \"productids\": \"xyz;\",\r\n  \"requestid\": \"338791112\"\r\n}"},"url":"{{baseURL}}/score/api/v2/score"},"status":"UNPROCESSABLE ENTITY","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 06 Aug 2023 10:26:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"65"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"1111\",\n    \"message\": \"productids unknown id in the list\"\n}"}],"_postman_id":"75c54910-dae8-424c-820c-8f730b9bbe80"},{"name":"Null Request ID","event":[{"listen":"test","script":{"exec":["// Test the fields in the response\r","pm.test(\"Status code is 422\", () => {\r","    pm.response.to.have.status(422);\r","});\r","\r","pm.test(\"Code is '1111'\", () => {\r","    pm.expect(pm.response.json().code).to.equal('1111');\r","});\r","\r","pm.test(\"Message is 'requestid not found'\", () => {\r","    pm.expect(pm.response.json().message).to.equal('requestid not found');\r","});\r",""],"type":"text/javascript","id":"e9271776-fc75-4447-9105-4b2ec6a05baf"}},{"listen":"prerequest","script":{"exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript","id":"15ab29c0-dddf-4054-a35a-100f9b05cafd"}}],"id":"59165eeb-f095-469e-817f-7e23415e2b09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639992206091\",\r\n    \"TF_date\": \"2023-01-01\",\r\n    \"productids\": \"TP;TF;\",\r\n    \"requestid\":\" \"\r\n}"},"url":"https://sg-apigw.iscore.io:8443/gen-score/api/v2/score","description":"<p>Any value, including null, is accepted for Request ID.</p>\n","urlObject":{"protocol":"https","port":"8443","path":["gen-score","api","v2","score"],"host":["sg-apigw","iscore","io"],"query":[],"variable":[]}},"response":[{"id":"246e0b1d-8291-401a-a162-68d5829ae27c","name":"Null Request ID","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"access_token","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n  \"mobilenumber\": \"639208748763\",\r\n  \"productids\": \"10;\",\r\n  \"requestid\": \"\"\r\n}"},"url":"{{baseURL}}/score/api/v2/score"},"status":"UNPROCESSABLE ENTITY","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Tue, 08 Aug 2023 09:35:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"51"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"1111\",\n    \"message\": \"requestid not found\"\n}"}],"_postman_id":"59165eeb-f095-469e-817f-7e23415e2b09"},{"name":"Null product ID","event":[{"listen":"prerequest","script":{"id":"3cdfd2a7-26f7-442a-9c90-208676505e3f","exec":["// Get the value of the \"access-token\" parameter from the environment or global variable\r","const accessToken = pm.environment.get(\"access_token\") || pm.globals.get(\"access_token\");\r","\r","// Check if the access token is available\r","if (accessToken) {\r","    // Set the \"Authorization\" header with the value of the access token\r","    pm.request.headers.add({\r","        key: \"Authorization\",\r","        value: `Bearer ${accessToken}`\r","    });\r","}\r",""],"type":"text/javascript"}},{"listen":"test","script":{"id":"fab2d2ee-ff62-4b60-9085-bf2b2e91effd","exec":["// Test the fields in the response\r","pm.test(\"Status code is 422\", () => {\r","    pm.response.to.have.status(422);\r","});\r","\r","pm.test(\"Code is '1111'\", () => {\r","    pm.expect(pm.response.json().code).to.equal('1111');\r","});\r","\r","pm.test(\"Message is 'productids not found'\", () => {\r","    pm.expect(pm.response.json().message).to.equal('productids not found');\r","});\r",""],"type":"text/javascript"}}],"id":"40b1f03d-7f2b-4fc3-a3a9-4f765a34726d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639283743673\",\r\n    \"TF_date\": \"2023-01-01\",\r\n    \"productids\": \"\",\r\n    \"requestid\":\"338791112\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}//score/api/v2/score","urlObject":{"path":["","score","api","v2","score"],"host":["{{baseURL}}"],"query":[],"variable":[]}},"response":[{"id":"acd4f924-a2f8-4525-9a50-724a23c7f94d","name":"SIM Verification - SMART Copy","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"mobilenumber\": \"639283743673\",\r\n    \"TF_date\": \"2023-01-01\",\r\n    \"productids\": \"\",\r\n    \"requestid\":\"338791112\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseURL}}//score/api/v2/score"},"status":"UNPROCESSABLE ENTITY","code":422,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 10 Jan 2024 12:38:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"52"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"1111\",\n    \"message\": \"productids not found\"\n}"}],"_postman_id":"40b1f03d-7f2b-4fc3-a3a9-4f765a34726d"}],"id":"56ff5e87-1197-419a-9711-12b351c89429","_postman_id":"56ff5e87-1197-419a-9711-12b351c89429","description":""}],"id":"2b2565e5-b145-4411-98ee-972243e1d689","description":"<p>SIMStatusCheckAPI - a revolutionary product that provides real-time verification of SIM card activity. Designed to offers a seamless solution to ensure the status of any SIM card. Available via API, ensuring lightning-fast response time, the user can effortlessly validate if SIM card is active or inactive as well as what is subscription plan.</p>\n<p>Multiple products can be called for Smart. For Globe only TFTP, no teloc score</p>\n<h2 id=\"authentication\">Authentication</h2>\n<p>To access the API, you need a valid access token. Include the access token in the request headers as follows:</p>\n<p><code>Authorization: Bearer access_token</code></p>\n<h2 id=\"endpoint\">Endpoint</h2>\n<p>The API endpoint for accessing the Customer Profile Record Score is:</p>\n<p><code>https://sandbox.iscore.io/score/api/v2/social</code></p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<p>The request should include the following parameters:</p>\n<h3 id=\"mobilenumber-required\"><code>mobilenumber</code> (Required)</h3>\n<p>The <code>mobilenumber</code> parameter should contain the number of the client for whom you want to generate the SIM status check.</p>\n<h3 id=\"tf_date-required\"><code>TF_date</code> (Required)</h3>\n<h3 id=\"productids-required\"><code>productids</code> (Required)</h3>\n<p>The <code>productids</code> parameter is a semicolon-separated list of product codes that you want to use for the address check. For SIMStatusCheckAPI request, the productids should be \"TP;TF;\" for SMART and \"TFTP;\" for Globe mobile numbers.</p>\n<h3 id=\"requestid-required\"><code>requestid</code> (Required)</h3>\n<p>The <code>requestid</code> parameter is an identifier for the API request. It should be a unique value for each API call.</p>\n","_postman_id":"2b2565e5-b145-4411-98ee-972243e1d689"}],"variable":[{"key":"Authorization","value":""},{"key":"access_token","value":""}]}