{"info":{"_postman_id":"fa6df992-d0f3-4065-9917-f41965ee7a58","name":"Bank Validation API","description":"<html><head></head><body><p>Complete API collection for bank account validation services.</p>\n<h2 id=\"features\">Features</h2>\n<ul>\n<li>Validate bank account numbers and account holder names</li>\n<li>Support for 130+ Indonesian banks (BCA, BRI, BNI, BSI, Mandiri, SeaBank, and many more)</li>\n<li>Name masking for privacy protection</li>\n<li>Real-time account verification</li>\n<li>Get list of all available banks</li>\n<li>Flexible bank code input (accepts both \"mandiri\" and \"bank_mandiri\" formats)</li>\n</ul>\n<h2 id=\"authentication\">Authentication</h2>\n<p>All requests require an API key in the <code>x-api-co-id</code> header.</p>\n<h2 id=\"base-url\">Base URL</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://use.api.co.id/validation\n</code></pre><h2 id=\"supported-banks\">Supported Banks</h2>\n<p>We support 130+ Indonesian banks including:</p>\n<ul>\n<li><strong>BCA</strong> (Bank Central Asia) - <code>bca</code> or <code>bank_bca</code></li>\n<li><strong>BRI</strong> (Bank Rakyat Indonesia) - <code>bri</code> or <code>bank_bri</code></li>\n<li><strong>BNI</strong> (Bank Negara Indonesia) - <code>bni</code> or <code>bank_bni</code></li>\n<li><strong>BSI</strong> (Bank Syariah Indonesia) - <code>bsi</code> or <code>bank_bsm</code></li>\n<li><strong>Mandiri</strong> (Bank Mandiri) - <code>mandiri</code> or <code>bank_mandiri</code></li>\n<li><strong>SeaBank</strong> (SeaBank Indonesia) - <code>seabank</code> or <code>bank_kesejahteraan_ekonomi</code></li>\n<li>And 120+ more banks</li>\n</ul>\n<p>Use the <strong>Get Available Banks</strong> endpoint to see the complete list of supported banks.</p>\n<h2 id=\"bank-code-format\">Bank Code Format</h2>\n<p>You can input bank codes in two formats:</p>\n<ul>\n<li><strong>Short format</strong>: <code>mandiri</code>, <code>bca</code>, <code>bri</code> (system automatically adds <code>bank_</code> prefix)</li>\n<li><strong>Full format</strong>: <code>bank_mandiri</code>, <code>bank_bca</code>, <code>bank_bri</code> (used as-is)</li>\n</ul>\n<p>Both formats work the same way. The system will automatically map short codes to full codes.</p>\n<h2 id=\"validation-process\">Validation Process</h2>\n<ol>\n<li>User provides bank code, account number, and account name</li>\n<li>System maps bank code (adds <code>bank_</code> prefix if needed)</li>\n<li>System calls primary external bank validation API with retry logic (up to 2 retries)</li>\n<li>If primary API fails, automatically falls back to secondary API</li>\n<li>If account is found, server returns account holder name</li>\n<li>System performs fuzzy matching between user-provided name and server name</li>\n<li>If match score &gt;= 7.0, validation is successful</li>\n<li>Server name is masked for privacy (first 3 characters + ****)</li>\n</ol>\n<h2 id=\"response-fields\">Response Fields</h2>\n<ul>\n<li><strong>is_valid</strong>: Boolean indicating if account validation passed</li>\n<li><strong>score</strong>: Float value (0.0 to 10.0) representing name match confidence</li>\n<li><strong>name</strong>: Masked account name showing first 3 chars + **** (only if valid, null if invalid)</li>\n<li><strong>message</strong>: Status message describing the validation result</li>\n<li><strong>note</strong>: Additional note (empty string if valid, \"Name was not returned\" if validation failed)</li>\n</ul>\n<h2 id=\"use-cases\">Use Cases</h2>\n<ul>\n<li>Payment gateway account verification</li>\n<li>E-wallet registration</li>\n<li>Financial service onboarding</li>\n<li>KYC (Know Your Customer) compliance</li>\n<li>Account ownership verification</li>\n<li>Fraud prevention</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"50289783","collectionId":"fa6df992-d0f3-4065-9917-f41965ee7a58","publishedId":"2sBXVZpuxM","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-12-26T17:36:01.000Z"},"item":[{"name":"Bank Validation","item":[{"name":"Validate Bank Account","id":"e53f909d-baef-4344-b85b-e274ce9e55af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-co-id","value":"YOUR_API_KEY_HERE","description":"<p>Your API key for authentication</p>\n","type":"text"}],"url":"https://use.api.co.id/validation/bank?bank_code=bank_bri&account_number=110601003647539&account_name=John Doe","description":"<p>Validate a bank account number and account holder name.</p>\n<h3 id=\"example-request\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl --location 'http://localhost:3003/validation/bank?bank_code=bank_bri&amp;account_number=110601003647539&amp;account_name=John%20Doe' \\\n--header 'x-api-co-id: aF2ibmWX683ZxKwMK2svpv3nZDRIduinf2Vsq7HJI1QAGOdJkn'\n</code></pre>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><code>bank_code</code> (required): Bank code identifier<ul>\n<li>Can be short format: <code>mandiri</code>, <code>bca</code>, <code>bri</code>, <code>bni</code>, <code>bsi</code>, <code>seabank</code></li>\n<li>Or full format: <code>bank_mandiri</code>, <code>bank_bca</code>, <code>bank_bri</code>, <code>bank_bni</code>, <code>bank_bsm</code>, <code>bank_kesejahteraan_ekonomi</code></li>\n<li>Use <code>GET /validation/bank/available</code> to see all 130+ supported banks</li>\n</ul>\n</li>\n<li><code>account_number</code> (required): Bank account number to validate</li>\n<li><code>account_name</code> (required): Account holder name to match against bank records</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Returns validation result with:</p>\n<ul>\n<li><strong>is_valid</strong>: Boolean indicating if validation passed</li>\n<li><strong>score</strong>: Name matching score (0.0 to 10.0, &gt;= 7.0 is valid)</li>\n<li><strong>name</strong>: Masked account name showing first 3 chars + **** (only if valid, null if invalid)</li>\n<li><strong>message</strong>: Status message</li>\n<li><strong>note</strong>: Additional note (empty if valid, \"Name was not returned on invalid validation\" if failed)</li>\n</ul>\n<h3 id=\"validation-logic\">Validation Logic</h3>\n<ol>\n<li>System maps bank code (adds <code>bank_</code> prefix if short format is used)</li>\n<li>System calls primary external bank API with retry mechanism (up to 2 retries)</li>\n<li>If primary API fails, automatically falls back to secondary API</li>\n<li>If account is found, performs fuzzy name matching</li>\n<li>Score &gt;= 7.0 indicates successful validation</li>\n<li>Valid names are masked for privacy (e.g., \"Rif**** Eln****\")</li>\n</ol>\n","urlObject":{"path":["validation","bank"],"host":["https://use.api.co.id"],"query":[{"description":{"content":"<p>Bank code - can be short format (mandiri, bca, bri) or full format (bank_mandiri, bank_bca, bank_bri). Use GET /validation/bank/available to see all supported banks.</p>\n","type":"text/plain"},"key":"bank_code","value":"bank_bri"},{"description":{"content":"<p>Bank account number</p>\n","type":"text/plain"},"key":"account_number","value":"110601003647539"},{"description":{"content":"<p>Account holder name to validate</p>\n","type":"text/plain"},"key":"account_name","value":"John Doe"}],"variable":[]}},"response":[{"id":"9952d7f0-ff17-4f90-adfc-6ca31f97e39f","name":"Success","originalRequest":{"method":"GET","header":[{"key":"x-api-co-id","value":"YOUR_API_KEY_HERE","type":"text"}],"url":{"raw":"https://use.api.co.id/validation/bank?bank_code=bank_bri&account_number=110601003647539&account_name=John Doe","host":["https://use.api.co.id"],"path":["validation","bank"],"query":[{"key":"bank_code","value":"bank_bri"},{"key":"account_number","value":"110601003647539"},{"key":"account_name","value":"John Doe"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"is_success\": true,\n    \"message\": \"Success\",\n    \"data\": {\n        \"is_valid\": true,\n        \"score\": 8.5,\n        \"name\": \"Rif**** Eln****\",\n        \"message\": \"Validation successful\",\n        \"note\": \"\"\n    }\n}"}],"_postman_id":"e53f909d-baef-4344-b85b-e274ce9e55af"},{"name":"Get Available Banks","id":"15212457-bc49-4728-b382-fe5e4a763ea1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-co-id","value":"YOUR_API_KEY_HERE","description":"<p>Your API key for authentication</p>\n","type":"text"}],"url":"https://use.api.co.id/validation/bank/available","description":"<p>Get the complete list of all available banks supported by the validation API.</p>\n<h3 id=\"response\">Response</h3>\n<p>Returns a list of all supported banks with:</p>\n<ul>\n<li><strong>banks</strong>: Array of bank objects<ul>\n<li><strong>bank_name</strong>: Full name of the bank (e.g., \"MANDIRI\", \"BCA\", \"BRI\")</li>\n<li><strong>bank_code</strong>: Bank code to use in validation requests (e.g., \"bank_mandiri\", \"bank_bca\", \"bank_bri\")</li>\n</ul>\n</li>\n<li><strong>total</strong>: Total number of supported banks (130+)</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"is_success\": true,\n    \"message\": \"Success\",\n    \"data\": {\n        \"banks\": [\n            {\n                \"bank_name\": \"MANDIRI\",\n                \"bank_code\": \"bank_mandiri\"\n            },\n            {\n                \"bank_name\": \"BCA\",\n                \"bank_code\": \"bank_bca\"\n            },\n            {\n                \"bank_name\": \"BRI\",\n                \"bank_code\": \"bank_bri\"\n            }\n            // ... 130+ more banks\n        ],\n        \"total\": 130\n    }\n}\n</code></pre>\n<h3 id=\"usage\">Usage</h3>\n<p>Use this endpoint to:</p>\n<ul>\n<li>Discover all supported banks</li>\n<li>Get the correct bank code for validation requests</li>\n<li>Build dynamic bank selection dropdowns in your application</li>\n</ul>\n<h3 id=\"bank-code-format\">Bank Code Format</h3>\n<p>You can use either:</p>\n<ul>\n<li><strong>Short format</strong>: Remove <code>bank_</code> prefix (e.g., use <code>mandiri</code> instead of <code>bank_mandiri</code>)</li>\n<li><strong>Full format</strong>: Use the exact <code>bank_code</code> from the response</li>\n</ul>\n<p>Both formats work the same way in validation requests.</p>\n","urlObject":{"path":["validation","bank","available"],"host":["https://use.api.co.id"],"query":[],"variable":[]}},"response":[{"id":"658629e5-6d92-422a-a6b6-7229d3d47883","name":"Success - Available Banks List","originalRequest":{"method":"GET","header":[{"key":"x-api-co-id","value":"YOUR_API_KEY_HERE","type":"text"}],"url":"https://use.api.co.id/validation/bank/available"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"is_success\": true,\n    \"message\": \"Success\",\n    \"data\": {\n        \"banks\": [\n            {\n                \"bank_name\": \"MANDIRI\",\n                \"bank_code\": \"bank_mandiri\"\n            },\n            {\n                \"bank_name\": \"BCA\",\n                \"bank_code\": \"bank_bca\"\n            },\n            {\n                \"bank_name\": \"BRI\",\n                \"bank_code\": \"bank_bri\"\n            },\n            {\n                \"bank_name\": \"BNI\",\n                \"bank_code\": \"bank_bni\"\n            },\n            {\n                \"bank_name\": \"BSI (BANK SYARIAH INDONESIA)\",\n                \"bank_code\": \"bank_bsm\"\n            },\n            {\n                \"bank_name\": \"SEABANK/BANK BKE\",\n                \"bank_code\": \"bank_kesejahteraan_ekonomi\"\n            }\n        ],\n        \"total\": 130\n    }\n}"}],"_postman_id":"15212457-bc49-4728-b382-fe5e4a763ea1"}],"id":"066762b5-2f01-4db5-ab3e-4aafac9874d3","description":"<p>Bank account validation endpoints for verifying account numbers and account holder names. Supports 130+ Indonesian banks with automatic fallback mechanism and flexible bank code input.</p>\n","_postman_id":"066762b5-2f01-4db5-ab3e-4aafac9874d3"}],"variable":[{"key":"base_url","value":"https://use.api.co.id","type":"string","description":"Base URL for the API"},{"key":"api_key","value":"YOUR_API_KEY_HERE","type":"string","description":"Your API key for authentication. Get it from api.dashboard or your database."}]}