{"info":{"_postman_id":"a3ff9496-b31b-4491-9c85-6b6714188f41","name":"Datapunch","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"18935020","collectionId":"a3ff9496-b31b-4491-9c85-6b6714188f41","publishedId":"2sB3QRmmbL","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-12-03T20:45:06.000Z"},"item":[{"name":"BIN Routing","item":[{"name":"Realtime","id":"2dda6868-91fd-41b2-b6d6-9f739a8425a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"bin\": \"601101\",\r\n\t\"amount\": 49.99\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.datapunch.io/v3/transactions/route_transactions","description":"<h2 id=\"route-transactions-endpoint\">Route Transactions Endpoint</h2>\n<p><strong>POST</strong> <code>/v3/transactions/route_transactions</code></p>\n<p>Returns real-time routing recommendations for a transaction based on BIN analysis.</p>\n<h3 id=\"request-parameters\">Request Parameters:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>bin</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>First 6 digits of the credit card number</td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td>number</td>\n<td>Yes</td>\n<td>Transaction amount in decimal format</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\">Response:</h3>\n<p>Returns the merchant ID (gateway accouns) to route the transaction to for this BIN based on historical performance.</p>\n<p><code>{   \"success\": true,   \"message\": \"success\",   \"data\": [   {\"merchantId\": \"17\"}   ],   \"meta\": {   \"timestamp\": \"2025-12-02 20:29:06\"   }   }</code></p>\n","urlObject":{"protocol":"https","path":["v3","transactions","route_transactions"],"host":["api","datapunch","io"],"query":[],"variable":[]}},"response":[{"id":"2791d39e-b7cd-4d49-9fff-592ec7541a6d","name":"Realtime BIN Routing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"bin\": \"601101\",\r\n\t\"amount\": 49.99\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.datapunch.io/v3/transactions/route_transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 03 Dec 2025 03:29:06 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Content-Length","value":"110"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-API-Controller","value":"TRUE"},{"key":"X-Powered-By","value":"PHP/7.4.2"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'nonce-78a375f0615be27170c858bec0788766';"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Content-Encoding","value":"gzip"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=ZruWFruFX%2BskDEacvJahiU0WzRRKthoyoyNYf8JTnUbnFFeoxXQTQhOtM8sMKT8xWQkWAI%2Bui73JOYORLSLtkb9nWzmb22DNvlhCs2Of7kfJiipec2ZyQvUP\"}]}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"CF-RAY","value":"9a7ffa4e1f05638c-DEN"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"merchantId\": \"17\"\n        }\n    ],\n    \"meta\": {\n        \"timestamp\": \"2025-12-02 20:29:06\"\n    }\n}"}],"_postman_id":"2dda6868-91fd-41b2-b6d6-9f739a8425a2"}],"id":"8bbf0e07-028f-453f-8d4a-3593340d035c","description":"<h1 id=\"bin-routing\">BIN Routing</h1>\n<p>This section contains endpoints for intelligent payment routing based on Bank Identification Numbers (BINs). These endpoints analyze historical transaction performance data to optimize payment gateway selection and improve approval rates.</p>\n<h2 id=\"key-features\">Key Features:</h2>\n<ul>\n<li><p>BIN-based gateway performance analysis</p>\n</li>\n<li><p>Real-time routing decisions</p>\n</li>\n<li><p>Historical decline pattern recognition</p>\n</li>\n<li><p>Card network-specific optimization</p>\n</li>\n<li><p>Gateway avoidance lists for problematic BINs</p>\n</li>\n</ul>\n<h2 id=\"use-cases\">Use Cases:</h2>\n<ul>\n<li><p>Reduce decline rates by avoiding underperforming gateways</p>\n</li>\n<li><p>Improve customer experience with higher approval rates</p>\n</li>\n<li><p>Optimize payment routing based on card type and issuer</p>\n</li>\n<li><p>Make data-driven gateway selection decisions</p>\n</li>\n</ul>\n","_postman_id":"8bbf0e07-028f-453f-8d4a-3593340d035c"},{"name":"Create API User","id":"5d22df56-38e7-4337-bfb4-1e9fd70e9a7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"title\": \"\",\r\n\t\"email\": \"machineuse4@gmail.com\",\r\n\t\"first_name\": \"API\",\r\n\t\"last_name\": \"User\",\r\n\t\"phone\": \"(555) 555-5555\",\r\n\t\"password\": \"12345\",\r\n\t\"add_group\": \"3143\",\r\n\t\"child_group\": \"3228\",\r\n\t\"admin_id\": \"731\",\r\n\t\"admin_type\": \"12\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.datapunch.io/v3/users/accounts?action=create_user","urlObject":{"protocol":"https","path":["v3","users","accounts"],"host":["api","datapunch","io"],"query":[{"key":"action","value":"create_user"}],"variable":[]}},"response":[{"id":"99d3b7bd-a7f2-40e7-ad5a-8ccb63975edb","name":"200","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"title\": \"\",\r\n\t\"email\": \"machineuse4@gmail.com\",\r\n\t\"first_name\": \"API\",\r\n\t\"last_name\": \"User\",\r\n\t\"phone\": \"(555) 555-5555\",\r\n\t\"password\": \"12345\",\r\n\t\"add_group\": \"3143\",\r\n\t\"child_group\": \"3228\",\r\n\t\"admin_id\": \"731\",\r\n\t\"admin_type\": \"12\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.datapunch.io/v3/users/accounts?action=create_user","protocol":"https","host":["api","datapunch","io"],"path":["v3","users","accounts"],"query":[{"key":"action","value":"create_user"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Dec 2025 02:46:20 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"cloudflare"},{"key":"X-API-Controller","value":"TRUE"},{"key":"X-Powered-By","value":"PHP/7.4.2"},{"key":"Content-Security-Policy","value":"default-src 'self'; script-src 'self' 'nonce-e4504ffc1732b8aa6e2664206caabc3b';"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Origin, X-Requested-With, Content-Type, Accept, Authorization"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=8fEuMNVXbPQ0zarTv6MBHKHcOPguYBpEdfAnC6GQPWLV2Lhkfqbk7XZL7IkLNHB95VDF3AJdYYClGKSXN9inn3yHbgYToz%2FWEL2L3LjKLwdd0lFFYN3x%2FPA7\"}]}"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"CF-RAY","value":"9a90366c8c43e66b-DEN"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"success\",\n    \"data\": [\n        \"1653\"\n    ]\n}"}],"_postman_id":"5d22df56-38e7-4337-bfb4-1e9fd70e9a7f"},{"name":"Load Transactions","id":"5b3f4c61-6447-4e79-aff8-d85908cc9c3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.datapunch.io/apis/customers?action=load_dataPunch_transactions","urlObject":{"protocol":"https","path":["apis","customers"],"host":["api","datapunch","io"],"query":[{"key":"action","value":"load_dataPunch_transactions"}],"variable":[]}},"response":[],"_postman_id":"5b3f4c61-6447-4e79-aff8-d85908cc9c3f"},{"name":"Sync Merchants","id":"4492f52c-f059-467f-8428-1f4cdd78b832","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"https://api.datapunch.io/apis/customers?action=load_dataPunch_transactions","urlObject":{"protocol":"https","path":["apis","customers"],"host":["api","datapunch","io"],"query":[{"key":"action","value":"load_dataPunch_transactions"}],"variable":[]}},"response":[],"_postman_id":"4492f52c-f059-467f-8428-1f4cdd78b832"},{"name":"https://api.docful.com/v3/customers/table_configurations?","id":"0638afd0-a47c-4e80-87cd-73d22fd2e3fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt_token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"bin\": \"400344\",\r\n\t\"amount\": 49.99\r\n}"},"url":"https://api.docful.com/v3/transactions/sticky2_bin_decline_recovery_cache?customer_id=4107&filter_operator=OR&like=bin,370%&like=bin,471%&sort=total_transactions,desc&limit=5","urlObject":{"protocol":"https","path":["v3","transactions","sticky2_bin_decline_recovery_cache"],"host":["api","docful","com"],"query":[{"key":"customer_id","value":"4107"},{"key":"filter_operator","value":"OR"},{"key":"like","value":"bin,370%"},{"key":"like","value":"bin,471%"},{"key":"sort","value":"total_transactions,desc"},{"key":"limit","value":"5"}],"variable":[]}},"response":[],"_postman_id":"0638afd0-a47c-4e80-87cd-73d22fd2e3fd"}]}