{"info":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","description":"<html><head></head><body><h2 id=\"base-url\">Base URL</h2>\n<p>The base URL for accessing the API is:</p>\n<p><code>Test - https://txpgtst.kapitalbank.az/api</code></p>\n<p><code>Prod - https://e-commerce.kapitalbank.az/api</code></p>\n<h2 id=\"authentication\"><strong>Authentication</strong></h2>\n<p>All operations require BasicAuth-formatted header for authentication. This header contains the merchant's username and password, which are encoded in base64. This is a more secure way to authenticate merchants, as it prevents the username and password from being sent in plain text.</p>\n<p>More information about BasicAuth :</p>\n<p><a href=\"https://www.twilio.com/docs/glossary/what-is-basic-authentication\">https://www.twilio.com/docs/glossary/what-is-basic-authentication</a></p>\n<p>BasicAuth in PostMan</p>\n<p><a href=\"https://learning.postman.com/docs/sending-requests/authorization/authorization-types/\">https://learning.postman.com/docs/sending-requests/authorization/authorization-types/</a></p>\n<p>Java : <a href=\"https://www.baeldung.com/java-httpclient-basic-auth\">https://www.baeldung.com/java-httpclient-basic-auth</a></p>\n<p>ASP.NET : <a href=\"https://code-maze.com/aspnetcore-basic-authentication-with-httpclient/\">https://code-maze.com/aspnetcore-basic-authentication-with-httpclient/</a></p>\n<p>Php : <a href=\"https://www.gavsblog.com/blog/how-to-use-basic-authentication-with-php-curl\">https://www.gavsblog.com/blog/how-to-use-basic-authentication-with-php-curl</a></p>\n<p>NodeJS : <a href=\"https://www.geeksforgeeks.org/basic-authentication-in-node-js-using-http-header/\">https://www.geeksforgeeks.org/basic-authentication-in-node-js-using-http-header/</a></p>\n<h2 id=\"operation-flow\">Operation Flow</h2>\n<p><strong>NON-PSP Transaction flow (Common payment)</strong></p>\n<ol>\n<li><p>Send create order request (Purchase). If success response go to step 2</p>\n</li>\n<li><p>Redirect to URL with values from Create Order response (point 1): Url Sample: <a href=\"https://null\">{{order.hppUrl}}/flex?id={{order.id}}&amp;password={{order.password</a>}}</p>\n</li>\n<li><p>Redirect client with several (described below) transaction fields to redirect (callback ) url after transaction completion on PC (Processing center side). Transaction flow completed.Callback url sample:{{callback.url}}?ID=1234&amp;STATUS=FullyPaid<br> <strong>Note</strong> that STATUS parameter value can be temporary. So you have to verify transaction status using a Transaction details request.</p>\n</li>\n</ol>\n<p><strong>Preauthorization Transaction flow (Preauthorization + Clearing)</strong></p>\n<ol>\n<li><p>Send create order request (Order_DMS). If success response go to step 2</p>\n</li>\n<li><p>Redirect to URL with values from Create Order response (point 1): Url Sample:</p>\n<p> {{order.hppUrl}}/flex?id={{<a href=\"http://order.id\">order.id</a>}}&amp;password={{order.password}}</p>\n</li>\n<li><p>Redirect client with several (described below) transaction fields to redirect (callback ) url after transaction completion on PC (Processing center side). preauthorization first step completed and amount will be in hold.</p>\n</li>\n<li><p>When the service or product has been provided, you need to send a Execution Transaction Clearing request (Second step of preauthorization transaction). Transaction flow is completed</p>\n</li>\n</ol>\n<p><strong>Recurrent payment flow (no cvv2 and no 3d checks).</strong></p>\n<ol>\n<li><p>Send recurrent payment create order (Recurring) request. If success response go to step 2</p>\n</li>\n<li><p>Send Set Source Token request. If success response go to step 3</p>\n</li>\n<li><p>Send Execute transaction (Purchase with saved card). If success response, transaction completed</p>\n</li>\n</ol>\n<p><strong>Order Credit Transaction flow (Send funds to card)</strong></p>\n<ol>\n<li><p>Send recurrent payment create order (Order Credit transaction) request. If success response go to step 2</p>\n</li>\n<li><p>Send Set Destination Token request. If success response go to step 3</p>\n</li>\n<li><p>Send Execute Transaction request (Execute Credit Operation). If success response, transaction completed</p>\n</li>\n</ol>\n<h2 id=\"test-card-data\">Test card data</h2>\n<p>PAN: 4169741330151778</p>\n<p>ExpDate: 11/26</p>\n<p>CVV: 119</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14817621","collectionId":"81083972-8ba2-4d43-b05a-856021e9b1af","publishedId":"2sA3dxCB1b","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"B61D29"},"publishDate":"2024-07-02T12:56:35.000Z"},"item":[{"name":"Create Order","item":[{"name":"Purchase","id":"49718937-2231-42db-b46d-7468636e871e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"typeRid\":\"Order_SMS\",\n        \"amount\":\"1.0\",\n        \"currency\":\"AZN\",\n        \"language\": \"az\",\n        \"description\": \"Testdesc\",\n        \"hppRedirectUrl\":\"http://txpgtst.kapitalbank.az\",\n        \"hppCofCapturePurposes\": [\n      \"Cit\"\n    ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/","description":"<p>This request represents an order object with the following attributes:</p>\n<ul>\n<li><code>typeRid</code>: Type of the order.</li>\n<li><code>amount</code>: The amount associated with the order.</li>\n<li><code>currency</code>: The currency used for the order.</li>\n<li><code>language</code>: The language preference for the order.</li>\n<li><code>description</code>: A brief description or comment about the order.</li>\n<li><code>hppRedirectUrl</code>: The URL to redirect to after finishing operation.</li>\n<li><code>hppCofCapturePurposes</code>: An array containing the purpose of capturing the Card-on-File (COF) for the order in Payment page.</li>\n</ul>\n<p>Response:</p>\n<ul>\n<li><code>id</code>: The unique identifier for the order.</li>\n<li><code>hppUrl</code>: The URL for accessing the Hosted Payment Page (HPP) associated with the order.</li>\n<li><code>password</code>: A password or authentication token associated with the order.</li>\n<li><code>status</code>: The current status of the order, which could be \"Preparing\" or any other status.</li>\n<li><code>cvv2AuthStatus</code>: CVV2 authentication requirement for the order.</li>\n<li><code>secret</code>: A secret or additional security information associated with the order.</li>\n</ul>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order",""],"host":["https://txpgtst.kapitalbank.az/api"],"query":[],"variable":[]}},"response":[{"id":"615b5055-dff6-43d8-bc62-4de5662f305b","name":"Success response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"typeRid\":\"Order_SMS\",\n        \"amount\":\"1.0\",\n        \"currency\":\"AZN\",\n        \"language\": \"az\",\n        \"description\": \"Testdesc\",\n        \"hppRedirectUrl\":\"http://txpgtst.kapitalbank.az\",\n        \"hppCofCapturePurposes\": [\n      \"Cit\"\n    ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2024 12:15:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"161"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"TXPG-REST-API-Request-ID","value":"2ecdd7d8-4bd9-4698-b839-e887ddfd5552"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Frame-Options","value":"ALLOW-FROM https://kapitalbank.az"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains;"},{"key":"Public-Key-Pins","value":"pin-sha256=\"6bNqjNgTdsymVAXvS/xGlD3ZX5li3Ush9zjj+qI1qPI=\"; max-age=2592000;"}],"cookie":[],"responseTime":null,"body":"{\n    \"order\": {\n        \"id\": 4595,\n        \"hppUrl\": \"https://txpgtst.kapitalbank.az/flex\",\n        \"password\": \"8xjpd1ejxdma\",\n        \"status\": \"Preparing\",\n        \"cvv2AuthStatus\": \"Required\",\n        \"secret\": \"312866\"\n    }\n}"}],"_postman_id":"49718937-2231-42db-b46d-7468636e871e"},{"name":"Prepurchase","id":"c421e4fd-afc9-415a-91de-5b8784de8f2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"typeRid\":\"Order_DMS\",\n        \"amount\":\"1.0\",\n        \"currency\":\"AZN\",\n        \"language\": \"az\",\n        \"description\": \"Testdesc\",\n        \"hppRedirectUrl\":\"http://txpgtst.kapitalbank.az\",\n        \"hppCofCapturePurposes\": [\n      \"Cit\"\n    ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order",""],"host":["https://txpgtst.kapitalbank.az/api"],"query":[],"variable":[]}},"response":[{"id":"b32ddb0c-eef7-408d-beb4-2526d9c1f762","name":"Success response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"typeRid\":\"Order_SMS\",\n        \"amount\":\"1.0\",\n        \"currency\":\"AZN\",\n        \"language\": \"az\",\n        \"description\": \"Testdesc\",\n        \"hppRedirectUrl\":\"http://txpgtst.kapitalbank.az\",\n        \"hppCofCapturePurposes\": [\n      \"Cit\"\n    ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2024 12:15:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"161"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"TXPG-REST-API-Request-ID","value":"2ecdd7d8-4bd9-4698-b839-e887ddfd5552"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Frame-Options","value":"ALLOW-FROM https://kapitalbank.az"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains;"},{"key":"Public-Key-Pins","value":"pin-sha256=\"6bNqjNgTdsymVAXvS/xGlD3ZX5li3Ush9zjj+qI1qPI=\"; max-age=2592000;"}],"cookie":[],"responseTime":null,"body":"{\n    \"order\": {\n        \"id\": 4595,\n        \"hppUrl\": \"https://txpgtst.kapitalbank.az/flex\",\n        \"password\": \"8xjpd1ejxdma\",\n        \"status\": \"Preparing\",\n        \"cvv2AuthStatus\": \"Required\",\n        \"secret\": \"312866\"\n    }\n}"}],"_postman_id":"c421e4fd-afc9-415a-91de-5b8784de8f2e"},{"name":"Recurring","event":[{"listen":"test","script":{"id":"95e922a7-7e16-47d9-a2be-1a484716e1a3","exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"id\", jsonData.order.id);","pm.collectionVariables.set(\"orderPassword\", jsonData.order.password);"],"type":"text/javascript","packages":{}}}],"id":"ab4e745d-3b51-4526-ac3d-88ac7a346ee6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"typeRid\":\"Order_REC\",\n        \"amount\":\"1.0\",\n        \"currency\":\"AZN\",\n        \"language\": \"az\",\n        \"description\": \"Testdesc\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order",""],"host":["https://txpgtst.kapitalbank.az/api"],"query":[],"variable":[]}},"response":[{"id":"50c282b0-9376-42bd-a344-53783ca5ad70","name":"Success response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"typeRid\":\"Order_REC\",\n        \"amount\":\"1.0\",\n        \"currency\":\"AZN\",\n        \"language\": \"az\",\n        \"description\": \"Testdesc\",\n        \"hppRedirectUrl\":\"http://txpgtst.kapitalbank.az\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2024 12:26:54 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"150"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"TXPG-REST-API-Request-ID","value":"1a8cc4f3-22ac-42c8-8887-8fb88594f642"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Frame-Options","value":"ALLOW-FROM https://kapitalbank.az"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains;"},{"key":"Public-Key-Pins","value":"pin-sha256=\"6bNqjNgTdsymVAXvS/xGlD3ZX5li3Ush9zjj+qI1qPI=\"; max-age=2592000;"}],"cookie":[],"responseTime":null,"body":"{\n    \"order\": {\n        \"id\": 4600,\n        \"hppUrl\": \"https://txpgtst.kapitalbank.az/flex\",\n        \"password\": \"z3fc5v4n5ey7\",\n        \"status\": \"Preparing\",\n        \"cvv2AuthStatus\": \"IneligibleOrder\"\n    }\n}"}],"_postman_id":"ab4e745d-3b51-4526-ac3d-88ac7a346ee6"},{"name":"Order Credit Transaction","id":"bfbe8e92-aba6-4aa2-81da-f1fb2d2899cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"typeRid\":\"OCT\",\n        \"amount\":\"1\",\n        \"currency\":\"AZN\",\n        \"language\": \"ru\",\n        \"title\": \"TestOrder\",\n        \"description\": \"Testdesc\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order",""],"host":["https://txpgtst.kapitalbank.az/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bfbe8e92-aba6-4aa2-81da-f1fb2d2899cf"},{"name":"İnstallment (Taksit)","id":"930e95e5-bee3-4856-a92d-8f86861a2537","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"typeRid\":\"Order_SMS\",\n        \"amount\":\"1.0\",\n        \"currency\":\"AZN\",\n        \"language\": \"az\",\n        \"description\": \"TAKSIT=6\",\n        \"hppRedirectUrl\":\"http://txpgtst.kapitalbank.az\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order",""],"host":["https://txpgtst.kapitalbank.az/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"930e95e5-bee3-4856-a92d-8f86861a2537"}],"id":"cfddb347-e00a-4486-90db-8ef176ed393b","description":"<p>This endpoint allows you to create a new order.</p>\n<h3 id=\"request\">Request</h3>\n<p>Returns a JSON object with the following properties:</p>\n<ul>\n<li><p><code>typeRid</code>: Type of the order. List of order types</p>\n<ul>\n<li><p>Order_SMS: For purchase operations</p>\n</li>\n<li><p>Order_DMS: For Preauthorization operations</p>\n</li>\n<li><p>Order_REC: For recurring Purchase operations (transactions with saved card)</p>\n</li>\n<li><p>DMSN3D: For recurring Preauthorization operations (transactions with saved card)</p>\n</li>\n<li><p>OCT: For Account-to-Card operations (Order Credit Transaction)</p>\n</li>\n</ul>\n</li>\n<li><p><code>amount</code>: The amount associated with the order.</p>\n</li>\n<li><p><code>currency</code>: The currency used for the order.</p>\n</li>\n<li><p><code>language</code>: The language preference for the order.</p>\n</li>\n<li><p><code>description</code>: A brief description or comment about the order.</p>\n<ul>\n<li>For Installment operations you must to send taksit month in description filed in this format:<code>TAKSIT=6</code></li>\n</ul>\n</li>\n<li><p><code>hppRedirectUrl</code>: The URL to redirect to after finishing operation.</p>\n</li>\n<li><p><code>hppCofCapturePurposes</code>: An array containing the purpose of capturing the Card-on-File (COF) for the order in Payment page (Card Save). Use all 3 data when saving.</p>\n</li>\n<li><p><code>aut</code>: Used with hppCofCapturePurpose. When specifying this parameter, the checkbox to save the card on the payment page will always be true</p>\n</li>\n<li><p><code>srcToken.storedId</code>: this parameter used to establish a payment token (Saved Card)</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li><p><code>id</code>: The unique identifier for the order.</p>\n</li>\n<li><p><code>hppUrl</code>: The URL for accessing the Hosted Payment Page (HPP) associated with the order.</p>\n</li>\n<li><p><code>password</code>: A password or authentication token associated with the order.</p>\n</li>\n<li><p><code>status</code>: The current status of the order, which could be \"Preparing\" or any other status.</p>\n</li>\n<li><p><code>cvv2AuthStatus</code>: CVV2 authentication requirement for the order.</p>\n</li>\n<li><p><code>secret</code>: A secret or additional security information associated with the order.</p>\n</li>\n</ul>\n","_postman_id":"cfddb347-e00a-4486-90db-8ef176ed393b","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}}},{"name":"Set Source Token","item":[{"name":"TWO token","id":"4b9230fd-4b02-416f-801a-9bbe3980e996","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"initiationEnvKind\": \"Server\"\n    },\n    \"token\": {\n        \"extCof\": {\n            \"ridByCofp\": \"D91E8A152405EE1180E4005056954BCC\",\n            \"cofProviderRid\": \"TWO_COF\"\n        },\n        \"card\": {\n            \"entryMode\": \"ECommerce\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/set-src-token?password={password}","description":"<p>Request</p>\n<ul>\n<li><p><strong>Order</strong>:</p>\n<ul>\n<li><code>initiationEnvKind</code>: Indicates the environment kind of the order initiation, specified as \"Server\" (For MIT/Recurring operations) and \"Browser\" (For CIT operations).</li>\n</ul>\n</li>\n<li><p><strong>Token</strong>:</p>\n<ul>\n<li><p><strong>extCof</strong>:</p>\n<ul>\n<li><p><code>ridByCofp</code>: Represents the RID of card.</p>\n</li>\n<li><p><code>cofProviderRid</code>: Indicates the RID of the COF provider, specified as \"TWO_COF\".</p>\n</li>\n</ul>\n</li>\n<li><p><strong>card</strong>:</p>\n<ul>\n<li><code>entryMode</code>: Specifies the mode of entry for the card, set to \"ECommerce\".</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","set-src-token"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[{"key":"password","value":"{password}"}],"variable":[]}},"response":[{"id":"4a6b91b5-fb28-4547-b494-576795902b18","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"order\": {\n        \"initiationEnvKind\": \"Server\"\n    },\n    \"token\": {\n        \"extCof\": {\n            \"ridByCofp\": \"D91E8A152405EE1180E4005056954BC\",\n            \"cofProviderRid\": \"TWO_COF\"\n        },\n        \"card\": {\n            \"entryMode\": \"ECommerce\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://txpgtst.kapitalbank.az/api/order/{id}/set-src-token","protocol":"https","host":["txpgtst","kapitalbank","az"],"path":["api","order","{id}","set-src-token"],"query":[{"key":"password","value":"{password}","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2024 12:49:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"358"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"TXPG-REST-API-Request-ID","value":"91bae35e-1555-41a5-a393-0a123bad06b1"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Frame-Options","value":"ALLOW-FROM https://kapitalbank.az"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains;"},{"key":"Public-Key-Pins","value":"pin-sha256=\"6bNqjNgTdsymVAXvS/xGlD3ZX5li3Ush9zjj+qI1qPI=\"; max-age=2592000;"}],"cookie":[],"responseTime":null,"body":"{\n    \"order\": {\n        \"status\": \"Preparing\",\n        \"cvv2AuthStatus\": \"IneligibleOrder\",\n        \"tdsV1AuthStatus\": \"IneligibleOrder\",\n        \"tdsV2AuthStatus\": \"IneligibleOrder\",\n        \"otpAutStatus\": \"IneligibleOrder\",\n        \"srcToken\": {\n            \"id\": 4101,\n            \"paymentMethod\": \"Card\",\n            \"role\": \"Src\",\n            \"status\": \"Active\",\n            \"regTime\": \"2024-04-22 16:49:20\",\n            \"displayName\": \"416974******1778\",\n            \"card\": {\n                \"expiration\": \"1126\",\n                \"brand\": \"Visa\"\n            }\n        }\n    }\n}"}],"_postman_id":"4b9230fd-4b02-416f-801a-9bbe3980e996"},{"name":"Standart token","id":"8d5b2850-710f-499f-929e-13a132b5719e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n   \"order\":{\n        \"initiationEnvKind\":\"Server\"\n    },\n   \"token\": {\n        \"storedId\": 5125\n   }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/set-src-token?password={password}","description":"<p>Request</p>\n<ul>\n<li><p><strong>Order</strong>:</p>\n<ul>\n<li><code>initiationEnvKind</code>: Indicates the environment kind of the order initiation, specified as \"Server\" (For MIT/Recurring operations) and \"Browser\" (For CIT operations).</li>\n</ul>\n</li>\n<li><p><strong>Token</strong>:</p>\n<ul>\n<li><code>storedId:</code> Identifier of the saved card.</li>\n</ul>\n</li>\n</ul>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","set-src-token"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[{"key":"password","value":"{password}"}],"variable":[]}},"response":[],"_postman_id":"8d5b2850-710f-499f-929e-13a132b5719e"}],"id":"b07435b4-5048-4b5a-95fa-cea821063a18","description":"<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><code>order.initiationEnvKind</code>: Indicates the environment kind of the order initiation, specified as \"Server\" (For MIT/Recurring operations) and \"Browser\" (For CIT operations).</p>\n</li>\n<li><p><code>token.storedId:</code> Identifier of the saved card.</p>\n</li>\n</ul>\n","_postman_id":"b07435b4-5048-4b5a-95fa-cea821063a18","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}}},{"name":"Set Destination Token","item":[{"name":"PAN","id":"00dd02c7-e6f4-4c8d-a99f-a8b1fadbbe70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"token\": {\n        \"card\": {\n            \"panBlock\": {\n                \"data\": \"4169741330151778\"\n            }, \n            \"entryMode\": \"ECommerce\"\n        }\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/set-dst-token?password={password}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","set-dst-token"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[{"key":"password","value":"{password}"}],"variable":[]}},"response":[],"_postman_id":"00dd02c7-e6f4-4c8d-a99f-a8b1fadbbe70"},{"name":"TWO token","id":"9affc7b5-3aa4-4c50-afed-6ee7665a5bca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"token\": {\n         \"extCof\": {\n            \"ridByCofp\":\"26AB0DACE700EF1180EB005056954BCC\",\n            \"cofProviderRid\":\"TWO_COF\"\n         },\n         \"card\":{\n            \"entryMode\": \"ECommerce\"\n         }\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/set-dst-token?password={password}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","set-dst-token"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[{"key":"password","value":"{password}"}],"variable":[]}},"response":[],"_postman_id":"9affc7b5-3aa4-4c50-afed-6ee7665a5bca"}],"id":"00d2ec37-4ca4-4c4b-8ba9-00b6129bb8e2","_postman_id":"00d2ec37-4ca4-4c4b-8ba9-00b6129bb8e2","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}}},{"name":"Execution Transaction","item":[{"name":"Clearing after Authorization","id":"0d03b64f-de6d-4b05-a0ac-8a94df21b900","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Clearing\",\n        \"amount\":\"1.00\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","exec-tran"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[],"variable":[]}},"response":[{"id":"d781233e-86a9-4b69-937f-bd97778eaa2a","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Clearing\",\n        \"amount\":\"1.00\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran","protocol":"https","host":["txpgtst","kapitalbank","az"],"path":["api","order","{id}","exec-tran"],"query":[{"key":"password","value":"{password}","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2024 13:06:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"127"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"TXPG-REST-API-Request-ID","value":"c8d247ef-6ac5-4d4c-aa65-935da05d2628"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Frame-Options","value":"ALLOW-FROM https://kapitalbank.az"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains;"},{"key":"Public-Key-Pins","value":"pin-sha256=\"6bNqjNgTdsymVAXvS/xGlD3ZX5li3Ush9zjj+qI1qPI=\"; max-age=2592000;"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran\": {\n        \"approvalCode\": \"053703\",\n        \"match\": {\n            \"tranActionId\": \"240422-13060545-000oed=\",\n            \"ridByPmo\": \"17302955\"\n        },\n        \"pmoResultCode\": \"1\"\n    }\n}"}],"_postman_id":"0d03b64f-de6d-4b05-a0ac-8a94df21b900"},{"name":"Purchase with saved card","id":"91e2368e-8b70-442e-8189-80e0a5d0b6b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Single\",\n        \"amount\":\"1.00\",\n        \"conditions\":{\n            \"cofUsage\":\"UnspecifiedMit\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran?password={password}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","exec-tran"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[{"key":"password","value":"{password}"}],"variable":[]}},"response":[{"id":"862c25c0-8510-42ab-b824-6b2137de0ae7","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Clearing\",\n        \"amount\":\"1.00\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran","protocol":"https","host":["txpgtst","kapitalbank","az"],"path":["api","order","{id}","exec-tran"],"query":[{"key":"password","value":"{password}","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2024 13:06:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"127"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"TXPG-REST-API-Request-ID","value":"c8d247ef-6ac5-4d4c-aa65-935da05d2628"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Frame-Options","value":"ALLOW-FROM https://kapitalbank.az"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains;"},{"key":"Public-Key-Pins","value":"pin-sha256=\"6bNqjNgTdsymVAXvS/xGlD3ZX5li3Ush9zjj+qI1qPI=\"; max-age=2592000;"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran\": {\n        \"approvalCode\": \"053703\",\n        \"match\": {\n            \"tranActionId\": \"240422-13060545-000oed=\",\n            \"ridByPmo\": \"17302955\"\n        },\n        \"pmoResultCode\": \"1\"\n    }\n}"},{"id":"23e399ed-2e89-4a2c-84a2-dbd55971e7d3","name":"Purchase with saved card","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Single\",\n        \"amount\":\"1.00\",\n        \"conditions\":{\n            \"cofUsage\":\"UnspecifiedMit\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran?password={password}","host":["https://txpgtst.kapitalbank.az/api"],"path":["order","{id}","exec-tran"],"query":[{"key":"password","value":"{password}"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"PmoDecline\",\n    \"errorDescription\": \"Transaction declined by PMO: Auth Response: 52 - Card not found for MBR calculation. PAN=416974******1778, ExpDate from Track2 (YYMM)=2511\",\n    \"errorDetails\": {\n        \"declineReason\": \"SrcCardInvalid\",\n        \"match\": {\n            \"ridByPmo\": \"17947770\"\n        },\n        \"pmoResultCode\": \"52\",\n        \"pmoDeclineDesc\": \"Card not found for MBR calculation. PAN=416974******1778, ExpDate from Track2 (YYMM)=2511\"\n    }\n}"}],"_postman_id":"91e2368e-8b70-442e-8189-80e0a5d0b6b4"},{"name":"Preauthorization with saved card","id":"784288d0-8a56-4bc4-a60c-ea6a0a05593e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Auth\",\n        \"authorizationKind\": \"Preliminary\",\n        \"amount\":\"1.00\",\n        \"conditions\":{\n            \"cofUsage\":\"UnspecifiedMit\"\n        }\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran?password={password}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","exec-tran"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[{"key":"password","value":"{password}"}],"variable":[]}},"response":[{"id":"a56c5a86-d592-4937-92ea-2188291f12e1","name":"Success Response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Clearing\",\n        \"amount\":\"1.00\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran","protocol":"https","host":["txpgtst","kapitalbank","az"],"path":["api","order","{id}","exec-tran"],"query":[{"key":"password","value":"{password}","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 22 Apr 2024 13:06:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"127"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Origin"},{"key":"Vary","value":"Access-Control-Request-Method"},{"key":"Vary","value":"Access-Control-Request-Headers"},{"key":"TXPG-REST-API-Request-ID","value":"c8d247ef-6ac5-4d4c-aa65-935da05d2628"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Cache-Control","value":"no-cache, no-store, max-age=0, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Frame-Options","value":"ALLOW-FROM https://kapitalbank.az"},{"key":"Strict-Transport-Security","value":"max-age=63072000; includeSubdomains;"},{"key":"Public-Key-Pins","value":"pin-sha256=\"6bNqjNgTdsymVAXvS/xGlD3ZX5li3Ush9zjj+qI1qPI=\"; max-age=2592000;"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran\": {\n        \"approvalCode\": \"053703\",\n        \"match\": {\n            \"tranActionId\": \"240422-13060545-000oed=\",\n            \"ridByPmo\": \"17302955\"\n        },\n        \"pmoResultCode\": \"1\"\n    }\n}"}],"_postman_id":"784288d0-8a56-4bc4-a60c-ea6a0a05593e"},{"name":"Execute Credit Operation","id":"3a287749-6943-4072-bcc5-94c0ea2946d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Single\",\n        \"amount\":\"1.00\",\n        \"type\":\"Credit\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran?password={password}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","exec-tran"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[{"key":"password","value":"{password}"}],"variable":[]}},"response":[],"_postman_id":"3a287749-6943-4072-bcc5-94c0ea2946d8"}],"id":"75dcf8ae-d96a-472b-9f8c-7f0c68929009","description":"<h3 id=\"request\">Request</h3>\n<ul>\n<li><p><code>phase</code> indicator of transaction phase. phase examples:</p>\n<ul>\n<li><p>Single. For one step operations (Standart Purchase)</p>\n</li>\n<li><p>Auth. For first step of preauthorization transaction. Must used with authorizationKind</p>\n</li>\n<li><p>Clearing. For the second step of preauthorization transaction.</p>\n</li>\n</ul>\n</li>\n<li><p><code>type</code> Type of the operation. types example:</p>\n<ul>\n<li><p>Credit. For Account-to-Card transaction</p>\n</li>\n<li><p>Refund. For send money for transaction back.</p>\n</li>\n</ul>\n</li>\n<li><p><code>amount</code>The amount to be authorized for the transaction. If it is not specified, amount will be used from Create Order Request</p>\n</li>\n<li><p><code>authorizationKind</code> Must be used with Auth phase in preauthorization transaction</p>\n</li>\n<li><p><code>conditions.cofUsage</code> Indicator of recurring transaction.</p>\n</li>\n</ul>\n","_postman_id":"75dcf8ae-d96a-472b-9f8c-7f0c68929009","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}}},{"name":"Reversal","item":[{"name":"Purchase Reversal","id":"2d9d1687-d465-4c08-92bb-2ddd3de3720c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Single\",\n        \"voidKind\": \"Full\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","exec-tran"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2d9d1687-d465-4c08-92bb-2ddd3de3720c"},{"name":"Purchase Partial Reversal","id":"5f4b1402-5785-4f5d-8668-9ed0f4f5e74c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Single\",\n        \"amount\":\"1.00\",\n        \"voidKind\": \"Partial\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","exec-tran"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f4b1402-5785-4f5d-8668-9ed0f4f5e74c"},{"name":"Prepurchase Auth Reversal","id":"2f6d5c87-e9e0-40ab-a16a-4808fff34b1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Auth\",\n        \"voidKind\": \"Full\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","exec-tran"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"2f6d5c87-e9e0-40ab-a16a-4808fff34b1a"},{"name":"Prepurchase Clearing Reversal","id":"fe6190fd-ed08-4496-ad87-817523fe3db6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Clearing\",\n        \"voidKind\": \"Full\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","exec-tran"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe6190fd-ed08-4496-ad87-817523fe3db6"}],"id":"fd27f570-ed27-448b-8602-4c3a82e5bae7","description":"<h3 id=\"request\">Request</h3>\n<p>Request is the same as Execute Transaction request, but with the different params</p>\n<ul>\n<li><p><code>phase</code> indicator of transaction phase. phase examples:  </p>\n<ul>\n<li><p>Single. For one step operations (Standart Purchase)</p>\n</li>\n<li><p>Auth. For first step of preauthorization transaction. Must used with authorizationKind</p>\n</li>\n<li><p>Clearing. For the second step of preauthorization transaction.</p>\n</li>\n</ul>\n</li>\n<li><p><code>voidKind</code> Indicator of Revesal operation. Reversal types:  </p>\n<ul>\n<li><p>Full. Using for returning full amount of transaction</p>\n</li>\n<li><p>Partial. used to return funds that are less than the original amount. Can be used once</p>\n</li>\n</ul>\n</li>\n<li><p><code>amount</code>The amount to be returned for the transaction. Must be used, when you want to use Partial reversal.</p>\n</li>\n</ul>\n","_postman_id":"fd27f570-ed27-448b-8602-4c3a82e5bae7","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}}},{"name":"Refund","item":[{"name":"Refund","id":"73c75771-1dd5-44a8-8e08-a71839176498","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Single\",\n        \"amount\":\"2.00\",\n        \"type\": \"Refund\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}","exec-tran"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[],"variable":[]}},"response":[{"id":"02a4f97b-9ebf-4254-84e3-91432dabb440","name":"Refund","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{  \n    \"tran\":{\n        \"phase\":\"Single\",\n        \"amount\":\"2.00\",\n        \"type\": \"Refund\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://txpgtst.kapitalbank.az/api/order/{id}/exec-tran"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"tran\": {\n        \"approvalCode\": \"053703\",\n        \"match\": {\n            \"tranActionId\": \"240422-13060545-000oed=\",\n            \"ridByPmo\": \"17302955\"\n        },\n        \"pmoResultCode\": \"1\"\n    }\n}"}],"_postman_id":"73c75771-1dd5-44a8-8e08-a71839176498"}],"id":"ebd5505e-2f35-4f3a-b150-b1f3421f6831","_postman_id":"ebd5505e-2f35-4f3a-b150-b1f3421f6831","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}}},{"name":"Get Order Status","item":[{"name":"Simple","id":"3c15f522-6dae-4ee4-a9e2-f43257919b29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://txpgtst.kapitalbank.az/api/order/{id}","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[],"variable":[]}},"response":[{"id":"58fc8015-b92e-4d64-99fa-afb2b82ac325","name":"Simple","originalRequest":{"method":"GET","header":[],"url":"https://txpgtst.kapitalbank.az/api/order/{id}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"order\": {\n        \"id\": 5531,\n        \"typeRid\": \"Order_SMS\",\n        \"status\": \"Refunded\",\n        \"prevStatus\": \"FullyPaid\",\n        \"lastStatusLogin\": \"E1010\",\n        \"amount\": 1,\n        \"currency\": \"AZN\",\n        \"createTime\": \"2024-06-12 15:38:23\",\n        \"finishTime\": \"2024-06-12 15:39:17\",\n        \"title\": \"Othub\",\n        \"type\": {\n            \"title\": \"Single message\"\n        }\n    }\n}"}],"_postman_id":"3c15f522-6dae-4ee4-a9e2-f43257919b29"},{"name":"Detailed","id":"790f2d23-4ac2-4000-94ec-2b0c45a49709","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://txpgtst.kapitalbank.az/api/order/{id}?tranDetailLevel=2&tokenDetailLevel=2&orderDetailLevel=2","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}},"urlObject":{"path":["order","{id}"],"host":["https://txpgtst.kapitalbank.az/api"],"query":[{"description":{"content":"<p>Transaction details</p>\n","type":"text/plain"},"key":"tranDetailLevel","value":"2"},{"description":{"content":"<p>Token details</p>\n","type":"text/plain"},"key":"tokenDetailLevel","value":"2"},{"description":{"content":"<p>Order details</p>\n","type":"text/plain"},"key":"orderDetailLevel","value":"2"}],"variable":[]}},"response":[{"id":"80906dee-a7b4-4ee1-8af5-7b0d6b8292bb","name":"Detailed","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://txpgtst.kapitalbank.az/api/order/{id}?password={password}&tranDetailLevel=2&tokenDetailLevel=2&orderDetailLevel=2","host":["https://txpgtst.kapitalbank.az/api"],"path":["order","{id}"],"query":[{"key":"password","value":"{password}"},{"key":"tranDetailLevel","value":"2","description":"Transaction details"},{"key":"tokenDetailLevel","value":"2","description":"Token details"},{"key":"orderDetailLevel","value":"2","description":"Order details"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"order\": {\n        \"id\": 5531,\n        \"hppUrl\": \"https://txpgtst.kapitalbank.az/flex\",\n        \"hppRedirectUrl\": \"http://txpgtst.kapitalbank.az\",\n        \"password\": \"1a06f5aj3yhqr\",\n        \"status\": \"Refunded\",\n        \"prevStatus\": \"FullyPaid\",\n        \"lastStatusLogin\": \"E1010\",\n        \"amount\": 1,\n        \"currency\": \"AZN\",\n        \"terminal\": {\n            \"id\": 41,\n            \"rid\": \"E1000010\",\n            \"title\": \"E1000010\",\n            \"mcc\": 3011,\n            \"status\": \"Active\"\n        },\n        \"srcAmount\": 1,\n        \"srcAmountFull\": 1,\n        \"srcCurrency\": \"AZN\",\n        \"dstAmount\": 1,\n        \"dstCurrency\": \"AZN\",\n        \"createTime\": \"2024-06-12 15:38:23\",\n        \"finishTime\": \"2024-06-12 15:39:17\",\n        \"trans\": [\n            {\n                \"approvalCode\": \"047347\",\n                \"actionId\": \"240612-11385786-000tn5=\",\n                \"orderId\": 5531,\n                \"terminalId\": 41,\n                \"merchantId\": 101,\n                \"billingStatus\": \"Normal\",\n                \"isReversal\": false,\n                \"ridByAcquirer\": \"17579346\",\n                \"ridByPmo\": \"17579346\",\n                \"regTime\": \"2024-06-12 15:38:57\",\n                \"clearAmount\": 1,\n                \"clearCcy\": \"AZN\",\n                \"amount\": 1,\n                \"currency\": \"AZN\",\n                \"description\": \"Purchase\",\n                \"phase\": \"Single\",\n                \"type\": \"Purchase\",\n                \"pmoResultCode\": \"1\"\n            },\n            {\n                \"approvalCode\": \"963348\",\n                \"actionId\": \"240612-11391689-000tn7=\",\n                \"orderId\": 5531,\n                \"terminalId\": 41,\n                \"merchantId\": 101,\n                \"billingStatus\": \"Normal\",\n                \"isReversal\": false,\n                \"ridByAcquirer\": \"17579348\",\n                \"ridByPmo\": \"17579348\",\n                \"regTime\": \"2024-06-12 15:39:16\",\n                \"clearAmount\": -1,\n                \"clearCcy\": \"AZN\",\n                \"amount\": 1,\n                \"currency\": \"AZN\",\n                \"description\": \"Refund\",\n                \"phase\": \"Single\",\n                \"type\": \"Refund\",\n                \"pmoResultCode\": \"1\"\n            }\n        ],\n        \"cvv2AuthStatus\": \"Provided\",\n        \"tdsV1AuthStatus\": \"IneligibleOrder\",\n        \"tdsV2AuthStatus\": \"Verified\",\n        \"tdsServerUrl\": \"http://172.21.14.67:1341\",\n        \"authorizedChargeAmount\": 1,\n        \"clearedChargeAmount\": 1,\n        \"clearedRefundAmount\": 1,\n        \"title\": \"Othub\",\n        \"description\": \"Testdesc\",\n        \"language\": \"az\",\n        \"srcToken\": {\n            \"id\": 4833,\n            \"paymentMethod\": \"Card\",\n            \"role\": \"Src\",\n            \"status\": \"Active\",\n            \"regTime\": \"2024-06-12 15:38:28\",\n            \"entryMode\": \"ECommerce\",\n            \"displayName\": \"416974******1778\",\n            \"owner\": {},\n            \"card\": {\n                \"authentication\": {\n                    \"needCvv2\": false,\n                    \"needTds\": false,\n                    \"tranId\": \"a3b35fe8-e245-4a3e-ba01-e250a4ac20ad\",\n                    \"tdsDsTranId\": \"c087b446-192b-48fb-b78f-2c4bb53ac26c\",\n                    \"timestamp\": \"2024-06-12 11:38:23\",\n                    \"tdsProtocolVer\": \"2.2.0\",\n                    \"cryptType\": \"Tds\",\n                    \"cryptVal\": \"AJkBA0KTRAAAAABklEFkdQAAAAA=\",\n                    \"eci\": \"05\",\n                    \"tdsARes\": \"{\\\"threeDSServerTransID\\\":\\\"a3b35fe8-e245-4a3e-ba01-e250a4ac20ad\\\",\\\"acsTransID\\\":\\\"6663aebe-7f7a-4f34-be7f-bdb9731c1adf\\\",\\\"dsTransID\\\":\\\"c087b446-192b-48fb-b78f-2c4bb53ac26c\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageExtension\\\":[{\\\"name\\\":\\\"MesExt2\\\",\\\"id\\\":\\\"ID2\\\",\\\"criticalityIndicator\\\":false,\\\"data\\\":{\\\"valueOne\\\":\\\"value\\\"}}],\\\"dsReferenceNumber\\\":\\\"DSRefNumVISA\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_COPL_020100_00081\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-KAPITAL-BANK-78858\\\",\\\"authenticationValue\\\":\\\"AJ************************A=\\\",\\\"eci\\\":\\\"05\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"transStatusReason\\\":\\\"17\\\"}\"\n                },\n                \"expiration\": \"1126\",\n                \"brand\": \"Visa\",\n                \"issuerRid\": \"4\"\n            }\n        },\n        \"merchant\": {\n            \"id\": 101,\n            \"rid\": \"E1000010\",\n            \"title\": \"E1000010\",\n            \"businessAddress\": {\n                \"country\": \"AZE\",\n                \"countryA2\": \"AZ\",\n                \"countryN3\": 31\n            },\n            \"trustConsumerPhone\": false\n        },\n        \"initiationEnvKind\": \"Server\",\n        \"type\": {\n            \"allowVoid\": true,\n            \"hppTranPhase\": \"Single\",\n            \"secretLength\": 6,\n            \"title\": \"Single message\",\n            \"rid\": \"Order_SMS\",\n            \"paymentMethods\": [\n                \"Card\"\n            ],\n            \"cardBrands\": [\n                \"Visa\",\n                \"Mastercard\"\n            ],\n            \"allowTdsAttempt\": false,\n            \"allowTdsCant\": false,\n            \"allowTdsChallenged\": false,\n            \"allowSurcharge\": false,\n            \"allowTranTypes\": [\n                \"Purchase\",\n                \"Refund\",\n                \"CheckToken\"\n            ],\n            \"allowTranPhases\": [\n                \"Single\",\n                \"Prepare\"\n            ],\n            \"allowAuthKinds\": [\n                \"Final\",\n                \"Undefined\"\n            ],\n            \"allowCofStoreUsages\": [\n                \"Cit\",\n                \"PartialShipment\",\n                \"Instalment\",\n                \"Recurring\",\n                \"UnspecifiedMit\",\n                \"DelayedCharge\"\n            ],\n            \"orderClass\": \"Sale\",\n            \"allowCVV2\": true\n        },\n        \"hppCofCapturePurposes\": [\n            \"UnspecifiedMit\"\n        ],\n        \"custAttrs\": [],\n        \"reportPubs\": {}\n    }\n}"},{"id":"061cf086-e29c-400f-95f4-22d2f37d99ac","name":"With COF data","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://txpgtst.kapitalbank.az/api/order/{id}?tranDetailLevel=2&tokenDetailLevel=2&orderDetailLevel=2","host":["https://txpgtst.kapitalbank.az/api"],"path":["order","{id}"],"query":[{"key":"tranDetailLevel","value":"2","description":"Transaction details"},{"key":"tokenDetailLevel","value":"2","description":"Token details"},{"key":"orderDetailLevel","value":"2","description":"Order details"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"order\": {\n        \"id\": 10947,\n        \"hppUrl\": \"https://txpgtst.kapitalbank.az/flex\",\n        \"hppRedirectUrl\": \"http://txpgtst.kapitalbank.az\",\n        \"password\": \"mzvjai9qsj8x\",\n        \"status\": \"FullyPaid\",\n        \"prevStatus\": \"Preparing\",\n        \"lastStatusLogin\": \"E1010\",\n        \"amount\": 5,\n        \"currency\": \"AZN\",\n        \"terminal\": {\n            \"id\": 41,\n            \"rid\": \"E1000010\",\n            \"title\": \"E1000010\",\n            \"mcc\": 3011,\n            \"status\": \"Active\"\n        },\n        \"srcAmount\": 5,\n        \"srcAmountFull\": 5,\n        \"srcCurrency\": \"AZN\",\n        \"dstAmount\": 5,\n        \"dstCurrency\": \"AZN\",\n        \"createTime\": \"2024-07-30 16:57:36\",\n        \"storedTokens\": [\n            {\n                \"id\": 5654\n            },\n            {\n                \"cofProviderRid\": \"TWO_COF\",\n                \"id\": 5655,\n                \"ridBycofp\": \"1B2B94F001F8EE1180EB005056954BCC\"\n            }\n        ],\n        \"trans\": [\n            {\n                \"approvalCode\": \"511369\",\n                \"actionId\": \"240730-12583839-001drl=\",\n                \"orderId\": 10947,\n                \"terminalId\": 41,\n                \"merchantId\": 101,\n                \"billingStatus\": \"Normal\",\n                \"isReversal\": false,\n                \"ridByAcquirer\": \"17850012\",\n                \"ridByPmo\": \"17850012\",\n                \"regTime\": \"2024-07-30 16:58:38\",\n                \"clearAmount\": 5,\n                \"clearCcy\": \"AZN\",\n                \"amount\": 5,\n                \"currency\": \"AZN\",\n                \"description\": \"Purchase\",\n                \"phase\": \"Single\",\n                \"type\": \"Purchase\",\n                \"pmoResultCode\": \"1\"\n            }\n        ],\n        \"cvv2AuthStatus\": \"Provided\",\n        \"tdsV1AuthStatus\": \"IneligibleOrder\",\n        \"tdsV2AuthStatus\": \"Verified\",\n        \"tdsServerUrl\": \"http://172.21.14.67:1340\",\n        \"authorizedChargeAmount\": 5,\n        \"clearedChargeAmount\": 5,\n        \"clearedRefundAmount\": 0,\n        \"title\": \"Othub\",\n        \"description\": \"Testdesc\",\n        \"language\": \"az\",\n        \"srcToken\": {\n            \"id\": 5652,\n            \"paymentMethod\": \"Card\",\n            \"role\": \"Src\",\n            \"status\": \"Active\",\n            \"regTime\": \"2024-07-30 16:57:43\",\n            \"entryMode\": \"ECommerce\",\n            \"displayName\": \"510307******3118\",\n            \"owner\": {},\n            \"card\": {\n                \"authentication\": {\n                    \"needCvv2\": false,\n                    \"needTds\": false,\n                    \"tranId\": \"0682c816-a368-4f66-9c27-ea2298b8b2a8\",\n                    \"tdsDsTranId\": \"fd1a1d37-1ec8-4d47-a8cd-6f1d640d8425\",\n                    \"timestamp\": \"2024-07-30 12:57:36\",\n                    \"tdsProtocolVer\": \"2.2.0\",\n                    \"cryptType\": \"Tds\",\n                    \"cryptVal\": \"xgR6+aR8AAAAAAAAAAAAAAAAAAAA\",\n                    \"eci\": \"02\",\n                    \"tdsARes\": \"{\\\"threeDSServerTransID\\\":\\\"0682c816-a368-4f66-9c27-ea2298b8b2a8\\\",\\\"acsTransID\\\":\\\"ace44ca4-df3d-478d-9553-dd20174169d8\\\",\\\"dsTransID\\\":\\\"fd1a1d37-1ec8-4d47-a8cd-6f1d640d8425\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageExtension\\\":[{\\\"name\\\":\\\"MesExt2\\\",\\\"id\\\":\\\"ID2\\\",\\\"criticalityIndicator\\\":false,\\\"data\\\":{\\\"valueOne\\\":\\\"value\\\"}}],\\\"dsReferenceNumber\\\":\\\"DSRefNum\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_COPL_020100_00081\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-KAPITAL-BANK-78858\\\",\\\"acsURL\\\":\\\"https://acs1test.kapitalbank.az\\\",\\\"authenticationType\\\":\\\"02\\\",\\\"transStatus\\\":\\\"C\\\"}\",\n                    \"tdsRReq\": \"{\\\"threeDSServerTransID\\\":\\\"0682c816-a368-4f66-9c27-ea2298b8b2a8\\\",\\\"acsTransID\\\":\\\"ace44ca4-df3d-478d-9553-dd20174169d8\\\",\\\"dsTransID\\\":\\\"fd1a1d37-1ec8-4d47-a8cd-6f1d640d8425\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"authenticationMethod\\\":\\\"02\\\",\\\"authenticationType\\\":\\\"02\\\",\\\"authenticationValue\\\":\\\"xg************************AA\\\",\\\"eci\\\":\\\"02\\\",\\\"interactionCounter\\\":\\\"01\\\",\\\"messageCategory\\\":\\\"01\\\",\\\"transStatus\\\":\\\"Y\\\"}\"\n                },\n                \"expiration\": \"0125\",\n                \"brand\": \"Mastercard\",\n                \"issuerRid\": \"5\"\n            }\n        },\n        \"merchant\": {\n            \"id\": 101,\n            \"rid\": \"E1000010\",\n            \"title\": \"E1000010\",\n            \"businessAddress\": {\n                \"country\": \"AZE\",\n                \"countryA2\": \"AZ\",\n                \"countryN3\": 31\n            },\n            \"trustConsumerPhone\": false\n        },\n        \"initiationEnvKind\": \"Browser\",\n        \"type\": {\n            \"allowVoid\": true,\n            \"hppTranPhase\": \"Single\",\n            \"secretLength\": 6,\n            \"title\": \"Single message\",\n            \"rid\": \"Order_SMS\",\n            \"paymentMethods\": [\n                \"Card\"\n            ],\n            \"cardBrands\": [\n                \"Visa\",\n                \"Mastercard\"\n            ],\n            \"allowTdsAttempt\": false,\n            \"allowTdsCant\": false,\n            \"allowTdsChallenged\": false,\n            \"allowSurcharge\": false,\n            \"allowTranTypes\": [\n                \"Purchase\",\n                \"Refund\",\n                \"CheckToken\"\n            ],\n            \"allowTranPhases\": [\n                \"Single\",\n                \"Prepare\"\n            ],\n            \"allowAuthKinds\": [\n                \"Final\",\n                \"Undefined\"\n            ],\n            \"allowCofStoreUsages\": [\n                \"Cit\",\n                \"PartialShipment\",\n                \"Instalment\",\n                \"Recurring\",\n                \"UnspecifiedMit\",\n                \"DelayedCharge\"\n            ],\n            \"orderClass\": \"Sale\",\n            \"allowCVV2\": true\n        },\n        \"hppCofCapturePurposes\": [\n            \"UnspecifiedMit\",\n            \"Cit\",\n            \"Recurring\"\n        ],\n        \"custAttrs\": [],\n        \"reportPubs\": {}\n    }\n}"}],"_postman_id":"790f2d23-4ac2-4000-94ec-2b0c45a49709"}],"id":"426696f5-c2f3-44b7-b12c-8bba652d7a99","_postman_id":"426696f5-c2f3-44b7-b12c-8bba652d7a99","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}}},{"name":"Statuses and Error codes","item":[],"id":"ae78f8c2-52b7-4324-96e8-ce9b7c61a184","description":"<h2 id=\"payment-statuses\">Payment Statuses</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Being prepared</td>\n<td>Order is being prepared, no transactions have been executed on it yet.</td>\n</tr>\n<tr>\n<td>Cancelled</td>\n<td>Order has been cancelled by the consumer (before payment). (Order is cancelled by the merchant.)</td>\n</tr>\n<tr>\n<td>Rejected</td>\n<td>Order has been rejected by the PSP (before payment). (Order is rejected by the PSP.)</td>\n</tr>\n<tr>\n<td>Refused</td>\n<td>Consumer has refused to pay for the order (before payment or after unsuccessful payment attempt). (Order is refused by the consumer.)</td>\n</tr>\n<tr>\n<td>Expired</td>\n<td>Order has expired (before payment). (Timeout occurs when executing the order scenario.)</td>\n</tr>\n<tr>\n<td>Authorized</td>\n<td>Order has been authorized.(Authorization transaction is executed.)</td>\n</tr>\n<tr>\n<td>Partially paid</td>\n<td>Order has been partially paid. (Clearing transaction is executed for the part of the order amount.)</td>\n</tr>\n<tr>\n<td>Fully paid</td>\n<td>Order has been fully paid. (Clearing transaction is executed for the full order amount (or several clearing transactions).)</td>\n</tr>\n<tr>\n<td>Funded</td>\n<td>Order has been funded (debit transaction has been executed). The status can be assigned only to the order of the DualStep Transfer Order class.</td>\n</tr>\n<tr>\n<td>Declined</td>\n<td>* AReq and RReq (3DS 2) could not be executed due to rejection by the issuer / error during authentication.  <br />* Operation was declined by PMO</td>\n</tr>\n<tr>\n<td>Voided</td>\n<td>Authorized payment amount under the order is zero.</td>\n</tr>\n<tr>\n<td>Refunded</td>\n<td>Accounted payment amount and the accounted refund amount under the order are equal.</td>\n</tr>\n<tr>\n<td>Closed</td>\n<td>Order has been closed (after payment)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"errors\">Errors</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error status</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>InvalidAmt</td>\n<td>valid amount</td>\n</tr>\n<tr>\n<td>InvalidRequest</td>\n<td>&lt;причина отклонения&gt;</td>\n</tr>\n<tr>\n<td>InvalidTran</td>\n<td>Invalid transaction</td>\n</tr>\n<tr>\n<td>InvalidTranLink</td>\n<td>Invalid transaction linkage</td>\n</tr>\n<tr>\n<td>TranProhibited</td>\n<td>Transaction prohibited</td>\n</tr>\n<tr>\n<td>ActionAppException</td>\n<td>&lt;причина отклонения&gt;</td>\n</tr>\n<tr>\n<td>CantChooseSettleAcct</td>\n<td>Can't choose settlement account</td>\n</tr>\n<tr>\n<td>PmoIfaceNotFound</td>\n<td>PMO interface not found</td>\n</tr>\n<tr>\n<td>PmoDecline</td>\n<td>Transaction declined by PMO: &lt;причина отклонения&gt;</td>\n</tr>\n<tr>\n<td>PmoUnreachable</td>\n<td>Can't reach PMO</td>\n</tr>\n<tr>\n<td>InvalidCert</td>\n<td>Invalid certificate</td>\n</tr>\n<tr>\n<td>InvalidLogin</td>\n<td>Invalid login or password</td>\n</tr>\n<tr>\n<td>InvalidOrderState</td>\n<td>&lt;причина некорректного состояния ордера&gt;</td>\n</tr>\n<tr>\n<td>InvalidUserSession</td>\n<td>Invalid user session</td>\n</tr>\n<tr>\n<td>NeedChangePwd</td>\n<td>Need change password</td>\n</tr>\n<tr>\n<td>OperationProhibited</td>\n<td>Operation prohibited</td>\n</tr>\n<tr>\n<td>PwdTryLimitExceeded</td>\n<td>Password try limit has been exceeded</td>\n</tr>\n<tr>\n<td>UserSessionExpired</td>\n<td>User session expired</td>\n</tr>\n<tr>\n<td>CofpDecline</td>\n<td>Declined by CoF Provider: &lt;причина отклонения&gt;</td>\n</tr>\n<tr>\n<td>CofpUnreachable</td>\n<td>Can't reach CoF Provider</td>\n</tr>\n<tr>\n<td>InvalidToken</td>\n<td>&lt;причина некорректного состояния токена&gt;</td>\n</tr>\n<tr>\n<td>InvalidAutStatus</td>\n<td>Invalid authentication status</td>\n</tr>\n<tr>\n<td>ConsumerNotFound</td>\n<td>Consumer not found</td>\n</tr>\n<tr>\n<td>InvalidConsumer</td>\n<td>Invalid consumer</td>\n</tr>\n<tr>\n<td>InvalidSecret</td>\n<td>Invalid secret code</td>\n</tr>\n<tr>\n<td>SecretTryLimit</td>\n<td>Secret try limit has been exceeded</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"pmodecline-codes-processing-error-codes\">PmoDecline Codes (Processing Error codes)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Response Code</strong></th>\n<th><strong>Title</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>0</td>\n<td>None</td>\n<td>-</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Approved</td>\n<td>OK</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Approved Partial</td>\n<td>Transaction is approved for the partial amount</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Approved Purchase Only</td>\n<td>Transaction is approved for the Purchase amount; the Cashback amount is not approved</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Postponed</td>\n<td>Transaction is postponed, it will be processed later</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Strong customer authentication required</td>\n<td>Strong customer authentication is required for the transaction execution.</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Need Checker's confirmation</td>\n<td>The checker confirmation is required</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Telebank customer already exists</td>\n<td>Telebank customer already exists</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Should select virtual card product</td>\n<td>Virtual card product should be selected</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Should select account number</td>\n<td>Account number should be selected</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Should change PVV</td>\n<td>PIN should be changed</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Confirm payment precheck</td>\n<td>The results of payment verification in the payment online acceptance system should be confirmed</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Select bill</td>\n<td>Select the bill to be paid</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Customer confirmation requested</td>\n<td>Customer confirmation is requested</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Original transaction not found</td>\n<td>Original transaction is not found (for example, while receiving an electronic slip from POS terminal; or an original transaction for the reversal)</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Slip already received</td>\n<td>Slip has already been received</td>\n</tr>\n<tr>\n<td>17</td>\n<td>Personal information input error</td>\n<td>Error by entering payment attributes</td>\n</tr>\n<tr>\n<td>18</td>\n<td>SMS/EMail dynamic password requested</td>\n<td>SMS/Email dynamic password is requested</td>\n</tr>\n<tr>\n<td>19</td>\n<td>DPA/CAP dynamic password requested</td>\n<td>DPA/CAP dynamic password is requested</td>\n</tr>\n<tr>\n<td>20</td>\n<td>Prepaid code not found</td>\n<td>Prepaid code is not found</td>\n</tr>\n<tr>\n<td>21</td>\n<td>Corresponding account exhausted</td>\n<td>Agent bank correspondent account is exhausted</td>\n</tr>\n<tr>\n<td>22</td>\n<td>Acquirer limit exceeded</td>\n<td>Merchant acquiring limit has already been reached or exceeded</td>\n</tr>\n<tr>\n<td>23</td>\n<td>Cutover in process</td>\n<td>Cutover is being performed</td>\n</tr>\n<tr>\n<td>24</td>\n<td>Dynamic PVV Expired</td>\n<td>Dynamic PVV expired</td>\n</tr>\n<tr>\n<td>25</td>\n<td>Weak PIN</td>\n<td>Weak PIN</td>\n</tr>\n<tr>\n<td>26</td>\n<td>External authentication required</td>\n<td>External authentication is requested</td>\n</tr>\n<tr>\n<td>27</td>\n<td>Additional data required</td>\n<td>Additional data is required</td>\n</tr>\n<tr>\n<td>29</td>\n<td>Closed account</td>\n<td>The account is closed</td>\n</tr>\n<tr>\n<td>30</td>\n<td>Blocked</td>\n<td>Blocked</td>\n</tr>\n<tr>\n<td>40</td>\n<td>Lost card</td>\n<td>The card is lost</td>\n</tr>\n<tr>\n<td>41</td>\n<td>Stolen card</td>\n<td>The card is stolen</td>\n</tr>\n<tr>\n<td>49</td>\n<td>Ineligible vendor account</td>\n<td>Ineligible vendor account</td>\n</tr>\n<tr>\n<td>50</td>\n<td>Unauthorized usage</td>\n<td>The card unauthorized usage</td>\n</tr>\n<tr>\n<td>51</td>\n<td>Expired card</td>\n<td>The card is expired</td>\n</tr>\n<tr>\n<td>52</td>\n<td>Invalid card</td>\n<td>The card is invalid</td>\n</tr>\n<tr>\n<td>53</td>\n<td>Invalid PIN</td>\n<td>Invalid PIN</td>\n</tr>\n<tr>\n<td>54</td>\n<td>System error</td>\n<td>System error</td>\n</tr>\n<tr>\n<td>55</td>\n<td>Ineligible transaction</td>\n<td>Ineligible transaction</td>\n</tr>\n<tr>\n<td>56</td>\n<td>Ineligible account</td>\n<td>Ineligible account</td>\n</tr>\n<tr>\n<td>57</td>\n<td>Transaction not supported</td>\n<td>The transaction is not supported</td>\n</tr>\n<tr>\n<td>58</td>\n<td>Restricted card</td>\n<td>The card is restricted (the operation is prohibited)</td>\n</tr>\n<tr>\n<td>59</td>\n<td>Insufficient funds</td>\n<td>There are not enough money on the account</td>\n</tr>\n<tr>\n<td>60</td>\n<td>Uses limit exceeded</td>\n<td>The card usage limit is exceeded</td>\n</tr>\n<tr>\n<td>61</td>\n<td>Withdrawal limit would be exceeded</td>\n<td>Withdrawal limit will be exceeded</td>\n</tr>\n<tr>\n<td>62</td>\n<td>PIN tries limit was reached</td>\n<td>Invalid PIN tries limit is reached</td>\n</tr>\n<tr>\n<td>63</td>\n<td>Withdrawal limit already reached</td>\n<td>Withdrawal limit is already reached</td>\n</tr>\n<tr>\n<td>64</td>\n<td>Credit amount limit</td>\n<td>Deposit limit is reached</td>\n</tr>\n<tr>\n<td>65</td>\n<td>No statement information</td>\n<td>No statement information provided</td>\n</tr>\n<tr>\n<td>66</td>\n<td>Statement not available</td>\n<td>Statement is not available (prohibited)</td>\n</tr>\n<tr>\n<td>67</td>\n<td>Invalid amount</td>\n<td>Invalid amount</td>\n</tr>\n<tr>\n<td>68</td>\n<td>External decline</td>\n<td>Transaction is declined by the external host</td>\n</tr>\n<tr>\n<td>69</td>\n<td>No sharing</td>\n<td>The card is not serviced at the terminal</td>\n</tr>\n<tr>\n<td>71</td>\n<td>Contact card issuer</td>\n<td>Contact the issuer</td>\n</tr>\n<tr>\n<td>72</td>\n<td>Destination not available</td>\n<td>The authorizer is not available</td>\n</tr>\n<tr>\n<td>73</td>\n<td>Routing error</td>\n<td>Routing error</td>\n</tr>\n<tr>\n<td>74</td>\n<td>Format error</td>\n<td>Format error</td>\n</tr>\n<tr>\n<td>75</td>\n<td>External decline special condition</td>\n<td>The transaction is declined by the external host by special condition (the card owner is suspected of fraud)</td>\n</tr>\n<tr>\n<td>80</td>\n<td>Bad CVV</td>\n<td>Invalid CVV</td>\n</tr>\n<tr>\n<td>81</td>\n<td>Bad CVV2</td>\n<td>Invalid CVV2</td>\n</tr>\n<tr>\n<td>82</td>\n<td>Invalid transaction</td>\n<td>The transaction with such attributes is prohibited</td>\n</tr>\n<tr>\n<td>83</td>\n<td>PIN tries limit was exceeded</td>\n<td>Bad PIN tries limit is already exceeded</td>\n</tr>\n<tr>\n<td>84</td>\n<td>Bad CAVV</td>\n<td>Invalid 3D Secure Cardholder Authentication Verification Value</td>\n</tr>\n<tr>\n<td>85</td>\n<td>Bad ARQC</td>\n<td>Invalid cryptogram of EMC card application</td>\n</tr>\n<tr>\n<td>90</td>\n<td>Approve administrative card operation inside window</td>\n<td>Operation by the administrative card in the window is approved</td>\n</tr>\n<tr>\n<td>91</td>\n<td>Approve administrative card operation outside of window</td>\n<td>Operation by the administrative card out of the window is approved</td>\n</tr>\n<tr>\n<td>92</td>\n<td>Approve administrative card operation</td>\n<td>Operation by the administrative card is approved</td>\n</tr>\n<tr>\n<td>93</td>\n<td>Should select card</td>\n<td>Card should be selected</td>\n</tr>\n<tr>\n<td>94</td>\n<td>Confirm Issuer Fee</td>\n<td>Issuer fee confirmation is required</td>\n</tr>\n<tr>\n<td>95</td>\n<td>Insufficient cash</td>\n<td>Insufficient funds</td>\n</tr>\n<tr>\n<td>96</td>\n<td>Approved frictionless</td>\n<td>Approved as Frictionless</td>\n</tr>\n<tr>\n<td>98</td>\n<td>Invalid merchant</td>\n<td>Invalid merchant</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"ae78f8c2-52b7-4324-96e8-ce9b7c61a184","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]},"isInherited":true,"source":{"_postman_id":"81083972-8ba2-4d43-b05a-856021e9b1af","id":"81083972-8ba2-4d43-b05a-856021e9b1af","name":"Ecommerce API Documentation Simple","type":"collection"}}}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"TerminalSys/kapital"},{"key":"password","value":"kapital123"}]}},"event":[{"listen":"prerequest","script":{"id":"c5db2b28-bb1d-43fb-850b-4e420e9a482a","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"31738d62-4a4a-4a81-b68c-82d814478990","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://txpgtst.kapitalbank.az/api","type":"string"},{"key":"Username","value":"TerminalSys/kapital","type":"string"},{"key":"Password","value":"kapital123","type":"string"},{"key":"id","value":"{id}","type":"string"},{"key":"orderPassword","value":"{password}","type":"string"}]}