{"info":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","description":"<html><head></head><body><p><img src=\"https://banqopenapistorage.blob.core.windows.net/doc-images/icons/logo.png\" alt=\"logo\"></p>\n<h1 id=\"intro\">Intro</h1>\n<p>Banq's Open API helps to integrate with Banq functionality related to payment creation and payments/transaction tracking. Using Open API one can create requests to get paid, browse banqs within the system, retrieve payment transactions, and setup webhooks to get notified about changes.</p>\n<h1 id=\"guides\">Guides</h1>\n<p>Please take a look at the <a href=\"https://developers.banq.com/docs\">guides</a> in our <a href=\"https://developers.banq.com\">developer center</a> for integration information.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Authentication is performed via the <a href=\"https://auth0.com/\">Auth0</a> platform based on API <code>client_id</code> and <code>username/password</code>. Integrators are represented as an M2M Application that that interacts with the <strong>Banq API</strong> on  behalf of the Banq user. <a href=\"https://auth0.com/docs/flows/client-credentials-flow\">Client credentials flow</a> should be used  to obtain the access token and use it in the <code>Authorization</code> header with the <code>Bearer </code> prefix to access <strong>Banq API</strong>.  </p>\n<p>You need to POST to Auth0 endpoint <code>/oauth/token</code> following values (see example in <strong>Authentication</strong> folder:</p>\n<ul>\n<li><code>client_id</code> identifier of the M2M Application</li>\n<li><code>username</code> username for the M2M Application</li>\n<li><code>password</code> password for the M2M Application</li>\n<li><code>audience</code>: <code>https://banq.com/open/api/</code></li>\n<li><code>grant_type</code>: <code>password</code></li>\n</ul>\n<p>All Open API operations are performed on this user's behalf.</p>\n<h1 id=\"error-codes\">Error Codes</h1>\n<p><code>200</code> - the request was performed successfully and the relevant response is returned.<br><code>201</code> - the entity was created successfully and is returned in the response. This entity is accessible at the link sent in the <code>Location</code> response header.<br><code>400</code> - the request was malformed or some business rules were not satisfied. Returns error message.<br><code>401</code> - there were problems with the access token or it is missing.<br><code>403</code> - the operation is forbidden for the current user.<br><code>404</code> - the entity was not found in the system.<br><code>422</code> - due to validation errors or external reasons, the request cannot be processed.</p>\n<h1 id=\"transaction-fail-reasons\">Transaction fail reasons</h1>\n<ul>\n<li><code>None</code> - default transaction fail reason.</li>\n<li><code>ProcessingFailed</code> - processing failed.</li>\n<li><code>LimitsExceeded</code> - limits exceeded.</li>\n<li><code>FingerprintBlacklisted</code> - finger print blacklisted.</li>\n<li><code>BanqError</code> - the banq error.</li>\n<li><code>PrimeTrustError</code> - the prime trust error.</li>\n<li><code>InsufficientBalance</code> - exception is caused by insufficient balance.</li>\n<li><code>CustodialAccountContactIsNotApproved</code> - the custodial account contact is not approved.</li>\n<li><code>ExternalAccountIsDeactivated</code> - the external account is deactivated.</li>\n<li><code>PlaidRequiresReAuthentication</code> - the plaid requires re authentication.</li>\n<li><code>AccountIsFrozen</code> - the account is frozen.</li>\n<li><code>Reversed</code> - transaction is reversed.</li>\n<li><code>Cancelled</code> - transaction is cancelled.</li>\n</ul>\n<h1 id=\"pagination\">Pagination</h1>\n<p>Some endpoints return data in pages. They accept the following query parameters that control pagination:</p>\n<ul>\n<li><code>page</code> - one-based number of the page;</li>\n<li><code>pageSize</code> - the number of items that will be returned.</li>\n</ul>\n<p>The response contains <code>meta</code> property that holds an object with the following data:</p>\n<ul>\n<li><code>resourceCount</code> - total number of filtered items in the system;</li>\n<li><code>pageCount</code> - total number of pages calculated using query parameters <code>page</code> and <code>pageSize</code>.\nThe response also contains property <code>data</code> with a collection of entities.</li>\n</ul>\n<h1 id=\"idempotent-headers\">Idempotent headers</h1>\n<p>The API allows performing idempotent POST requests. To enable this feature one needs to add <code>X-Idempotent-Id</code> header with a unique identifier (GUID). All subsequent requests with this header will return the same response as the first one.</p>\n<h1 id=\"webhooks\">Webhooks</h1>\n<p>Whenever changes to payment or transaction object are made, a webhook is sent to the URL set in POST/PUT <code>api/v1/account-spaces/{accountSpaceId}/webhook-config</code>.<br>The webhook structure looks like this:  </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"accountSpaceId\": 1, // identifier of the account space related to the operation that triggered the webhook\n  \"action\": \"Created\", // a string representation of what happened to the resource\n  \"id\": \"c88d829b-c2c1-4c78-9b07-e7667ee399ff\", // unique identifier of this webhook\n  \"resourceId\": \"9bf48226-79c3-43d2-9be5-264bfef4660d\", // identifier of the entity that has changed\n  \"resourceType\": \"Transaction\", // the type of the entity\n  \"createdAtUtc\": \"2021-01-11T12:12:12.5431424+00:00\" // time of webhook creation\n}\n</code></pre>\n<p>For now, we send webhooks for <code>resourceType</code>:  </p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><code>\"resourceType\"</code></th>\n<th><code>\"action\"</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>\"Payment\"</code></td>\n<td><code>\"Created\"</code>, <code>\"Completed\"</code>, <code>\"Accepted\"</code>, <code>\"Declined\"</code>, <code>\"OnHold\"</code>, <code>\"Canceled\"</code>, <code>\"Expired\"</code>, <code>\"Resumed\"</code>, <code>\"OccurrenceCanceled\"</code></td>\n</tr>\n<tr>\n<td><code>\"Transaction\"</code></td>\n<td><code>\"Created\"</code>, <code>\"Failed\"</code>, <code>\"Updated\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"payments\">Payments</h1>\n<p>Our notification system sends webhooks whenever there are some changes in payments or transactions. For example, let us consider a typical Open API flow:</p>\n<ul>\n<li>Integrator creates a one time request to get paid via <code>api/v1/payments/get-paid-direct</code>: a <strong>payment</strong> entity is created in Banq system; webhook with <code>\"resourceType\": \"Payment\"</code> and <code>\"action\": \"Created\"</code> is scheduled.</li>\n<li>A Banq user accepts this request via mobile app:<ul>\n<li>a <strong>payment</strong> status changes to <code>\"Accepted\"</code>; webhook with <code>\"resourceType\": \"Payment\"</code> and <code>\"action\": \"Accepted\"</code> is scheduled.</li>\n<li>a <strong>transaction</strong> is created:<ul>\n<li>if it is successfull, a webhook with <code>\"resourceType\": \"Transaction\"</code> and <code>\"action\": \"Created\"</code> is scheduled.</li>\n<li>if it fails, a webhook with <code>\"resourceType\": \"Transaction\"</code> and <code>\"action\": \"Failed\"</code> is scheduled.</li>\n</ul>\n</li>\n<li>a <strong>payment</strong> status changes to <code>\"Completed\"</code>; a webhook with <code>\"resourceType\": \"Payment\"</code> and <code>\"action\": \"Completed\"</code> is scheduled.</li>\n</ul>\n</li>\n</ul>\n<h1 id=\"webhook-message-authentication\">Webhook message authentication</h1>\n<p>To enable integrity and authenticity verification of a HTTP webhook message, we append a <code>X-Banq-Webhook-Hmac</code> header with base 64 encoded HMAC value. This HMAC value is calculated over the webhook request body using <code>SharedSecret</code>. <code>SharedSecret</code> is set in the request body to POST <code>api/v1/account-spaces/{accountSpaceId}/webhook-config</code> endpoint. HMAC value is calculated with SHA256 hashing algorithm.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Intro","slug":"intro"},{"content":"Guides","slug":"guides"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"Transaction fail reasons","slug":"transaction-fail-reasons"},{"content":"Pagination","slug":"pagination"},{"content":"Idempotent headers","slug":"idempotent-headers"},{"content":"Webhooks","slug":"webhooks"},{"content":"Payments","slug":"payments"},{"content":"Webhook message authentication","slug":"webhook-message-authentication"}],"owner":"11378575","collectionId":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","publishedId":"TVzSjHF8","public":true,"customColor":{"top-bar":"303030","right-sidebar":"303030","highlight":"7622A9"},"publishDate":"2021-03-25T18:42:35.000Z"},"item":[{"name":"Guided Walkthrough","item":[{"name":"Generate access token","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"token\", jsonData.access_token);"],"type":"text/javascript","id":"9229bab6-35ef-478a-b054-b2328c5a28d2"}}],"id":"42a4527d-6ddf-476d-8223-76bead9a0a5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\":\"{{client_id}}\",\n    \"username\":\"{{username}}\",\n    \"password\":\"{{password}}\",\n    \"audience\":\"https://banq.com/open/api/\",\n    \"grant_type\":\"password\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{authTenat}}.auth0.com/oauth/token","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["oauth","token"],"host":["{{authTenat}}","auth0","com"],"query":[],"variable":[]}},"response":[{"id":"0e839dc6-2901-484b-aaa1-810a50c5ac41","name":"Generate access token","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": \"<api key>\",\n    \"client_secret\": \"<api secret>\",\n    \"audience\": \"https://banq.com/open/api/\",\n    \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{authTenat}}.auth0.com/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Dec 2020 20:51:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"603385c229cb2deb-KBP"},{"key":"Cache-Control","value":"no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"cf-request-id","value":"071411ed5a00002deb490d3000000001"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"ot-baggage-auth0-request-id","value":"603385c229cb2deb"},{"key":"ot-tracer-sampled","value":"true"},{"key":"ot-tracer-spanid","value":"44ac0ca6221c8129"},{"key":"ot-tracer-traceid","value":"056723b774cb0821"},{"key":"Pragma","value":"no-cache"},{"key":"X-Auth0-RequestId","value":"a5f2819f4eb370885359"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-RateLimit-Limit","value":"1000000"},{"key":"X-RateLimit-Remaining","value":"999999"},{"key":"X-RateLimit-Reset","value":"1608238291"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik5URXhSRUZETmpkRFF6UkZRelZEUmtFM1JqUXlPVFl4TlRneE1VUXdNVGM0TlRjeE1UTTBPUSJ9.eyJpc3MiOiJodHRwczovL2Rldi03N3V0a2hicC5hdXRoMC5jb20vIiwic3ViIjoiY0JiMGJoV2ZlTmp4QnBwWGlRNWd1VlN0VjRhYU9mRGtAY2xpZW50cyIsImF1ZCI6Imh0dHBzOi8vYmFucS5jb20vb3Blbi9hcGkvIiwiaWF0IjoxNjA4MjM4MjkwLCJleHAiOjE2MDgzMjQ2OTAsImF6cCI6ImNCYjBiaFdmZU5qeEJwcFhpUTVndVZTdFY0YWFPZkRrIiwiZ3R5IjoiY2xpZW50LWNyZWRlbnRpYWxzIn0.o7uwLe7lQRIvx1EpNYSB6mPzI7xb-zWiKPJEeXek_rZrOZDHcyeer9DSjd35dZmvuvaWrWuHLYlT7dOwdEXzim3yL6xYh3Xf1zy1dwrhCJnsy0krnH-xZ3e1EEFiZSB6uUKdyhmkboLP44w_mL4UxxeSvdBX5AEIHaAG7lhITKulU1zYSwWsHsyr5dxStgKzO9vmH63EuQJx8u3nwr8bZqzRebny5h0PMwozwyosoCAlR8xvATkFCmx0KVLkz7QmWZRszdEA7o7PDy6hX1X1zO3EZh2FOzUPG94NLGyVb8vX7sTtmy255J71WDT4RgFsLxlKvkXOPZB_lwd68hWHXQ\",\n    \"expires_in\": 86400,\n    \"token_type\": \"Bearer\"\n}"}],"_postman_id":"42a4527d-6ddf-476d-8223-76bead9a0a5a"},{"name":"Setup Webhook-config on accountSpace","id":"d62c0dea-23d9-4fb2-86ea-7f183a09548f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"url\": \"string\",\n  \"enabled\": true,\n  \"retryCount\": 10,\n  \"sharedSecret\": \"string\",\n  \"webHookTypes\": [\n    \"payment\", \"transaction\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/account-spaces/{{accountSpaceId}}/webhook-config","urlObject":{"path":["v1","account-spaces","{{accountSpaceId}}","webhook-config"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"10056250-8f8b-4842-9456-7abed23b83c7","name":"Setup Webhook-config on accountSpace","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"url\": \"https://webhook.site/4cc18bb9-98f4-41a4-894a-6c072029470e\",\n  \"enabled\": true,\n  \"retryCount\": 5,\n\n  \"webHookTypes\": [\n    \"payment\", \"transaction\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/account-spaces/14809/webhook-config"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Location","value":"http://aks-banq-stage-01.eastus.cloudapp.azure.com/api/v1/accounts/14809/webhook-config"},{"key":"Request-Context","value":"appId=cid-v1:237bf36d-e4ca-49e1-8a9b-1a7760711338"},{"key":"api-supported-versions","value":"1.0"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"},{"key":"X-Cache","value":"CONFIG_NOCACHE"},{"key":"X-Azure-Ref","value":"0eswCYQAAAAB1WOjG4HQ0Ro9cTiJf75kVRE5BRURHRTA0MDkAODA1YzY5ZDEtNTg3YS00ZjA5LTk3NWUtNjdhYjAxOGQxNjA2"},{"key":"Date","value":"Thu, 29 Jul 2021 15:42:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"accountSpaceId\": 14809,\n        \"id\": 137,\n        \"url\": \"https://webhook.site/4cc18bb9-98f4-41a4-894a-6c072029470e\",\n        \"enabled\": true,\n        \"guid\": \"8ba874b4-44c6-43d5-ad8c-69ed8699a11a\",\n        \"createdById\": 13882,\n        \"updatedById\": 13882,\n        \"createdAtUtc\": \"2021-07-29T15:42:50.4035371+00:00\",\n        \"updatedAtUtc\": \"2021-07-29T15:42:50.4035371+00:00\",\n        \"retryCount\": 5,\n        \"sharedSecret\": \"3c5c22c1-e66e-4b44-acd0-774cc3795e95\",\n        \"webHookTypes\": [\n            \"payment\",\n            \"transaction\"\n        ],\n        \"type\": \"webhook-config\"\n    }\n}"}],"_postman_id":"d62c0dea-23d9-4fb2-86ea-7f183a09548f"},{"name":"Create Get Paid payment link","id":"dd5a9f93-3935-4aec-a613-5a1167e852a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Idempotent-Id","value":"468e5c6a-a2af-408d-b597-7d55a632a70f","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"destination\": {\r\n        \"banqGuid\": \"{{banqGuid}}\"\r\n    },\r\n    \"funds\": 1,\r\n    \"frequency\": \"once\",\r\n    \"startDate\": null,\r\n    \"endDate\": null,\r\n    \"comment\": \"order description\",\r\n    \"externalOrderCode\": \"# form other system\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/get-paid-link","description":"<p><em>Creates the get paid link..</em></p>\n","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","payments","get-paid-link"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e1692352-4617-41f0-a9df-2ea5ecf48d3f","name":"Create Get Paid payment link","originalRequest":{"method":"POST","header":[{"key":"","type":"text","value":"","disabled":true},{"key":"X-Idempotent-Id","value":"57f025ca-4a67-44d4-a17b-912b5c0563e7","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"destination\": {\r\n        \"banqGuid\": \"{{banqGuid}}\"\r\n    },\r\n    \"funds\": 1,\r\n    \"frequency\": \"once\",\r\n    \"startDate\": null,\r\n    \"endDate\": null,\r\n    \"comment\": \"order description\",\r\n    \"externalOrderCode\": \"# form other system\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/get-paid-link"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 11:30:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"url\": \"https://banqpt.app.link/YMt7M7QMtcb\",\n        \"type\": \"get-paid-link\"\n    }\n}"}],"_postman_id":"dd5a9f93-3935-4aec-a613-5a1167e852a9"},{"name":"Create Get Paid payment QR","id":"040f7ebe-dcd4-4c56-b15f-f3ef43effe4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"destination\": {\r\n        \"banqGuid\": \"{{banqGuid}}\"\r\n    },\r\n    \"funds\": 1,\r\n    \"frequency\": \"once\",\r\n    \"startDate\": null,\r\n    \"endDate\": null,\r\n    \"comment\": \"order description\",\r\n    \"externalOrderCode\": \"# form other system\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/get-paid-qr","description":"<p><em>Creates the get paid link..</em></p>\n","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","payments","get-paid-qr"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"0e7abb0f-4643-4a9d-a8f5-373c31a0fb14","name":"Create Get Paid payment QR","originalRequest":{"method":"POST","header":[{"key":"","type":"text","value":"","disabled":true},{"key":"X-Idempotent-Id","type":"text","value":"1cc87f3b-081d-4e63-9810-15710cabf36d","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"destination\": {\r\n        \"banqGuid\": \"{{banqGuid}}\"\r\n    },\r\n    \"funds\": 1,\r\n    \"frequency\": \"once\",\r\n    \"startDate\": null,\r\n    \"endDate\": null,\r\n    \"comment\": \"order description\",\r\n    \"externalOrderCode\": \"# form other system\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/get-paid-qr"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 11:30:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"size\": \"small\",\n            \"base64Content\": \"iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABHNCSVQICAgIfAhkiAAAA7pJREFUeJzt3NtOHEEMRdEJyv//MnlARK0G97js4+qBs9djVJeGWC7q+ngAAAAAAAAAAIDf7E+hzrv8Kz5cfctqn8e23hP/nm3rKGo3647f4xdvQx+BH4IAMEcAmPsraKMy/n2KxsGr8TEzvkflr0TtRn1k2j3/HN1vzPSxhAxgjgAwpxgCjjLpKJPulFPCqPxVH5npYncaGFH9DlPIAOYIAHPqIUAlOwvI1M+s5J3Lrab9qeFgHBnAHAFg7lWHgLNMelZu2lQWeTr93YYMYI4AMKceAlQpL7tIc5RZQKmk5x17AatlZMgA5ggAc4ohYOJoU3aRJrO9mj0StlpHuRA0dTzsKTKAOQLA3KsuVFT2ArppVJXSWQjCz0EAmFOkqO7Fi07dzpp9t91MH+d2MuVWy7T+D8kA5ggAcwSAucpKYHeDo7s/v3qZJNt3dBlk9TuuqC6AZFc0nyIDmCMAzKlXqlYvNVQubUT9daeEndPGlZ9DNX1e6fMLMoA5AsCcYu96x355hvIpmKn0vNrfIygTtbOMDGCOADA3eSp4Na1VjmutqvxVnvmO7Pd1hsuRoYgMYI4AMKeeBWTqdO/wdRZ/poYZ5TG1rbMnMoA5AsDc5JGw1bpHlUeiphakOgsw3QsuI4s/R2QAcwSAOcWJoE65yl/PO/YSov4qT9tG5VQLO5wIQh0BYG7y7trUXkDnO7K63xu1o1pgkiEDmCMAzBEA5iaPhK32uXvql/07Y+qyZucZmug7lpEBzBEA5tSbQVHbU5szyqFh90ngTt/cDYQGAWDujreCu6dpo7ZWVa6mR+68G8gsAHUEgLldC0FTV8JX6ytnELtfH8sOg8wCkEcAmFM/bT7x3u5VH5X6UTuqtfbsQ1SdmQ2ngqFBAJi7ezt46o3d7paz6p3j7h3H8ZkGGcAcAWBu8nr41Cxgte+o/I73+KYWza4wBCCPADCnXgjK9KM83Dh1xbpzgmn3CaJsnW+RAcwRAOYIAHPjlw+Lui+RRXWn/n7Jlp84MseRMNQRAOYmn4hZFb2Le+6zs5o2NdWMyivbHUEGMEcAmFNcDJl4vmXqHd/Kca3d9wSPpobb/8gA5ggAc+q7gTtOtE4MB2dTwwGvhOG1EADm1EPADsoHKCOZ1Nt52Clb/5Eow91A1BEA5l51CLhKY6vpuVJmx9Pxmb7HF6TIAOYIAHN3PBKVMXUiKCtKt7tfGGEvALMIAHOKIWAiTVVe1lCm5Ikt7rPdJ5u+RQYwRwCYIwAAAAAAAAAAAAB+sX+O5/PrVPyicwAAAABJRU5ErkJggg==\",\n            \"type\": \"get-paid-qr\"\n        },\n        {\n            \"size\": \"medium\",\n            \"base64Content\": \"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAABHNCSVQICAgIfAhkiAAABeVJREFUeJzt3VuSGzkMBMBZx9z/yusD2K1dctAAuyvz2xKtx1QwABH8+gIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADK/dO0zr9N61RZfV86Xt/V/+nT2juPWVX1XnV8F9/+PVz26+4FgHMJAAgmACCYAIBgAgCCfQ+v39WF+JudivDqYz69vqpqeOV7uNM1WH0dlf/fyo7C076LJewAIJgAgGACAIIJAAgmACDYdBfgyuRv1Sufq6O6u7NGZadhdf3JswA7Tv0ulrADgGACAIIJAAgmACCYAIBgAgCCndoGPFXlYaCqtXfWWH2uyoNTlaPN+CE7AAgmACCYAIBgAgCCCQAIpgtQo7J6XnngqKp63tHN2HmM7sAP2QFAMAEAwQQABBMAEEwAQLBTuwCnVnc7Lu2oHEHVUT1/y8UgV079LpawA4BgAgCCCQAIJgAgmACAYNNdgLFrkTdNTrmpXKPjdTxtItDTvosl7AAgmACAYAIAggkACCYAIJgAgGCvPuhwg46LQSbbUU9r0fn+/pAdAAQTABBMAEAwAQDBBAAEm66i7lR3O6rklRd9rK6xavL9qFR5icrkc+18d8f+Du0AIJgAgGACAIIJAAgmACBY10iwyQscTlz7k8mq89W/n67QV63doWN8Whk7AAgmACCYAIBgAgCCCQAINn0W4ErHb+4rK9s7Jq/uvjL5+jo+j8oKfQddAOA+AgCCCQAIJgAgmACAYAIAgnW1AU+8j/5UHe2zKx2fx6SOcV3T7eUldgAQTABAMAEAwQQABBMAEKxrJNiq6WptVadhuhJe9Z7sVKkruzVVh5o6PvPpS22W2AFAMAEAwQQABBMAEEwAQLBTzwJMrzHZaVj1lm5G5edU6dVnT+wAIJgAgGACAIIJAAgmACDYdMVyspI6fRHF6hqVv6F3+cj/f8zq2p9M/739wQ4AggkACCYAIJgAgGACAIIJAAjWNRKs8tBG1XN1HD45ru3zHzralpVrrz7XqeO6xtrhdgAQTABAMAEAwQQABBMAEOxpVeqvr2ddDNLhaeO6KseOPW2E2XHsACCYAIBgAgCCCQAIJgAg2KkXg1RWcf3m/08dl6hc6RjXdeXUS1TGvj92ABBMAEAwAQDBBAAEEwAQbLp6PXlxxqlV50lPm6Rz5S1nF0wEAu4jACCYAIBgAgCCCQAIJgAgWNfFIKsm75D/9JgrHYdoKlW+vx0t06q1Kw8DVXIYCOgnACCYAIBgAgCCCQAI9qaRYCeOaJoeD+Uik/t0jFVzGAi4jwCAYAIAggkACCYAINh0F+DKzu/0Jyu/Vzoq+jtO7Jh8UtVFmj6zcdwYODsACCYAIJgAgGACAIIJAAg23QWYvB781PMGT7u6u0pH56fyopbp96SEHQAEEwAQTABAMAEAwQQABBMAEOzUNmDXc1WtvaOj7TTZ1rsyOfLsae+hNiBwHwEAwQQABBMAEEwAQLDpLkClt4+5Wn2eTyav1Z4ey1Vl8nBWGTsACCYAIJgAgGACAIIJAAh23EUFh+s4h9BxiUqlE8e6veW8we3sACCYAIBgAgCCCQAIJgAg2HfTOif+lvuTq6psZTW649KOJ51p2Fmj8nkiO2J2ABBMAEAwAQDBBAAEEwAQTABAsK424JXJ1stOa6njYMiqnVZjZTvzxMtHrpzYmhxlBwDBBAAEEwAQTABAMAEAwaa7AFcmr+Gu9JZxXTuHaCa7A9Pdl8ewA4BgAgCCCQAIJgAgmACAYKd2Ad6icgRVx9ixK5UV78rRZh2XqDztKvUldgAQTABAMAEAwQQABBMAEEwXYM1qVbajet7xXJVXXldOYuqwWqGfPv+xxA4AggkACCYAIJgAgGACAIIJAAh2ahvw1HFLHYc2Kg+4VNlpbY0dcPmgsg13XEtvhx0ABBMAEEwAQDABAMEEAASb7gI8rZLaMdLpxCr5dFemY7RZVfelcgzc7ewAIJgAgGACAIIJAAgmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACg0m8DzPS3YlEklAAAAABJRU5ErkJggg==\",\n            \"type\": \"get-paid-qr\"\n        },\n        {\n            \"size\": \"large\",\n            \"base64Content\": \"iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAC31JREFUeJzt3UFu5MoRRdGy0fvfsj1peGTgi0Qr9TrvORsQi2SVLnIQ8fkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw//3rpy/gD/rPT1/AxU68J7c8vzf36ulnP/E3Tlh9r275XVx85re44h35909fAABwngAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBv376An7QFbOcXzoxI/zE33j6DFfnwi++iyf2DZx4Hov39vM5s//hqdV7dUJyb4ITAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAUHkZ0BuLCyNWF3icuK7F5/HG4uKkE39jdSnV6ndq0eJ30PP7IicAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJBdAHyXW+bbP7U6e/7pdb25psXZ/ic+x+J7CP/ICQAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIMgyIFasLp+5ZVHPCYvXtbig6PPZvFfEOAEAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAguwCeMb87q87ca8W5/SfcMvs+ROfY/Fzfz72PzDACQAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIKi8DGhxyctNTiw7WVyosvo5/I2tv7HIb2KMEwAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAg6JYZ1uw5MVf8xPtbnY9uhv7XvXlHbvns/MWcAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAgsoLKU4s8LhlkcyJxTAnrL7vi/fqjdX7+9TiIqvFa/p8Nq/LcqYvcgIAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABP366Qv4g57Of16d/Vyde706h7w66/zN37jlXi1a/M6ecuK3/Zb/H484AQCAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABF2x0OCgxcUiq0t0Ft+tWxYnVZ/f57O5GOaNE/f3lnu1aPX78YgTAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACDoinnGvy3OvV79G3zd4jM/YfXdXbxXq57e39VdGbfsZpjjBAAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAEPTrpy/gL1NdrmExzJbFd+TzOXNdi9/B1WU1i9/BN39j8XlcwQkAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAEHRidvcpJ2ZSn7D4OVbnwi/eqzdumdl+ywz2xXd31eJuBr7ICQAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIKi8ZKG8lOLEIpJbFqosLju55d1dfH6nLC5nqn5ns5wAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEG/fvoC/qATM6afWrymz8fMb/7Z6vM7cV2L39vVHRO3WNyb8O2cAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAgq5YaDDsxAKPN04svkgu13jpliUs1Xf3jeqinvL3fI4TAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACDoprnMt8wIf2px/vobN72LixZ3M6y+V4v36o3F38TV393VZ/itnAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIKSCxB+W10wsbhcY/U9ueVzLHrz/Xh6fxeXa61aXc60+MzLv4mPOAEAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAgn799AX8ZRbnP5fndz9Vnj2/+O4uXtPn033fT8zQX7X6Ln4rJwAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgKCbFiDcsviiuqjnjepnP7EA6haW1WxZfXdP/P+Y4wQAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACLpinvFvi3PhV+den7D4PE5YnT1vx8T3OfE9X/0tWXzfb3mvvp0TAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABA0E1LE54upXjz2W9ZfLG46GXxmj6fM+/VU7fcq1XVRT2L17Tqiv+dTgAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAoCvmGf92y9zrW57J4szv1Wf+VHlO/1Or36dbdpcs7vw4YfW9esQJAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAg6IqFBr9Vl0wsLvxYtbqc6ZZnuLjgZvFzl93yPK74TXQCAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAARdMc+YSYsz299YnCt+y+z5E7sATrhlp8Ebi/sf3li9v9/KCQAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIOjXT1/AH7S4JOQWbxZlnFhws7hEp7wY5qkTz/yE1d+e6nvFFzkBAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIJu2gXwVHnu9YnZ5SfmkK/OYH/qlr0JT/9G+ZmfsPgb5/kNcQIAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgqLwN6Y3GRxeLCj1NOLLhZtLpE58QCqOozv+VzlH+v5jgBAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAILsAuBvdmL2/FNvZrbfMt9+cc77ib0Jq7sZTrxXi9+p1Wc+xwkAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACDIMiC+y4llGYsLORav6fPZXNryxuLipNXlTCecWKKz+Myv4AQAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACLIL4JnVOe+LTswIP2Fxvv2qEzPbb3mvTlicib94TVlOAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQeVlQJZSfK8Ti2FOLHqpLpNZfR6LVn9LTnwHn3rzjlgA9U2cAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwP/8Fubb2U/mavEgAAAAASUVORK5CYII=\",\n            \"type\": \"get-paid-qr\"\n        }\n    ]\n}"}],"_postman_id":"040f7ebe-dcd4-4c56-b15f-f3ef43effe4d"},{"name":"Get payment","id":"5cc5e479-a6bd-4f35-9d1a-6270a3ef0951","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/payments/{{paymentId}}","description":"<p><em>Gets the specified payment by payment id</em></p>\n","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","payments","{{paymentId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"04eb292d-0bb1-4d53-922b-b435524c05b9","name":"Get payment","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":"{{baseUrl}}/v1/payments/{{paymentId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 15:34:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 11858,\n    \"guid\": \"f6b659cb-8bc2-4d8c-b38d-c63f88aba492\",\n    \"createdAt\": \"2020-12-18T10:02:31.2199108+00:00\",\n    \"updatedAt\": \"2020-12-18T10:03:16.0962363+00:00\",\n    \"status\": \"completed\",\n    \"createdBy\": 3477,\n    \"startDate\": \"2020-12-18\",\n    \"frequency\": \"once\",\n    \"flowType\": \"getPaid\",\n    \"type\": \"pay\",\n    \"moveType\": \"internal\",\n    \"source\": {\n        \"accountId\": 325,\n        \"banq\": {\n            \"id\": 325,\n            \"banqGuid\": \"9d1d96f3-589a-4b3b-93d5-55c151f5aba0\",\n            \"banqType\": \"full\",\n            \"custodialNumber\": 420091154606,\n            \"transactionName\": \"Sergey\"\n        },\n        \"type\": \"banq\",\n        \"banqGuid\": \"9d1d96f3-589a-4b3b-93d5-55c151f5aba0\"\n    },\n    \"destination\": {\n        \"accountId\": 4152,\n        \"banq\": {\n            \"id\": 4924,\n            \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n            \"banqType\": \"full\",\n            \"custodialNumber\": 420018405648,\n            \"banqName\": \"Euphoria\",\n            \"transactionName\": \"Euphoria\"\n        },\n        \"type\": \"banq\",\n        \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\"\n    },\n    \"comment\": \"R-555555\",\n    \"funds\": 100,\n    \"tips\": 0\n}"}],"_postman_id":"5cc5e479-a6bd-4f35-9d1a-6270a3ef0951"}],"id":"5e005e34-e2e1-448d-97e4-7acb00e08404","description":"<p>The guided walkthrough gives a basic workflow to API calls made after receiving your API credentials. It covers the general use case of</p>\n<ul>\n<li>Generating an access token for authenticated calls</li>\n<li>Setting up a webhook config on your merchant account to receive async updates</li>\n<li>Creating a payment link to pass along to an end-user</li>\n<li>Getting an update on a payment using information received in a webhook</li>\n</ul>\n","_postman_id":"5e005e34-e2e1-448d-97e4-7acb00e08404","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}}},{"name":"Authentication","item":[{"name":"Generate access token","event":[{"listen":"test","script":{"id":"f9a20cdc-1af4-48ca-a777-bd2077cbc25e","exec":["var jsonData = JSON.parse(responseBody);","pm.environment.set(\"token\", jsonData.access_token);"],"type":"text/javascript"}}],"id":"48e95dfa-ef92-4242-9caa-f8fe35cb8d57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": \"{{apiKey}}\",\n    \"username\": \"{{apiUsername}}\",\n    \"password\": \"{{apiPassword}}\",\n    \"audience\": \"{{authAudience}}\",\n    \"grant_type\": \"{{authGrantType}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{authTenat}}.auth0.com/oauth/token","auth":{"type":"noauth","isInherited":true,"source":{"_postman_id":"30b3f70d-8018-4800-b948-6e0b1fbeffa0","id":"30b3f70d-8018-4800-b948-6e0b1fbeffa0","name":"Authentication","type":"folder"}},"urlObject":{"protocol":"https","path":["oauth","token"],"host":["{{authTenat}}","auth0","com"],"query":[],"variable":[]}},"response":[{"id":"052df852-6abf-48c2-a208-8e8359b5bee7","name":"Generate access token","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"client_id\": \"<api key>\",\n    \"client_secret\": \"<api secret>\",\n    \"audience\": \"https://banq.com/open/api/\",\n    \"grant_type\": \"client_credentials\"\n}","options":{"raw":{"language":"json"}}},"url":"https://{{authTenat}}.auth0.com/oauth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 17 Dec 2020 20:51:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"603385c229cb2deb-KBP"},{"key":"Cache-Control","value":"no-store"},{"key":"Strict-Transport-Security","value":"max-age=31536000"},{"key":"Vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"cf-request-id","value":"071411ed5a00002deb490d3000000001"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"ot-baggage-auth0-request-id","value":"603385c229cb2deb"},{"key":"ot-tracer-sampled","value":"true"},{"key":"ot-tracer-spanid","value":"44ac0ca6221c8129"},{"key":"ot-tracer-traceid","value":"056723b774cb0821"},{"key":"Pragma","value":"no-cache"},{"key":"X-Auth0-RequestId","value":"a5f2819f4eb370885359"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-RateLimit-Limit","value":"1000000"},{"key":"X-RateLimit-Remaining","value":"999999"},{"key":"X-RateLimit-Reset","value":"1608238291"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"access_token\": \"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6Ik5URXhSRUZETmpkRFF6UkZRelZEUmtFM1JqUXlPVFl4TlRneE1VUXdNVGM0TlRjeE1UTTBPUSJ9.eyJpc3MiOiJodHRwczovL2Rldi03N3V0a2hicC5hdXRoMC5jb20vIiwic3ViIjoiY0JiMGJoV2ZlTmp4QnBwWGlRNWd1VlN0VjRhYU9mRGtAY2xpZW50cyIsImF1ZCI6Imh0dHBzOi8vYmFucS5jb20vb3Blbi9hcGkvIiwiaWF0IjoxNjA4MjM4MjkwLCJleHAiOjE2MDgzMjQ2OTAsImF6cCI6ImNCYjBiaFdmZU5qeEJwcFhpUTVndVZTdFY0YWFPZkRrIiwiZ3R5IjoiY2xpZW50LWNyZWRlbnRpYWxzIn0.o7uwLe7lQRIvx1EpNYSB6mPzI7xb-zWiKPJEeXek_rZrOZDHcyeer9DSjd35dZmvuvaWrWuHLYlT7dOwdEXzim3yL6xYh3Xf1zy1dwrhCJnsy0krnH-xZ3e1EEFiZSB6uUKdyhmkboLP44w_mL4UxxeSvdBX5AEIHaAG7lhITKulU1zYSwWsHsyr5dxStgKzO9vmH63EuQJx8u3nwr8bZqzRebny5h0PMwozwyosoCAlR8xvATkFCmx0KVLkz7QmWZRszdEA7o7PDy6hX1X1zO3EZh2FOzUPG94NLGyVb8vX7sTtmy255J71WDT4RgFsLxlKvkXOPZB_lwd68hWHXQ\",\n    \"expires_in\": 86400,\n    \"token_type\": \"Bearer\"\n}"}],"_postman_id":"48e95dfa-ef92-4242-9caa-f8fe35cb8d57"}],"id":"30b3f70d-8018-4800-b948-6e0b1fbeffa0","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"fb9cbfc5-9321-41b1-8219-2565f14eb7c7"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"68441ed9-56ac-4bf4-8e92-91532dace64c"}}],"_postman_id":"30b3f70d-8018-4800-b948-6e0b1fbeffa0","description":""},{"name":"Banqs","item":[{"name":"Find banq by name, number or guid","id":"12fa71a7-313d-45ed-8d4d-65b14615f21a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/banqs?name={{banqName}}","description":"<p><em>Gets the BanqInfo by number, name or guid</em></p>\n<h5>Filters</h5>\nname: \"Euphoria\" (banq name);\n\n<p>banqGuid: 2dd64995-c36e-4d76-9b67-ab9d46da8f5e (banq unique ID);</p>\n<p>number: 420018405648  (banq ID (external)).</p>\n<h5>Response body</h5>\ndata:\n\n<ul>\n<li>banqId (string, length - 12) - banq ID (external);</li>\n<li>guid (Guid) - banq unique ID;</li>\n<li>name (string) - banq name;</li>\n<li>banqType: Limited, Full ;</li>\n<li>accountType: Personal, Merchant;</li>\n<li>IndustryIds (int).</li>\n</ul>\n<h5>Headers</h5>\n\n<ul>\n<li>X-Company-Id</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","banqs"],"host":["{{baseUrl}}"],"query":[{"key":"name","value":"{{banqName}}"},{"disabled":true,"key":"banqGuid","value":"{{banqGuid}}"},{"disabled":true,"key":"number","value":"{{banqNumber}}"}],"variable":[]}},"response":[{"id":"bdcec5e6-d8b4-4532-b615-0332bdfac591","name":"Find banq by name","originalRequest":{"method":"GET","header":[{"key":"X-Company-Id","value":"{{companyId}}","type":"text"}],"url":{"raw":"{{baseUrl}}/v1/banqs?name={{banqName}}","host":["{{baseUrl}}"],"path":["v1","banqs"],"query":[{"key":"name","value":"{{banqName}}"},{"key":"banqGuid","value":"{{banqGuid}}","disabled":true},{"key":"number","value":"{{banqNumber}}","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 15:35:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"banqId\": \"420018405648\",\n            \"guid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n            \"name\": \"Euphoria\",\n            \"banqType\": \"full\",\n            \"accountType\": \"merchant\",\n            \"industryIds\": [\n                15\n            ]\n        }\n    ]\n}"}],"_postman_id":"12fa71a7-313d-45ed-8d4d-65b14615f21a"},{"name":"Get banq details","id":"6d41a8d5-185e-486e-9aa6-a4a53065f8af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/banqs/{{banqId}}","description":"<p><em>Gets the Banq by ID.</em></p>\n<h5>Response body.</h5>\n\n<p><code>accountId</code> (int) ;</p>\n<p><code>id</code> (int) - banq ID;</p>\n<p><code>banqId</code> (string, length - 12) - banq ID (external);</p>\n<p><code>guid</code> (Guid) - banq unique ID;</p>\n<p><code>name</code> (string) - banq name;</p>\n<p><code>balance</code> (decimal);</p>\n<p><code>isPrimary</code> (bool);</p>\n<p><code>isNameSearchable</code> (bool);</p>\n<p><code>useTransactionName</code> (bool);</p>\n<p><code>transactionName</code> (string, max length - 60);</p>\n<p><code>banqType</code>: Limited, Full.</p>\n<h5>Headers</h5>\n\n<ul>\n<li>X-Company-Id</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","banqs","{{banqId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e92e1a31-c834-4db5-af17-cc977f2447e4","name":"Get banq details","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":"{{baseUrl}}/v1/banqs/{{banqId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 15:35:17 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"accountId\": 4152,\n    \"id\": 4924,\n    \"banqId\": \"420018405648\",\n    \"guid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n    \"name\": \"Euphoria\",\n    \"balance\": 99,\n    \"isPrimary\": true,\n    \"isNameSearchable\": true,\n    \"useTransactionName\": true,\n    \"transactionName\": \"Euphoria\",\n    \"banqType\": \"full\"\n}"}],"_postman_id":"6d41a8d5-185e-486e-9aa6-a4a53065f8af"},{"name":"Create Banq","id":"8fb00b49-72fe-4817-b646-2c40b37ecf14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Idempotent-Id","value":"9afc08d9-6c1d-473f-a72e-b347fd7d2d75","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"accountId\": {{accountId}},\r\n  \"name\": \"banq name\",\r\n  \"nickName\": \"banq nick name\",\r\n  \"useTransactionName\": true,\r\n  \"isNameSearchable\": true,\r\n  \"transactionName\": \"transaction name\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/banqs/","description":"<p><em>Creates the get paid link..</em></p>\n<h5>Request body</h5>\n\n<p>destination - required:</p>\n<ul>\n<li><code>banqguid</code> (Guid) - required - banq unique ID;</li>\n</ul>\n<p><code>funds</code> (decimal) - required;</p>\n<p><code>frequency</code>: Once, Daily, Weekly, Biweekly, Monthly, Quarterly, EverySixMonths, Yearly - payment frequency;</p>\n<p><code>startDate</code> (DateTime);</p>\n<p><code>endDate</code> (DateTime);</p>\n<p><code>comment</code> (string);</p>\n<p><code>externalOrderCode</code> (string).</p>\n<h5>Response body</h5>\ndata:\n\n<ul>\n<li><p><code>url</code> (string) - paid link;</p>\n</li>\n<li><p><code>type</code> (string) - response type;</p>\n</li>\n</ul>\n<h5>Headers</h5>\n\n<ul>\n<li>X-Idempoent-Id</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","banqs",""],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"3d6bfe59-4ebe-4183-9820-2961104d3cf9","name":"Create Banq","originalRequest":{"method":"POST","header":[{"key":"X-Company-Id","type":"text","value":"{{companyId}}"},{"key":"X-Idempotent-Id","value":"f9391a16-f9f6-42a3-8d87-c436e5555257","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"accountId\": {{accountId}},\r\n  \"name\": \"banq name\",\r\n  \"nickName\": \"banq nick name\",\r\n  \"useTransactionName\": true,\r\n  \"isNameSearchable\": true,\r\n  \"transactionName\": \"transaction name\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/banqs/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 11:30:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 498,\n    \"guid\": \"f4002133-4c51-4099-9740-77fbc501a970\",\n    \"createdAt\": \"2021-05-17T12:35:46.6201908+00:00\",\n    \"updatedAt\": \"2021-05-17T12:35:48.3797781+00:00\",\n    \"status\": \"completed\",\n    \"createdBy\": 1090,\n    \"performedBy\": 1090,\n    \"endDate\": \"2021-05-17\",\n    \"startDate\": \"2021-05-17\",\n    \"frequency\": \"once\",\n    \"flowType\": \"default\",\n    \"type\": \"pay\",\n    \"moveType\": \"internal\",\n    \"externalOrderCode\": \"string\",\n    \"paymentFlowDirection\": \"moneyOutRequest\",\n    \"paymentViewModelGuid\": \"7c064869-6aac-4f14-991a-666e3dbd86d3\",\n    \"unitCount\": 0,\n    \"assetOperation\": \"none\",\n    \"source\": {\n        \"accountId\": 1188,\n        \"banq\": {\n            \"id\": 1763,\n            \"banqGuid\": \"a982e719-ec0e-42b0-a890-1cb0676995f6\",\n            \"banqType\": \"full\",\n            \"custodialNumber\": 420015945701,\n            \"banqName\": \"stkhokfaejnoqhppibvcqbzasondmaydox\",\n            \"banqNickName\": \"stkhokfaejnoqhppibvcqbzasondmaydox\",\n            \"transactionName\": \"stkhokfaejnoqhppibvcqbzasondmaydox\"\n        },\n        \"accountType\": \"personal-account-space\",\n        \"type\": \"banq\",\n        \"banqGuid\": \"a982e719-ec0e-42b0-a890-1cb0676995f6\"\n    },\n    \"destination\": {\n        \"accountId\": 1189,\n        \"banq\": {\n            \"id\": 1764,\n            \"banqGuid\": \"fd35e90d-6da8-4bd4-9538-f2f058637c5d\",\n            \"banqType\": \"full\",\n            \"custodialNumber\": 420026884200\n        },\n        \"accountType\": \"personal-account-space\",\n        \"type\": \"banq\",\n        \"banqGuid\": \"fd35e90d-6da8-4bd4-9538-f2f058637c5d\"\n    },\n    \"comment\": \"order description\",\n    \"funds\": 1,\n    \"tips\": 0,\n    \"repeatTip\": true\n}"}],"_postman_id":"8fb00b49-72fe-4817-b646-2c40b37ecf14"}],"id":"ae44308a-3a0b-472a-a7ab-da0871a05311","_postman_id":"ae44308a-3a0b-472a-a7ab-da0871a05311","description":"","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}}},{"name":"Payments","item":[{"name":"Get payment","id":"60a889d4-51bf-4b82-9b53-d03f9f09fb65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/payments/{{paymentId}}","description":"<p><em>Gets the specified payment by payment id</em></p>\n<h5>Response body</h5>\n\n<p><code>id</code> (long) - payment ID;</p>\n<p><code>guid</code> (Guid) - payment banqGuid;</p>\n<p><code>createdAt</code> (DateTimeOffset) - payment creation date time;</p>\n<p><code>updatedAt</code> (DateTimeOffset) - payment updating date time;</p>\n<p><code>name</code> (string) - payment name;</p>\n<p><code>status</code>: Pending, Completed, Canceled, Declined, Expired, New, Active, OnHold - payment status;</p>\n<p><code>createdBy</code> (int) - ID of the user that created this payment.;</p>\n<p><code>endDate</code> (DateTime);</p>\n<p><code>startDate</code> (DateTime);</p>\n<p><code>frequency</code>:  Once, Daily, Weekly, Biweekly, Monthly, Quarterly, EverySixMonths, Yearly - payment frequency;</p>\n<p><code>type</code>: Pay, Move - transaction type;</p>\n<p><code>flowType</code>: Pay, GetPaid, Default;</p>\n<p><code>expiresAt</code> (DateTimeOffset);</p>\n<p><code>moveType</code>: Internal, Contribution, Disbursement, Pending;</p>\n<p><code>disbursementType</code>: Plaid,  Ach, InternationalWire, Check, Wire, NotSpecified;</p>\n<p><code>contributionType</code>: Wire, Check, InternationalWire, Plaid, Card;</p>\n<p><code>reference</code> (string);</p>\n<p><code>externalOrderCode</code> (string);</p>\n<p>source:</p>\n<ul>\n<li>accountId (int);</li>\n<li>banq:<ul>\n<li>id (int) - banq id;</li>\n<li>banqGuid (Guid) - banq unigue ID;</li>\n<li>banqType: Limited, Full;</li>\n<li>custodialNumber (long);</li>\n<li>banqName (string);</li>\n<li>transactionName (string);</li>\n</ul>\n</li>\n<li>externalAccount: <ul>\n<li>id (int);</li>\n<li>type: Bank, Card;</li>\n<li>bankName (string);</li>\n<li>cardType: Debit, Credit;</li>\n<li>paymentSystem: Visa, Mastercard;</li>\n<li>last4 (string);</li>\n</ul>\n</li>\n<li>externalAccountId (int);</li>\n<li>type: Banq, External - address type;</li>\n<li>banqGuid (Guid);</li>\n</ul>\n<p>destination:</p>\n<ul>\n<li>accountId (int);</li>\n<li>banq:<ul>\n<li>id (int);</li>\n<li>banqGuid (Guid);</li>\n<li>banqType: Limited, Full;</li>\n<li>custodialNumber (long);</li>\n<li>banqName (string);</li>\n<li>transactionName (string);</li>\n</ul>\n</li>\n<li>externalAccount: <ul>\n<li>id (int);</li>\n<li>type: Bank, Card;</li>\n<li>bankName (string);</li>\n<li>cardType: Debit, Credit;</li>\n<li>paymentSystem: Visa, Mastercard;</li>\n<li>last4 (string);</li>\n</ul>\n</li>\n<li>externalAccountId (int);</li>\n<li>type: Banq, External - address type;</li>\n<li>banqGuid (Guid);</li>\n</ul>\n<p><code>comment</code> (string);</p>\n<p><code>funds</code> (decimal);</p>\n<p><code>tips</code> (decimal).</p>\n","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","payments","{{paymentId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"8adf2987-7e8b-4960-bc48-e29cd3807606","name":"Get payment","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":"{{baseUrl}}/v1/payments/{{paymentId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 15:34:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 11858,\n    \"guid\": \"f6b659cb-8bc2-4d8c-b38d-c63f88aba492\",\n    \"createdAt\": \"2020-12-18T10:02:31.2199108+00:00\",\n    \"updatedAt\": \"2020-12-18T10:03:16.0962363+00:00\",\n    \"status\": \"completed\",\n    \"createdBy\": 3477,\n    \"startDate\": \"2020-12-18\",\n    \"frequency\": \"once\",\n    \"flowType\": \"getPaid\",\n    \"type\": \"pay\",\n    \"moveType\": \"internal\",\n    \"source\": {\n        \"accountId\": 325,\n        \"banq\": {\n            \"id\": 325,\n            \"banqGuid\": \"9d1d96f3-589a-4b3b-93d5-55c151f5aba0\",\n            \"banqType\": \"full\",\n            \"custodialNumber\": 420091154606,\n            \"transactionName\": \"Sergey\"\n        },\n        \"type\": \"banq\",\n        \"banqGuid\": \"9d1d96f3-589a-4b3b-93d5-55c151f5aba0\"\n    },\n    \"destination\": {\n        \"accountId\": 4152,\n        \"banq\": {\n            \"id\": 4924,\n            \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n            \"banqType\": \"full\",\n            \"custodialNumber\": 420018405648,\n            \"banqName\": \"Euphoria\",\n            \"transactionName\": \"Euphoria\"\n        },\n        \"type\": \"banq\",\n        \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\"\n    },\n    \"comment\": \"R-555555\",\n    \"funds\": 100,\n    \"tips\": 0\n}"}],"_postman_id":"60a889d4-51bf-4b82-9b53-d03f9f09fb65"},{"name":"Create Get Paid payment","id":"3e969317-3e92-483b-94aa-9320588fab95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Idempotent-Id","value":"2b2da067-c79f-4909-bef3-755b09c9d338","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"source\": {\r\n        \"banqGuid\": \"{{sourceBanqGuid}}\"\r\n    },\r\n    \"destination\": {\r\n        \"banqGuid\": \"{{banqGuid}}\"\r\n    },\r\n    \"funds\": 1,\r\n    \"frequency\": \"once\",\r\n    \"startDate\": null,\r\n    \"endDate\": null,\r\n    \"comment\": \"order description\",\r\n    \"externalOrderCode\": \"# form other system\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/get-paid-direct","description":"<p><em>Creates the direct get paid payment.</em></p>\n<h5>Request body</h5>\n\n<p>source - required:</p>\n<ul>\n<li><code>banqguid</code> (Guid) - required - source banq unique ID;</li>\n</ul>\n<p>destination - required:</p>\n<ul>\n<li><code>banqguid</code> (Guid) - required - destination banq unique ID;</li>\n</ul>\n<p><code>funds</code> (decimal) - required;</p>\n<p><code>frequency</code>: Once, Daily, Weekly, Biweekly, Monthly, Quarterly, EverySixMonths, Yearly - payment frequency;</p>\n<p><code>startDate</code> (DateTime);</p>\n<p><code>endDate</code> (DateTime);</p>\n<p><code>comment</code> (string);</p>\n<p><code>externalOrderCode</code> (string).</p>\n<h5>Response body</h5>\n\n<p><code>id</code> (long) - payment ID;</p>\n<p><code>guid</code> (Guid) - payment banqGuid;</p>\n<p><code>createdAt</code> (DateTimeOffset) - payment creation date time;</p>\n<p><code>updatedAt</code> (DateTimeOffset) - payment updating date time;</p>\n<p><code>name</code> (string) - payment name;</p>\n<p><code>status</code>: Pending, Completed, Canceled, Declined, Expired, New, Active, OnHold - payment status;</p>\n<p><code>createdBy</code> (int) - ID of the user that created this payment.;</p>\n<p><code>endDate</code> (DateTime);</p>\n<p><code>startDate</code> (DateTime);</p>\n<p><code>frequency</code>:  Once, Daily, Weekly, Biweekly, Monthly, Quarterly, EverySixMonths, Yearly - payment frequency;</p>\n<p><code>type</code>: Pay, Move - transaction type;</p>\n<p><code>flowType</code>: Pay, GetPaid, Default;</p>\n<p><code>expiresAt</code> (DateTimeOffset);</p>\n<p><code>moveType</code>: Internal, Contribution, Disbursement, Pending;</p>\n<p><code>disbursementType</code>: Plaid,  Ach, InternationalWire, Check, Wire, NotSpecified;</p>\n<p><code>contributionType</code>: Wire, Check, InternationalWire, Plaid, Card;</p>\n<p><code>reference</code> (string);</p>\n<p><code>externalOrderCode</code> (string);</p>\n<p>source:</p>\n<ul>\n<li>accountId (int);</li>\n<li>banq:<ul>\n<li>id (int);</li>\n<li>banqGuid (Guid);</li>\n<li>banqType: Limited, Full;</li>\n<li>custodialNumber (long);</li>\n<li>banqName (string);</li>\n<li>transactionName (string);</li>\n</ul>\n</li>\n<li>externalAccount: <ul>\n<li>id (int);</li>\n<li>type: Bank, Card;</li>\n<li>bankName (string);</li>\n<li>cardType: Debit, Credit;</li>\n<li>paymentSystem: Visa, Mastercard;</li>\n<li>last4 (string);</li>\n</ul>\n</li>\n<li>externalAccountId (int);</li>\n<li>type: Banq, External - address type;</li>\n<li>banqGuid (Guid);</li>\n</ul>\n<p>destination:</p>\n<ul>\n<li>accountId (int);</li>\n<li>banq:<ul>\n<li>id (int);</li>\n<li>banqGuid (Guid);</li>\n<li>banqType: Limited, Full;</li>\n<li>custodialNumber (long);</li>\n<li>banqName (string);</li>\n<li>transactionName (string);</li>\n</ul>\n</li>\n<li>externalAccount: <ul>\n<li>id (int);</li>\n<li>type: Bank, Card;</li>\n<li>bankName (string);</li>\n<li>cardType: Debit, Credit;</li>\n<li>paymentSystem: Visa, Mastercard;</li>\n<li>last4 (string);</li>\n</ul>\n</li>\n<li>externalAccountId (int);</li>\n<li>type: Banq, External - address type;</li>\n<li>banqGuid (Guid);</li>\n</ul>\n<p><code>comment</code> (string);</p>\n<p><code>funds</code> (decimal);</p>\n<p><code>tips</code> (decimal).</p>\n<h5>Headers</h5>\n* X-Idempoent-Id","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","payments","get-paid-direct"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"9356be0b-13ce-4b8c-a9e0-cc3f9972d22d","name":"Create Get Paid payment","originalRequest":{"method":"POST","header":[{"key":"","type":"text","value":"","disabled":true},{"key":"X-Idempotent-Id","value":"dc36860d-5610-4752-92da-0e78223cb83b","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"source\": {\r\n        \"banqGuid\": \"{{sourceBanqGuid}}\"\r\n    },\r\n    \"destination\": {\r\n        \"banqGuid\": \"{{banqGuid}}\"\r\n    },\r\n    \"funds\": 1,\r\n    \"frequency\": \"once\",\r\n    \"startDate\": null,\r\n    \"endDate\": null,\r\n    \"comment\": \"order description\",\r\n    \"externalOrderCode\": \"# form other system\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/get-paid-direct"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 11:29:37 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 16038,\n    \"guid\": \"9fc36ff2-2488-4977-bbe2-45039d5d4183\",\n    \"createdAt\": \"2021-01-11T11:29:37.3411354+00:00\",\n    \"updatedAt\": \"2021-01-11T11:29:37.3411354+00:00\",\n    \"status\": \"pending\",\n    \"createdBy\": 3477,\n    \"startDate\": \"2021-01-11\",\n    \"frequency\": \"once\",\n    \"flowType\": \"getPaid\",\n    \"type\": \"pay\",\n    \"moveType\": \"pending\",\n    \"externalOrderCode\": \"# form other system\",\n    \"source\": {\n        \"accountId\": 4638,\n        \"banq\": {\n            \"id\": 5439,\n            \"banqGuid\": \"53c34945-61a2-4140-a543-6e66622c8cfc\",\n            \"banqType\": \"full\",\n            \"custodialNumber\": 420099031248,\n            \"transactionName\": \"Money Source\"\n        },\n        \"type\": \"banq\",\n        \"banqGuid\": \"53c34945-61a2-4140-a543-6e66622c8cfc\"\n    },\n    \"destination\": {\n        \"accountId\": 4152,\n        \"banq\": {\n            \"id\": 4924,\n            \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n            \"banqType\": \"full\",\n            \"custodialNumber\": 420018405648,\n            \"banqName\": \"Euphoria\",\n            \"transactionName\": \"Euphoria\"\n        },\n        \"type\": \"banq\",\n        \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\"\n    },\n    \"comment\": \"order description\",\n    \"funds\": 1,\n    \"tips\": 0\n}"}],"_postman_id":"3e969317-3e92-483b-94aa-9320588fab95"},{"name":"Create Get Paid payment link","id":"6fbfbfec-773e-44eb-b3e4-edf7e5321dc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Idempotent-Id","value":"a6e114ce-9d2b-4e02-9fbe-267d09433de0","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"destination\": {\r\n        \"banqGuid\": \"{{banqGuid}}\"\r\n    },\r\n    \"funds\": 1,\r\n    \"frequency\": \"once\",\r\n    \"startDate\": null,\r\n    \"endDate\": null,\r\n    \"comment\": \"order description\",\r\n    \"externalOrderCode\": \"# form other system\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/get-paid-link","description":"<p><em>Creates the get paid link..</em></p>\n<h5>Request body</h5>\n\n<p>destination - required:</p>\n<ul>\n<li><code>banqguid</code> (Guid) - required - banq unique ID;</li>\n</ul>\n<p><code>funds</code> (decimal) - required;</p>\n<p><code>frequency</code>: Once, Daily, Weekly, Biweekly, Monthly, Quarterly, EverySixMonths, Yearly - payment frequency;</p>\n<p><code>startDate</code> (DateTime);</p>\n<p><code>endDate</code> (DateTime);</p>\n<p><code>comment</code> (string);</p>\n<p><code>externalOrderCode</code> (string).</p>\n<h5>Response body</h5>\ndata:\n\n<ul>\n<li><p><code>url</code> (string) - paid link;</p>\n</li>\n<li><p><code>type</code> (string) - response type;</p>\n</li>\n</ul>\n<h5>Headers</h5>\n* X-Idempoent-Id","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","payments","get-paid-link"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"010f0986-dca2-46d6-8ff9-41ce348ef789","name":"Create Get Paid payment link","originalRequest":{"method":"POST","header":[{"key":"","type":"text","value":"","disabled":true},{"key":"X-Idempotent-Id","value":"c250ffc0-3b8a-4be7-9d64-b854e620125d","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"destination\": {\r\n        \"banqGuid\": \"{{banqGuid}}\"\r\n    },\r\n    \"funds\": 1,\r\n    \"frequency\": \"once\",\r\n    \"startDate\": null,\r\n    \"endDate\": null,\r\n    \"comment\": \"order description\",\r\n    \"externalOrderCode\": \"# form other system\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/get-paid-link"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 11:30:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"url\": \"https://banqpt.app.link/YMt7M7QMtcb\",\n        \"type\": \"get-paid-link\"\n    }\n}"}],"_postman_id":"6fbfbfec-773e-44eb-b3e4-edf7e5321dc0"},{"name":"Create Get Paid payment QR","id":"3b38df4a-2854-42b4-aefd-ef48e6bf2601","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Idempotent-Id","type":"text","value":"34377265-3a50-418b-9afb-241db439b782"}],"body":{"mode":"raw","raw":"{\r\n    \"destination\": {\r\n        \"banqGuid\": \"{{banqGuid}}\"\r\n    },\r\n    \"funds\": 1,\r\n    \"frequency\": \"once\",\r\n    \"startDate\": null,\r\n    \"endDate\": null,\r\n    \"comment\": \"order description\",\r\n    \"externalOrderCode\": \"# form other system\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/get-paid-qr","description":"<p><em>Creates the get paid link..</em></p>\n<h5>Request body</h5>\n\n<p>destination - required:</p>\n<ul>\n<li><code>banqguid</code> (Guid) - required - banq unique ID;</li>\n</ul>\n<p><code>funds</code> (decimal) - required;</p>\n<p><code>frequency</code>: Once, Daily, Weekly, Biweekly, Monthly, Quarterly, EverySixMonths, Yearly - payment frequency;</p>\n<p><code>startDate</code> (DateTime);</p>\n<p><code>endDate</code> (DateTime);</p>\n<p><code>comment</code> (string);</p>\n<p><code>externalOrderCode</code> (string).</p>\n<h5>Response body</h5>\ndata:\n\n<ul>\n<li><p><code>size</code>: Small, Medium, Large - QR code image size;</p>\n</li>\n<li><p><code>base64Content</code> (string) - QR code base64 encoded;</p>\n</li>\n<li><p><code>type</code> (string) - type of response.</p>\n</li>\n</ul>\n<h5>Headers</h5>","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","payments","get-paid-qr"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"c8ddee7d-c428-429a-a3cf-f0e7dcc08139","name":"Create Get Paid payment QR","originalRequest":{"method":"POST","header":[{"key":"","type":"text","value":"","disabled":true},{"key":"X-Idempotent-Id","type":"text","value":"3e6e6c2b-daf7-453f-8611-52ea9bf8f4ec"}],"body":{"mode":"raw","raw":"{\r\n    \"destination\": {\r\n        \"banqGuid\": \"{{banqGuid}}\"\r\n    },\r\n    \"funds\": 1,\r\n    \"frequency\": \"once\",\r\n    \"startDate\": null,\r\n    \"endDate\": null,\r\n    \"comment\": \"order description\",\r\n    \"externalOrderCode\": \"# form other system\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/get-paid-qr"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 11:30:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"size\": \"small\",\n            \"base64Content\": \"iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABHNCSVQICAgIfAhkiAAAA7pJREFUeJzt3NtOHEEMRdEJyv//MnlARK0G97js4+qBs9djVJeGWC7q+ngAAAAAAAAAAIDf7E+hzrv8Kz5cfctqn8e23hP/nm3rKGo3647f4xdvQx+BH4IAMEcAmPsraKMy/n2KxsGr8TEzvkflr0TtRn1k2j3/HN1vzPSxhAxgjgAwpxgCjjLpKJPulFPCqPxVH5npYncaGFH9DlPIAOYIAHPqIUAlOwvI1M+s5J3Lrab9qeFgHBnAHAFg7lWHgLNMelZu2lQWeTr93YYMYI4AMKceAlQpL7tIc5RZQKmk5x17AatlZMgA5ggAc4ohYOJoU3aRJrO9mj0StlpHuRA0dTzsKTKAOQLA3KsuVFT2ArppVJXSWQjCz0EAmFOkqO7Fi07dzpp9t91MH+d2MuVWy7T+D8kA5ggAcwSAucpKYHeDo7s/v3qZJNt3dBlk9TuuqC6AZFc0nyIDmCMAzKlXqlYvNVQubUT9daeEndPGlZ9DNX1e6fMLMoA5AsCcYu96x355hvIpmKn0vNrfIygTtbOMDGCOADA3eSp4Na1VjmutqvxVnvmO7Pd1hsuRoYgMYI4AMKeeBWTqdO/wdRZ/poYZ5TG1rbMnMoA5AsDc5JGw1bpHlUeiphakOgsw3QsuI4s/R2QAcwSAOcWJoE65yl/PO/YSov4qT9tG5VQLO5wIQh0BYG7y7trUXkDnO7K63xu1o1pgkiEDmCMAzBEA5iaPhK32uXvql/07Y+qyZucZmug7lpEBzBEA5tSbQVHbU5szyqFh90ngTt/cDYQGAWDujreCu6dpo7ZWVa6mR+68G8gsAHUEgLldC0FTV8JX6ytnELtfH8sOg8wCkEcAmFM/bT7x3u5VH5X6UTuqtfbsQ1SdmQ2ngqFBAJi7ezt46o3d7paz6p3j7h3H8ZkGGcAcAWBu8nr41Cxgte+o/I73+KYWza4wBCCPADCnXgjK9KM83Dh1xbpzgmn3CaJsnW+RAcwRAOYIAHPjlw+Lui+RRXWn/n7Jlp84MseRMNQRAOYmn4hZFb2Le+6zs5o2NdWMyivbHUEGMEcAmFNcDJl4vmXqHd/Kca3d9wSPpobb/8gA5ggAc+q7gTtOtE4MB2dTwwGvhOG1EADm1EPADsoHKCOZ1Nt52Clb/5Eow91A1BEA5l51CLhKY6vpuVJmx9Pxmb7HF6TIAOYIAHN3PBKVMXUiKCtKt7tfGGEvALMIAHOKIWAiTVVe1lCm5Ikt7rPdJ5u+RQYwRwCYIwAAAAAAAAAAAAB+sX+O5/PrVPyicwAAAABJRU5ErkJggg==\",\n            \"type\": \"get-paid-qr\"\n        },\n        {\n            \"size\": \"medium\",\n            \"base64Content\": \"iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAABHNCSVQICAgIfAhkiAAABeVJREFUeJzt3VuSGzkMBMBZx9z/yusD2K1dctAAuyvz2xKtx1QwABH8+gIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADK/dO0zr9N61RZfV86Xt/V/+nT2juPWVX1XnV8F9/+PVz26+4FgHMJAAgmACCYAIBgAgCCfQ+v39WF+JudivDqYz69vqpqeOV7uNM1WH0dlf/fyo7C076LJewAIJgAgGACAIIJAAgmACDYdBfgyuRv1Sufq6O6u7NGZadhdf3JswA7Tv0ulrADgGACAIIJAAgmACCYAIBgAgCCndoGPFXlYaCqtXfWWH2uyoNTlaPN+CE7AAgmACCYAIBgAgCCCQAIpgtQo7J6XnngqKp63tHN2HmM7sAP2QFAMAEAwQQABBMAEEwAQLBTuwCnVnc7Lu2oHEHVUT1/y8UgV079LpawA4BgAgCCCQAIJgAgmACAYNNdgLFrkTdNTrmpXKPjdTxtItDTvosl7AAgmACAYAIAggkACCYAIJgAgGCvPuhwg46LQSbbUU9r0fn+/pAdAAQTABBMAEAwAQDBBAAEm66i7lR3O6rklRd9rK6xavL9qFR5icrkc+18d8f+Du0AIJgAgGACAIIJAAgmACBY10iwyQscTlz7k8mq89W/n67QV63doWN8Whk7AAgmACCYAIBgAgCCCQAINn0W4ErHb+4rK9s7Jq/uvjL5+jo+j8oKfQddAOA+AgCCCQAIJgAgmACAYAIAgnW1AU+8j/5UHe2zKx2fx6SOcV3T7eUldgAQTABAMAEAwQQABBMAEKxrJNiq6WptVadhuhJe9Z7sVKkruzVVh5o6PvPpS22W2AFAMAEAwQQABBMAEEwAQLBTzwJMrzHZaVj1lm5G5edU6dVnT+wAIJgAgGACAIIJAAgmACDYdMVyspI6fRHF6hqVv6F3+cj/f8zq2p9M/739wQ4AggkACCYAIJgAgGACAIIJAAjWNRKs8tBG1XN1HD45ru3zHzralpVrrz7XqeO6xtrhdgAQTABAMAEAwQQABBMAEOxpVeqvr2ddDNLhaeO6KseOPW2E2XHsACCYAIBgAgCCCQAIJgAg2KkXg1RWcf3m/08dl6hc6RjXdeXUS1TGvj92ABBMAEAwAQDBBAAEEwAQbLp6PXlxxqlV50lPm6Rz5S1nF0wEAu4jACCYAIBgAgCCCQAIJgAgWNfFIKsm75D/9JgrHYdoKlW+vx0t06q1Kw8DVXIYCOgnACCYAIBgAgCCCQAI9qaRYCeOaJoeD+Uik/t0jFVzGAi4jwCAYAIAggkACCYAINh0F+DKzu/0Jyu/Vzoq+jtO7Jh8UtVFmj6zcdwYODsACCYAIJgAgGACAIIJAAg23QWYvB781PMGT7u6u0pH56fyopbp96SEHQAEEwAQTABAMAEAwQQABBMAEOzUNmDXc1WtvaOj7TTZ1rsyOfLsae+hNiBwHwEAwQQABBMAEEwAQLDpLkClt4+5Wn2eTyav1Z4ey1Vl8nBWGTsACCYAIJgAgGACAIIJAAh23EUFh+s4h9BxiUqlE8e6veW8we3sACCYAIBgAgCCCQAIJgAg2HfTOif+lvuTq6psZTW649KOJ51p2Fmj8nkiO2J2ABBMAEAwAQDBBAAEEwAQTABAsK424JXJ1stOa6njYMiqnVZjZTvzxMtHrpzYmhxlBwDBBAAEEwAQTABAMAEAwaa7AFcmr+Gu9JZxXTuHaCa7A9Pdl8ewA4BgAgCCCQAIJgAgmACAYKd2Ad6icgRVx9ixK5UV78rRZh2XqDztKvUldgAQTABAMAEAwQQABBMAEEwXYM1qVbajet7xXJVXXldOYuqwWqGfPv+xxA4AggkACCYAIJgAgGACAIIJAAh2ahvw1HFLHYc2Kg+4VNlpbY0dcPmgsg13XEtvhx0ABBMAEEwAQDABAMEEAASb7gI8rZLaMdLpxCr5dFemY7RZVfelcgzc7ewAIJgAgGACAIIJAAgmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACg0m8DzPS3YlEklAAAAABJRU5ErkJggg==\",\n            \"type\": \"get-paid-qr\"\n        },\n        {\n            \"size\": \"large\",\n            \"base64Content\": \"iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAC31JREFUeJzt3UFu5MoRRdGy0fvfsj1peGTgi0Qr9TrvORsQi2SVLnIQ8fkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADw//3rpy/gD/rPT1/AxU68J7c8vzf36ulnP/E3Tlh9r275XVx85re44h35909fAABwngAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBv376An7QFbOcXzoxI/zE33j6DFfnwi++iyf2DZx4Hov39vM5s//hqdV7dUJyb4ITAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAUHkZ0BuLCyNWF3icuK7F5/HG4uKkE39jdSnV6ndq0eJ30PP7IicAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJBdAHyXW+bbP7U6e/7pdb25psXZ/ic+x+J7CP/ICQAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIMgyIFasLp+5ZVHPCYvXtbig6PPZvFfEOAEAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAguwCeMb87q87ca8W5/SfcMvs+ROfY/Fzfz72PzDACQAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIKi8DGhxyctNTiw7WVyosvo5/I2tv7HIb2KMEwAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAg6JYZ1uw5MVf8xPtbnY9uhv7XvXlHbvns/MWcAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAgsoLKU4s8LhlkcyJxTAnrL7vi/fqjdX7+9TiIqvFa/p8Nq/LcqYvcgIAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABP366Qv4g57Of16d/Vyde706h7w66/zN37jlXi1a/M6ecuK3/Zb/H484AQCAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABF2x0OCgxcUiq0t0Ft+tWxYnVZ/f57O5GOaNE/f3lnu1aPX78YgTAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACDoinnGvy3OvV79G3zd4jM/YfXdXbxXq57e39VdGbfsZpjjBAAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAEPTrpy/gL1NdrmExzJbFd+TzOXNdi9/B1WU1i9/BN39j8XlcwQkAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAEHRidvcpJ2ZSn7D4OVbnwi/eqzdumdl+ywz2xXd31eJuBr7ICQAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIKi8ZKG8lOLEIpJbFqosLju55d1dfH6nLC5nqn5ns5wAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEG/fvoC/qATM6afWrymz8fMb/7Z6vM7cV2L39vVHRO3WNyb8O2cAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAgq5YaDDsxAKPN04svkgu13jpliUs1Xf3jeqinvL3fI4TAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACDoprnMt8wIf2px/vobN72LixZ3M6y+V4v36o3F38TV393VZ/itnAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIKSCxB+W10wsbhcY/U9ueVzLHrz/Xh6fxeXa61aXc60+MzLv4mPOAEAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAgn799AX8ZRbnP5fndz9Vnj2/+O4uXtPn033fT8zQX7X6Ln4rJwAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgKCbFiDcsviiuqjnjepnP7EA6haW1WxZfXdP/P+Y4wQAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACLpinvFvi3PhV+den7D4PE5YnT1vx8T3OfE9X/0tWXzfb3mvvp0TAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABA0E1LE54upXjz2W9ZfLG46GXxmj6fM+/VU7fcq1XVRT2L17Tqiv+dTgAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAoCvmGf92y9zrW57J4szv1Wf+VHlO/1Or36dbdpcs7vw4YfW9esQJAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAg6IqFBr9Vl0wsLvxYtbqc6ZZnuLjgZvFzl93yPK74TXQCAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAARdMc+YSYsz299YnCt+y+z5E7sATrhlp8Ebi/sf3li9v9/KCQAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgSAAAQJAAAIOjXT1/AH7S4JOQWbxZlnFhws7hEp7wY5qkTz/yE1d+e6nvFFzkBAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIJu2gXwVHnu9YnZ5SfmkK/OYH/qlr0JT/9G+ZmfsPgb5/kNcQIAAEECAACCBAAABAkAAAgSAAAQJAAAIEgAAECQAACAIAEAAEECAACCBAAABAkAAAgqLwN6Y3GRxeLCj1NOLLhZtLpE58QCqOozv+VzlH+v5jgBAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAILsAuBvdmL2/FNvZrbfMt9+cc77ib0Jq7sZTrxXi9+p1Wc+xwkAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACDIMiC+y4llGYsLORav6fPZXNryxuLipNXlTCecWKKz+Myv4AQAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACLIL4JnVOe+LTswIP2Fxvv2qEzPbb3mvTlicib94TVlOAAAgSAAAQJAAAIAgAQAAQQIAAIIEAAAECQAACBIAABAkAAAgSAAAQJAAAIAgAQAAQeVlQJZSfK8Ti2FOLHqpLpNZfR6LVn9LTnwHn3rzjlgA9U2cAABAkAAAgCABAABBAgAAggQAAAQJAAAIEgAAECQAACBIAABAkAAAgCABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADwP/8Fubb2U/mavEgAAAAASUVORK5CYII=\",\n            \"type\": \"get-paid-qr\"\n        }\n    ]\n}"}],"_postman_id":"3b38df4a-2854-42b4-aefd-ef48e6bf2601"},{"name":"Create Pay Direct payment","id":"96d301b8-1b9f-4c81-ba81-f7079a218911","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Idempotent-Id","value":"08ab8d25-4bab-41f5-a8f9-f398c2a1c29b","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"source\": {\r\n        \"banqGuid\": \"{{sourceBanqGuid}}\"\r\n    },\r\n    \"destination\": {\r\n        \"banqGuid\": \"{{banqGuid}}\"\r\n    },\r\n    \"comment\": \"order description\",\r\n    \"funds\": 1,\r\n    \"tips\": 1,\r\n    \"repeatTip\": false,\r\n    \"externalOrderCode\": \"# form other system\",\r\n    \"frequency\": \"once\",\r\n    \"startDate\": null,\r\n    \"endDate\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/pay-direct","description":"<p><em>Creates the get paid link..</em></p>\n<h5>Request body</h5>\n\n<p>destination - required:</p>\n<ul>\n<li><code>banqguid</code> (Guid) - required - banq unique ID;</li>\n</ul>\n<p><code>funds</code> (decimal) - required;</p>\n<p><code>frequency</code>: Once, Daily, Weekly, Biweekly, Monthly, Quarterly, EverySixMonths, Yearly - payment frequency;</p>\n<p><code>startDate</code> (DateTime);</p>\n<p><code>endDate</code> (DateTime);</p>\n<p><code>comment</code> (string);</p>\n<p><code>externalOrderCode</code> (string).</p>\n<h5>Response body</h5>\ndata:\n\n<ul>\n<li><p><code>url</code> (string) - paid link;</p>\n</li>\n<li><p><code>type</code> (string) - response type;</p>\n</li>\n</ul>\n<h5>Headers</h5>\n* X-Idempoent-Id","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","payments","pay-direct"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"ad74f57b-3e7f-4550-a329-ffaa1c433699","name":"Create Pay Direct payment","originalRequest":{"method":"POST","header":[{"key":"","type":"text","value":"","disabled":true},{"key":"X-Idempotent-Id","value":"5052eff2-4647-4734-bc2f-c0c86eb765a9","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"source\": {\r\n        \"banqGuid\": \"{{sourceBanqGuid}}\"\r\n    },\r\n    \"destination\": {\r\n        \"banqGuid\": \"{{banqGuid}}\"\r\n    },\r\n    \"comment\": \"order description\",\r\n    \"funds\": 1,\r\n    \"tips\": 1,\r\n    \"repeatTip\": false,\r\n    \"externalOrderCode\": \"# form other system\",\r\n    \"frequency\": \"once\",\r\n    \"startDate\": null,\r\n    \"endDate\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/payments/pay-direct"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 11:30:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 498,\n    \"guid\": \"f4002133-4c51-4099-9740-77fbc501a970\",\n    \"createdAt\": \"2021-05-17T12:35:46.6201908+00:00\",\n    \"updatedAt\": \"2021-05-17T12:35:48.3797781+00:00\",\n    \"status\": \"completed\",\n    \"createdBy\": 1090,\n    \"performedBy\": 1090,\n    \"endDate\": \"2021-05-17\",\n    \"startDate\": \"2021-05-17\",\n    \"frequency\": \"once\",\n    \"flowType\": \"default\",\n    \"type\": \"pay\",\n    \"moveType\": \"internal\",\n    \"externalOrderCode\": \"string\",\n    \"paymentFlowDirection\": \"moneyOutRequest\",\n    \"paymentViewModelGuid\": \"7c064869-6aac-4f14-991a-666e3dbd86d3\",\n    \"unitCount\": 0,\n    \"assetOperation\": \"none\",\n    \"source\": {\n        \"accountId\": 1188,\n        \"banq\": {\n            \"id\": 1763,\n            \"banqGuid\": \"a982e719-ec0e-42b0-a890-1cb0676995f6\",\n            \"banqType\": \"full\",\n            \"custodialNumber\": 420015945701,\n            \"banqName\": \"stkhokfaejnoqhppibvcqbzasondmaydox\",\n            \"banqNickName\": \"stkhokfaejnoqhppibvcqbzasondmaydox\",\n            \"transactionName\": \"stkhokfaejnoqhppibvcqbzasondmaydox\"\n        },\n        \"accountType\": \"personal-account-space\",\n        \"type\": \"banq\",\n        \"banqGuid\": \"a982e719-ec0e-42b0-a890-1cb0676995f6\"\n    },\n    \"destination\": {\n        \"accountId\": 1189,\n        \"banq\": {\n            \"id\": 1764,\n            \"banqGuid\": \"fd35e90d-6da8-4bd4-9538-f2f058637c5d\",\n            \"banqType\": \"full\",\n            \"custodialNumber\": 420026884200\n        },\n        \"accountType\": \"personal-account-space\",\n        \"type\": \"banq\",\n        \"banqGuid\": \"fd35e90d-6da8-4bd4-9538-f2f058637c5d\"\n    },\n    \"comment\": \"order description\",\n    \"funds\": 1,\n    \"tips\": 0,\n    \"repeatTip\": true\n}"}],"_postman_id":"96d301b8-1b9f-4c81-ba81-f7079a218911"}],"id":"0b31d80b-3dd4-45cf-8ab5-114cee9771a5","_postman_id":"0b31d80b-3dd4-45cf-8ab5-114cee9771a5","description":"","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}}},{"name":"Transactions","item":[{"name":"Get transactions","event":[{"listen":"test","script":{"id":"e8c93519-1ffa-44cf-ba26-9897da01427d","exec":[""],"type":"text/javascript"}}],"id":"35167823-ae3e-4c0a-baa7-a423c59d33dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/transactions?filter[banq.id]={{banqId}}&pageSize=10&page=1","description":"<p><em>Gets transactions according to filters.</em></p>\n<h5>Filters</h5>\nfilter[account.id]: 4152 (account ID);\n\n<p>filter[banq.id]: 4924 (banq ID);</p>\n<p>filter[banq.guid]: \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\" (banq unique ID);</p>\n<p>filter[payment.guid]: \"f6b659cb-8bc2-4d8c-b38d-c63f88aba492\" (payment unique ID);</p>\n<p>filter[direction]: \"in\" (money transfer direction);</p>\n<p>filter[type]: \"Move\" (transaction type);</p>\n<p>filter[status]: \"New\" (transaction status);</p>\n<p>filter[source.id]: 420099031248 (source custodial account ID).</p>\n<h5>Response body.</h5>\n\n<p><em>meta:</em></p>\n<p><code>resourseCount</code> (int);</p>\n<p><code>pageCount</code> (int);</p>\n<p><em>data:</em></p>\n<p><code>id</code> (long);</p>\n<p><code>guid</code> (Guid) - transaction guid;</p>\n<p><code>type</code>: Move, Pay - type of transaction;</p>\n<p><code>flowType</code>: Pay, GetPaid, Default;</p>\n<p><code>moveType</code>: Internal, Contribution, Disbursement, Pending;</p>\n<p><code>disbursementType</code>: Plaid,  Ach, InternationalWire, Check, Wire, NotSpecified;</p>\n<p><code>paymentGuid</code> (Guid) - payment unique ID;</p>\n<p><code>contributionType</code>: Wire, Check, InternationalWire, Plaid, Card;</p>\n<p><code>reference</code> (string);</p>\n<p><code>externalOrderCode</code> (string);</p>\n<p><code>recurrence</code>:</p>\n<ul>\n<li><p><code>frequency</code>: Once, Daily, Weekly, Biweekly, Monthly, Quarterly, EverySixMonths, Yearly - payment frequency;</p>\n</li>\n<li><p><code>startDate</code> (DateTime);</p>\n</li>\n<li><p><code>endDate</code> (DateTime);</p>\n</li>\n</ul>\n<p>source:</p>\n<ul>\n<li><p><code>userId</code> (int) - user ID;</p>\n</li>\n<li><p><code>type</code>: Banq, External - address type;</p>\n</li>\n<li><p><code>accountType</code>: Personal, Merchant;</p>\n</li>\n<li><p><code>accountId</code> (int);</p>\n</li>\n<li><p>banq:</p>\n<ul>\n<li><p>id (int) - banq ID;</p>\n</li>\n<li><p>banqGuid (Guid) - banq unique ID;</p>\n</li>\n<li><p>banqType: Limited, Full;</p>\n</li>\n<li><p>custodialNumber (long);</p>\n</li>\n<li><p>banqName (string);</p>\n</li>\n<li><p>transactionName (string);</p>\n</li>\n</ul>\n</li>\n<li><p>externalAccount:</p>\n<ul>\n<li>id (int) - external account ID;</li>\n<li>type: Bank, Card - external account type;</li>\n<li>bankName (string);</li>\n<li>cardType: Debit, Credit;</li>\n<li>paymentSystem: Visa, Mastercard;</li>\n<li>last4 (string);</li>\n</ul>\n</li>\n<li><p>externalContributionSource:</p>\n<ul>\n<li>fundsSourceName (string);</li>\n<li>settlementDetails (string);</li>\n</ul>\n</li>\n<li><p>externalDisbursementDestination:</p>\n<ul>\n<li>beneficiaryAddress (string);<ul>\n<li>street1 (string);</li>\n<li>street2 (string);</li>\n<li>postalCode (string);</li>\n<li>city (string);</li>\n<li>state (string);</li>\n<li>country (string);</li>\n</ul>\n</li>\n<li>checkPayee (string);</li>\n<li>bankAccountName (string);</li>\n<li>routingNumber (string);</li>\n<li>bankAccountNumber (string);</li>\n<li>settlementDetails (string);</li>\n</ul>\n</li>\n</ul>\n<p>destination:</p>\n<ul>\n<li><p><code>userId</code> (int) - user ID;</p>\n</li>\n<li><p><code>type</code>: Banq, External - address type;</p>\n</li>\n<li><p><code>accountType</code>: Personal, Merchant;</p>\n</li>\n<li><p><code>accountId</code> (int);</p>\n</li>\n<li><p>banq:</p>\n<ul>\n<li><p>id (int) - banq ID;</p>\n</li>\n<li><p>banqGuid (Guid) - banq unique ID;</p>\n</li>\n<li><p>banqType: Limited, Full;</p>\n</li>\n<li><p>custodialNumber (long);</p>\n</li>\n<li><p>banqName (string);</p>\n</li>\n<li><p>transactionName (string);</p>\n</li>\n</ul>\n</li>\n<li><p>externalAccount:</p>\n<ul>\n<li>id (int) - external account ID;</li>\n<li>type: Bank, Card - external account type;</li>\n<li>bankName (string);</li>\n<li>cardType: Debit, Credit;</li>\n<li>paymentSystem: Visa, Mastercard;</li>\n<li>last4 (string);</li>\n</ul>\n</li>\n<li><p>externalContributionSource:</p>\n<ul>\n<li>fundsSourceName (string);</li>\n<li>settlementDetails (string);</li>\n</ul>\n</li>\n<li><p>externalDisbursementDestination:</p>\n<ul>\n<li>beneficiaryAddress (string);<ul>\n<li>street1 (string);</li>\n<li>street2 (string);</li>\n<li>postalCode (string);</li>\n<li>city (string);</li>\n<li>state (string);</li>\n<li>country (string);</li>\n</ul>\n</li>\n<li>checkPayee (string);</li>\n<li>bankAccountName (string);</li>\n<li>routingNumber (string);</li>\n<li>bankAccountNumber (string);</li>\n<li>settlementDetails (string);</li>\n</ul>\n</li>\n</ul>\n<p><code>amount</code> (decimal) - funds;</p>\n<p><code>fee</code> (decimal) - fee amount;</p>\n<p><code>sourceFee</code> (decimal);</p>\n<p><code>destinationFee</code> (decimal);</p>\n<p><code>total</code> (decimal) - total amount;</p>\n<p><code>comment</code> (string);</p>\n<p><code>status</code>: New, Processing, Completed, Failed, Declined - transaction status;</p>\n<p><code>createdAt</code> (DateTimeOffset) - time of creation transaction;</p>\n<p><code>updatedAt</code> (DateTimeOffset) - time of updating transaction;</p>\n<p><code>failReason</code>: ProcessingFailed, LimitsExceeded, BanqError, PrimeTrustError, InsufficientBalance, CustodialAccountContactIsNotApproved, ExternalAccountIsDeactivated, PlaidRequiresReAuthentication, AccountIsFrozen;</p>\n<p><code>failReasonDetails</code> (string).</p>\n<h5>Headers</h5>","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","transactions"],"host":["{{baseUrl}}"],"query":[{"key":"filter[banq.id]","value":"{{banqId}}"},{"key":"pageSize","value":"10"},{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"0e1b9ae4-e8fb-42fd-a471-b2f8b75d2e2d","name":"Get transactions by banq id","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":{"raw":"{{baseUrl}}/v1/transactions?filter[banq.id]={{banqId}}&PageSize=10&Page=1","host":["{{baseUrl}}"],"path":["v1","transactions"],"query":[{"key":"filter[banq.id]","value":"{{banqId}}"},{"key":"PageSize","value":"10"},{"key":"Page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 15:35:35 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"meta\": {\n        \"resourceCount\": 14,\n        \"pageCount\": 2\n    },\n    \"data\": [\n        {\n            \"id\": 39097,\n            \"guid\": \"4c686db0-5275-480a-a28e-919c490293da\",\n            \"type\": \"pay\",\n            \"flowType\": \"default\",\n            \"moveType\": \"internal\",\n            \"paymentGuid\": \"85e81027-c5ea-4a6a-908d-b0d48c880221\",\n            \"externalOrderCode\": \"# form other system\",\n            \"recurrence\": {\n                \"frequency\": \"once\",\n                \"startDate\": \"2020-12-31T00:00:00\"\n            },\n            \"source\": {\n                \"userId\": 3915,\n                \"type\": \"banq\",\n                \"accountType\": \"personal\",\n                \"accountId\": 4638,\n                \"banq\": {\n                    \"id\": 5439,\n                    \"banqGuid\": \"53c34945-61a2-4140-a543-6e66622c8cfc\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420099031248,\n                    \"transactionName\": \"Money Source\"\n                }\n            },\n            \"destination\": {\n                \"userId\": 3477,\n                \"type\": \"banq\",\n                \"accountType\": \"merchant\",\n                \"accountId\": 4152,\n                \"banq\": {\n                    \"id\": 4924,\n                    \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420018405648,\n                    \"banqName\": \"Euphoria\",\n                    \"transactionName\": \"Euphoria\"\n                }\n            },\n            \"amount\": 3,\n            \"fee\": 0,\n            \"destinationFee\": 0,\n            \"total\": 3,\n            \"comment\": \"order description\",\n            \"status\": \"completed\",\n            \"createdAt\": \"2020-12-31T14:10:58.8864217+00:00\",\n            \"updatedAt\": \"2020-12-31T14:11:00.4018767+00:00\"\n        },\n        {\n            \"id\": 38523,\n            \"guid\": \"ec542c7e-000a-4b90-893f-90d320838ab1\",\n            \"type\": \"pay\",\n            \"flowType\": \"getPaid\",\n            \"moveType\": \"internal\",\n            \"paymentGuid\": \"a618b327-28d5-490b-bc00-9ef69859d043\",\n            \"externalOrderCode\": \"# form other system\",\n            \"recurrence\": {\n                \"frequency\": \"once\",\n                \"startDate\": \"2020-12-30T00:00:00\"\n            },\n            \"source\": {\n                \"userId\": 3915,\n                \"type\": \"banq\",\n                \"accountType\": \"personal\",\n                \"accountId\": 4638,\n                \"banq\": {\n                    \"id\": 5439,\n                    \"banqGuid\": \"53c34945-61a2-4140-a543-6e66622c8cfc\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420099031248,\n                    \"transactionName\": \"Money Source\"\n                }\n            },\n            \"destination\": {\n                \"userId\": 3477,\n                \"type\": \"banq\",\n                \"accountType\": \"merchant\",\n                \"accountId\": 4152,\n                \"banq\": {\n                    \"id\": 4924,\n                    \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420018405648,\n                    \"banqName\": \"Euphoria\",\n                    \"transactionName\": \"Euphoria\"\n                }\n            },\n            \"amount\": 1,\n            \"fee\": 0,\n            \"destinationFee\": 0,\n            \"total\": 1,\n            \"comment\": \"order description\",\n            \"status\": \"completed\",\n            \"createdAt\": \"2020-12-30T15:10:30.6314221+00:00\",\n            \"updatedAt\": \"2020-12-30T15:10:32.3703414+00:00\"\n        },\n        {\n            \"id\": 37461,\n            \"guid\": \"2bd7a1f4-a512-4480-81d5-bcaf155702fc\",\n            \"type\": \"pay\",\n            \"flowType\": \"default\",\n            \"moveType\": \"internal\",\n            \"paymentGuid\": \"5fd6c6d4-d034-4555-ad96-dbd06d83ed01\",\n            \"externalOrderCode\": \"# form other system\",\n            \"recurrence\": {\n                \"frequency\": \"once\",\n                \"startDate\": \"2020-12-28T00:00:00\"\n            },\n            \"source\": {\n                \"userId\": 3915,\n                \"type\": \"banq\",\n                \"accountType\": \"personal\",\n                \"accountId\": 4638,\n                \"banq\": {\n                    \"id\": 5439,\n                    \"banqGuid\": \"53c34945-61a2-4140-a543-6e66622c8cfc\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420099031248,\n                    \"transactionName\": \"Money Source\"\n                }\n            },\n            \"destination\": {\n                \"userId\": 3477,\n                \"type\": \"banq\",\n                \"accountType\": \"merchant\",\n                \"accountId\": 4152,\n                \"banq\": {\n                    \"id\": 4924,\n                    \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420018405648,\n                    \"banqName\": \"Euphoria\",\n                    \"transactionName\": \"Euphoria\"\n                }\n            },\n            \"amount\": 3,\n            \"fee\": 0,\n            \"destinationFee\": 0,\n            \"total\": 3,\n            \"comment\": \"order description\",\n            \"status\": \"completed\",\n            \"createdAt\": \"2020-12-28T13:31:22.0758379+00:00\",\n            \"updatedAt\": \"2020-12-28T13:31:23.4395673+00:00\"\n        },\n        {\n            \"id\": 37460,\n            \"guid\": \"e2ea20d3-536d-4e8b-8225-e5e6e75b686c\",\n            \"type\": \"pay\",\n            \"flowType\": \"default\",\n            \"moveType\": \"internal\",\n            \"paymentGuid\": \"7fcb575a-17dd-495e-8fc9-debcda7799e2\",\n            \"externalOrderCode\": \"# form other system\",\n            \"recurrence\": {\n                \"frequency\": \"once\",\n                \"startDate\": \"2020-12-28T00:00:00\"\n            },\n            \"source\": {\n                \"userId\": 3915,\n                \"type\": \"banq\",\n                \"accountType\": \"personal\",\n                \"accountId\": 4638,\n                \"banq\": {\n                    \"id\": 5439,\n                    \"banqGuid\": \"53c34945-61a2-4140-a543-6e66622c8cfc\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420099031248,\n                    \"transactionName\": \"Money Source\"\n                }\n            },\n            \"destination\": {\n                \"userId\": 3477,\n                \"type\": \"banq\",\n                \"accountType\": \"merchant\",\n                \"accountId\": 4152,\n                \"banq\": {\n                    \"id\": 4924,\n                    \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420018405648,\n                    \"banqName\": \"Euphoria\",\n                    \"transactionName\": \"Euphoria\"\n                }\n            },\n            \"amount\": 13,\n            \"fee\": 0,\n            \"destinationFee\": 0,\n            \"total\": 13,\n            \"comment\": \"order description\",\n            \"status\": \"completed\",\n            \"createdAt\": \"2020-12-28T13:28:35.7337962+00:00\",\n            \"updatedAt\": \"2020-12-28T13:28:37.2984025+00:00\"\n        },\n        {\n            \"id\": 37430,\n            \"guid\": \"f9a43e7c-8729-4bfa-9a71-2a38699656b1\",\n            \"type\": \"pay\",\n            \"flowType\": \"getPaid\",\n            \"moveType\": \"internal\",\n            \"paymentGuid\": \"b8d315ee-2f1f-4702-b220-88aee2e765a5\",\n            \"externalOrderCode\": \"# form other system\",\n            \"recurrence\": {\n                \"frequency\": \"once\",\n                \"startDate\": \"2020-12-28T00:00:00\"\n            },\n            \"source\": {\n                \"userId\": 3915,\n                \"type\": \"banq\",\n                \"accountType\": \"personal\",\n                \"accountId\": 4638,\n                \"banq\": {\n                    \"id\": 5439,\n                    \"banqGuid\": \"53c34945-61a2-4140-a543-6e66622c8cfc\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420099031248,\n                    \"transactionName\": \"Money Source\"\n                }\n            },\n            \"destination\": {\n                \"userId\": 3477,\n                \"type\": \"banq\",\n                \"accountType\": \"merchant\",\n                \"accountId\": 4152,\n                \"banq\": {\n                    \"id\": 4924,\n                    \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420018405648,\n                    \"banqName\": \"Euphoria\",\n                    \"transactionName\": \"Euphoria\"\n                }\n            },\n            \"amount\": 11,\n            \"fee\": 0,\n            \"destinationFee\": 0,\n            \"total\": 11,\n            \"comment\": \"order description\",\n            \"status\": \"completed\",\n            \"createdAt\": \"2020-12-28T13:12:31.619627+00:00\",\n            \"updatedAt\": \"2020-12-28T13:12:33.4816589+00:00\"\n        },\n        {\n            \"id\": 37429,\n            \"guid\": \"4616a980-f58b-4ef9-b792-a483a9872988\",\n            \"type\": \"pay\",\n            \"flowType\": \"getPaid\",\n            \"moveType\": \"internal\",\n            \"paymentGuid\": \"ca74fd26-de0d-4eb8-b50b-2fa5cfe48d60\",\n            \"externalOrderCode\": \"# form other system\",\n            \"recurrence\": {\n                \"frequency\": \"once\",\n                \"startDate\": \"2020-12-28T00:00:00\"\n            },\n            \"source\": {\n                \"userId\": 3915,\n                \"type\": \"banq\",\n                \"accountType\": \"personal\",\n                \"accountId\": 4638,\n                \"banq\": {\n                    \"id\": 5439,\n                    \"banqGuid\": \"53c34945-61a2-4140-a543-6e66622c8cfc\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420099031248,\n                    \"transactionName\": \"Money Source\"\n                }\n            },\n            \"destination\": {\n                \"userId\": 3477,\n                \"type\": \"banq\",\n                \"accountType\": \"merchant\",\n                \"accountId\": 4152,\n                \"banq\": {\n                    \"id\": 4924,\n                    \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420018405648,\n                    \"banqName\": \"Euphoria\",\n                    \"transactionName\": \"Euphoria\"\n                }\n            },\n            \"amount\": 11,\n            \"fee\": 0,\n            \"destinationFee\": 0,\n            \"total\": 11,\n            \"comment\": \"order description\",\n            \"status\": \"completed\",\n            \"createdAt\": \"2020-12-28T13:11:56.1013832+00:00\",\n            \"updatedAt\": \"2020-12-28T13:11:57.9056647+00:00\"\n        },\n        {\n            \"id\": 36714,\n            \"guid\": \"e5c78f8a-8b6e-43d4-be25-849eda1e9423\",\n            \"type\": \"pay\",\n            \"flowType\": \"getPaid\",\n            \"moveType\": \"internal\",\n            \"paymentGuid\": \"68fa5651-5172-48b1-aa31-51dad961e15d\",\n            \"externalOrderCode\": \"# form other system\",\n            \"recurrence\": {\n                \"frequency\": \"once\",\n                \"startDate\": \"2020-12-24T00:00:00\"\n            },\n            \"source\": {\n                \"userId\": 3915,\n                \"type\": \"banq\",\n                \"accountType\": \"personal\",\n                \"accountId\": 4638,\n                \"banq\": {\n                    \"id\": 5439,\n                    \"banqGuid\": \"53c34945-61a2-4140-a543-6e66622c8cfc\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420099031248,\n                    \"transactionName\": \"Money Source\"\n                }\n            },\n            \"destination\": {\n                \"userId\": 3477,\n                \"type\": \"banq\",\n                \"accountType\": \"merchant\",\n                \"accountId\": 4152,\n                \"banq\": {\n                    \"id\": 4924,\n                    \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420018405648,\n                    \"banqName\": \"Euphoria\",\n                    \"transactionName\": \"Euphoria\"\n                }\n            },\n            \"amount\": 1,\n            \"fee\": 0,\n            \"destinationFee\": 0,\n            \"total\": 1,\n            \"comment\": \"order description\",\n            \"status\": \"completed\",\n            \"createdAt\": \"2020-12-24T15:04:58.7210163+00:00\",\n            \"updatedAt\": \"2020-12-24T15:05:00.3136203+00:00\"\n        },\n        {\n            \"id\": 36713,\n            \"guid\": \"fa9ccfc2-c4a0-4e9f-8cce-81b2c92d3f67\",\n            \"type\": \"pay\",\n            \"flowType\": \"default\",\n            \"moveType\": \"internal\",\n            \"paymentGuid\": \"27af5b4f-b882-4b84-86f7-834682bc6938\",\n            \"externalOrderCode\": \"# form other system\",\n            \"recurrence\": {\n                \"frequency\": \"once\",\n                \"startDate\": \"2020-12-24T00:00:00\"\n            },\n            \"source\": {\n                \"userId\": 3915,\n                \"type\": \"banq\",\n                \"accountType\": \"personal\",\n                \"accountId\": 4638,\n                \"banq\": {\n                    \"id\": 5439,\n                    \"banqGuid\": \"53c34945-61a2-4140-a543-6e66622c8cfc\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420099031248,\n                    \"transactionName\": \"Money Source\"\n                }\n            },\n            \"destination\": {\n                \"userId\": 3477,\n                \"type\": \"banq\",\n                \"accountType\": \"merchant\",\n                \"accountId\": 4152,\n                \"banq\": {\n                    \"id\": 4924,\n                    \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420018405648,\n                    \"banqName\": \"Euphoria\",\n                    \"transactionName\": \"Euphoria\"\n                }\n            },\n            \"amount\": 2,\n            \"fee\": 0,\n            \"destinationFee\": 0,\n            \"total\": 2,\n            \"comment\": \"order description\",\n            \"status\": \"completed\",\n            \"createdAt\": \"2020-12-24T15:00:20.195995+00:00\",\n            \"updatedAt\": \"2020-12-24T15:00:24.3037852+00:00\"\n        },\n        {\n            \"id\": 36711,\n            \"guid\": \"6049acca-0161-4d9b-9863-69be93f0f96d\",\n            \"type\": \"pay\",\n            \"flowType\": \"default\",\n            \"moveType\": \"internal\",\n            \"paymentGuid\": \"c204de22-8c1b-4c9f-b40f-7b8008bb930a\",\n            \"externalOrderCode\": \"# form other system\",\n            \"recurrence\": {\n                \"frequency\": \"once\",\n                \"startDate\": \"2020-12-24T00:00:00\"\n            },\n            \"source\": {\n                \"userId\": 3915,\n                \"type\": \"banq\",\n                \"accountType\": \"personal\",\n                \"accountId\": 4638,\n                \"banq\": {\n                    \"id\": 5439,\n                    \"banqGuid\": \"53c34945-61a2-4140-a543-6e66622c8cfc\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420099031248,\n                    \"transactionName\": \"Money Source\"\n                }\n            },\n            \"destination\": {\n                \"userId\": 3477,\n                \"type\": \"banq\",\n                \"accountType\": \"merchant\",\n                \"accountId\": 4152,\n                \"banq\": {\n                    \"id\": 4924,\n                    \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420018405648,\n                    \"banqName\": \"Euphoria\",\n                    \"transactionName\": \"Euphoria\"\n                }\n            },\n            \"amount\": 1,\n            \"fee\": 0,\n            \"destinationFee\": 0,\n            \"total\": 1,\n            \"status\": \"completed\",\n            \"createdAt\": \"2020-12-24T14:52:45.6774338+00:00\",\n            \"updatedAt\": \"2020-12-24T14:52:47.2983028+00:00\"\n        },\n        {\n            \"id\": 36707,\n            \"guid\": \"33a8b6b1-56bc-404f-85c6-de99aaf0c7f0\",\n            \"type\": \"pay\",\n            \"flowType\": \"getPaid\",\n            \"moveType\": \"internal\",\n            \"paymentGuid\": \"2b5ea7d6-0558-48b9-b630-31501bd49434\",\n            \"externalOrderCode\": \"# form other system\",\n            \"recurrence\": {\n                \"frequency\": \"once\",\n                \"startDate\": \"2020-12-24T00:00:00\"\n            },\n            \"source\": {\n                \"userId\": 3915,\n                \"type\": \"banq\",\n                \"accountType\": \"personal\",\n                \"accountId\": 4638,\n                \"banq\": {\n                    \"id\": 5439,\n                    \"banqGuid\": \"53c34945-61a2-4140-a543-6e66622c8cfc\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420099031248,\n                    \"transactionName\": \"Money Source\"\n                }\n            },\n            \"destination\": {\n                \"userId\": 3477,\n                \"type\": \"banq\",\n                \"accountType\": \"merchant\",\n                \"accountId\": 4152,\n                \"banq\": {\n                    \"id\": 4924,\n                    \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n                    \"banqType\": \"full\",\n                    \"custodialNumber\": 420018405648,\n                    \"banqName\": \"Euphoria\",\n                    \"transactionName\": \"Euphoria\"\n                }\n            },\n            \"amount\": 1,\n            \"fee\": 0,\n            \"destinationFee\": 0,\n            \"total\": 1,\n            \"comment\": \"test payment\",\n            \"status\": \"completed\",\n            \"createdAt\": \"2020-12-24T13:57:52.0624173+00:00\",\n            \"updatedAt\": \"2020-12-24T13:57:54.8719286+00:00\"\n        }\n    ]\n}"}],"_postman_id":"35167823-ae3e-4c0a-baa7-a423c59d33dc"},{"name":"Get transaction by Id","id":"14d771e8-349e-45cf-b4b7-a9c5d2a3bd43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/transactions/{{transactionId}}","description":"<p><em>Gets the transaction by unique identifier.</em></p>\n<h5> Response body </h5>\nid (long);\n\n<p>guid (Guid) - transaction guid;</p>\n<p>type: Move, Pay - type of transaction;</p>\n<p>flowType: Pay, GetPaid, Default;</p>\n<p>moveType: Internal, Contribution, Disbursement, Pending;</p>\n<p>disbursementType: Plaid,  Ach, InternationalWire, Check, Wire, NotSpecified;</p>\n<p>paymentGuid (Guid) - payment unique ID;</p>\n<p>contributionType: Wire, Check, InternationalWire, Plaid, Card;</p>\n<p>reference (string);</p>\n<p>externalOrderCode (string);</p>\n<p>recurrence:</p>\n<ul>\n<li><p>frequency: Once, Daily, Weekly, Biweekly, Monthly, Quarterly, EverySixMonths, Yearly - payment frequency;</p>\n</li>\n<li><p>startDate (DateTime);</p>\n</li>\n<li><p>endDate (DateTime);</p>\n</li>\n</ul>\n<p>source:</p>\n<ul>\n<li><p>userId (int) - user ID;</p>\n</li>\n<li><p>type: Banq, External - address type;</p>\n</li>\n<li><p>accountType: Personal, Merchant;</p>\n</li>\n<li><p>accountId (int);</p>\n</li>\n<li><p>banq:</p>\n<ul>\n<li><p>id (int) - banq ID;</p>\n</li>\n<li><p>banqGuid (Guid) - banq unique ID;</p>\n</li>\n<li><p>banqType: Limited, Full;</p>\n</li>\n<li><p>custodialNumber (long);</p>\n</li>\n<li><p>banqName (string);</p>\n</li>\n<li><p>transactionName (string);</p>\n</li>\n</ul>\n</li>\n<li><p>externalAccount:</p>\n<ul>\n<li>id (int) - external account ID;</li>\n<li>type: Bank, Card - external account type;</li>\n<li>bankName (string);</li>\n<li>cardType: Debit, Credit;</li>\n<li>paymentSystem: Visa, Mastercard;</li>\n<li>last4 (string);</li>\n</ul>\n</li>\n<li><p>externalContributionSource:</p>\n<ul>\n<li>fundsSourceName (string);</li>\n<li>settlementDetails (string);</li>\n</ul>\n</li>\n<li><p>externalDisbursementDestination:</p>\n<ul>\n<li>beneficiaryAddress (string);<ul>\n<li>street1 (string);</li>\n<li>street2 (string);</li>\n<li>postalCode (string);</li>\n<li>city (string);</li>\n<li>state (string);</li>\n<li>country (string);</li>\n</ul>\n</li>\n<li>checkPayee (string);</li>\n<li>bankAccountName (string);</li>\n<li>routingNumber (string);</li>\n<li>bankAccountNumber (string);</li>\n<li>settlementDetails (string);</li>\n</ul>\n</li>\n</ul>\n<p>destination:</p>\n<ul>\n<li><p>userId (int) - user ID;</p>\n</li>\n<li><p>type: Banq, External - address type;</p>\n</li>\n<li><p>accountType: Personal, Merchant;</p>\n</li>\n<li><p>accountId (int);</p>\n</li>\n<li><p>banq:</p>\n<ul>\n<li><p>id (int) - banq ID;</p>\n</li>\n<li><p>banqGuid (Guid) - banq unique ID;</p>\n</li>\n<li><p>banqType: Limited, Full;</p>\n</li>\n<li><p>custodialNumber (long);</p>\n</li>\n<li><p>banqName (string);</p>\n</li>\n<li><p>transactionName (string);</p>\n</li>\n</ul>\n</li>\n<li><p>externalAccount:</p>\n<ul>\n<li>id (int) - external account ID;</li>\n<li>type: Bank, Card - external account type;</li>\n<li>bankName (string);</li>\n<li>cardType: Debit, Credit;</li>\n<li>paymentSystem: Visa, Mastercard;</li>\n<li>last4 (string);</li>\n</ul>\n</li>\n<li><p>externalContributionSource:</p>\n<ul>\n<li>fundsSourceName (string);</li>\n<li>settlementDetails (string);</li>\n</ul>\n</li>\n<li><p>externalDisbursementDestination:</p>\n<ul>\n<li>beneficiaryAddress (string);<ul>\n<li>street1 (string);</li>\n<li>street2 (string);</li>\n<li>postalCode (string);</li>\n<li>city (string);</li>\n<li>state (string);</li>\n<li>country (string);</li>\n</ul>\n</li>\n<li>checkPayee (string);</li>\n<li>bankAccountName (string);</li>\n<li>routingNumber (string);</li>\n<li>bankAccountNumber (string);</li>\n<li>settlementDetails (string);</li>\n</ul>\n</li>\n</ul>\n<p>amount (decimal) - funds;</p>\n<p>fee (decimal) - fee amount;</p>\n<p>sourceFee (decimal);</p>\n<p>destinationFee (decimal);</p>\n<p>total (decimal) - total amount;</p>\n<p>comment (string);</p>\n<p>status: New, Processing, Completed, Failed, Declined - transaction status;</p>\n<p>createdAt (DateTimeOffset) - time of creation transaction;</p>\n<p>updatedAt (DateTimeOffset) - time of updating transaction;</p>\n<p>failReason: ProcessingFailed, LimitsExceeded, BanqError, PrimeTrustError, InsufficientBalance, CustodialAccountContactIsNotApproved, ExternalAccountIsDeactivated, PlaidRequiresReAuthentication, AccountIsFrozen;</p>\n<p>failReasonDetails (string).</p>\n<h5>Headers</h5>\n* X-Company-Id","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","transactions","{{transactionId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"5cb52867-24da-4152-be98-76cab533a4c9","name":"Get transaction by Id","originalRequest":{"method":"GET","header":[{"key":"","type":"text","value":"","disabled":true}],"url":"{{baseUrl}}/v1/transactions/{{transactionId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 11:29:09 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 35368,\n    \"guid\": \"65755890-504f-439d-880b-e9432609d8d9\",\n    \"type\": \"pay\",\n    \"flowType\": \"getPaid\",\n    \"moveType\": \"internal\",\n    \"paymentGuid\": \"f6b659cb-8bc2-4d8c-b38d-c63f88aba492\",\n    \"recurrence\": {\n        \"frequency\": \"once\",\n        \"startDate\": \"2020-12-18T00:00:00\"\n    },\n    \"source\": {\n        \"userId\": 325,\n        \"type\": \"banq\",\n        \"accountType\": \"personal\",\n        \"accountId\": 325,\n        \"banq\": {\n            \"id\": 325,\n            \"banqGuid\": \"9d1d96f3-589a-4b3b-93d5-55c151f5aba0\",\n            \"banqType\": \"full\",\n            \"custodialNumber\": 420091154606,\n            \"transactionName\": \"Sergey\"\n        }\n    },\n    \"destination\": {\n        \"userId\": 3477,\n        \"type\": \"banq\",\n        \"accountType\": \"merchant\",\n        \"accountId\": 4152,\n        \"banq\": {\n            \"id\": 4924,\n            \"banqGuid\": \"2dd64995-c36e-4d76-9b67-ab9d46da8f5e\",\n            \"banqType\": \"full\",\n            \"custodialNumber\": 420018405648,\n            \"banqName\": \"Euphoria\",\n            \"transactionName\": \"Euphoria\"\n        }\n    },\n    \"amount\": 100,\n    \"fee\": 0,\n    \"destinationFee\": 0,\n    \"total\": 100,\n    \"comment\": \"R-555555\",\n    \"status\": \"completed\",\n    \"createdAt\": \"2020-12-18T10:03:14.4151001+00:00\",\n    \"updatedAt\": \"2020-12-18T10:03:15.4495023+00:00\"\n}"}],"_postman_id":"14d771e8-349e-45cf-b4b7-a9c5d2a3bd43"}],"id":"cb76b8b8-5307-4f94-9d60-7bed4c514dc8","_postman_id":"cb76b8b8-5307-4f94-9d60-7bed4c514dc8","description":"","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}}},{"name":"Webhooks","item":[{"name":"Create web hook config","id":"b9e20f5d-ab0d-433c-8106-0e4be30059f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://webhook.site/48cd50bf-ce90-4ca3-8652-a35a6b473091\",\r\n  \"enabled\": true,\r\n  \"retryCount\": 5,\r\n  \"webHookTypes\": [\r\n    \"payment\", \"transaction\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/account-spaces/{{accountSpaceId}}/webhook-config","description":"<p>Create web hook config.</p>\n<h5>Request body</h5>\n\n<p><code>url</code> (string) - required, cannot be empty or contain whitespaces only;</p>\n<p><code>enabled</code> (bool) - 'true' by default;</p>\n<p><code>retryCount</code> (int, from 1 to 10) - required, the maximum number of requests that will be send to the url, until a success response is returned. There will be at least one request attempt;</p>\n<p><code>sharedSecret</code> (string) - at least 8 characters. If not present, a random value will be generated and returned;</p>\n<p><code>webHookTypes</code> (list of web hook types: transaction, payment) - required. </p>\n<h5>Response body</h5>\ndata:\n\n<ul>\n<li>accountSpaceId (int) - account space ID;</li>\n<li>id (int) - ID of the config;</li>\n<li>url (string) - url of the config;</li>\n<li>enabled (bool) - is config enabled;</li>\n<li>guid (Guid) - unique ID of the config;</li>\n<li>createdById (int) - ID of the user that created this config;</li>\n<li>updatedById (int)  - ID of the user that updated this config;</li>\n<li>createdAtUtc (DateTimeOffset) - the create date time;</li>\n<li>updatedAtUtc (DateTimeOffset) - the update date time;</li>\n<li>retryCount (int) - retry count;</li>\n<li>sharedSecret (string) - shared secret that will be used to calculate HMAC for the webhooks;</li>\n<li>webHookTypes: Payment, Transaction - list of web hook types.</li>\n</ul>\n<p>type (string) - type of response.</p>\n<h5>Headers</h5>\n* X-Company-Id.","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","account-spaces","{{accountSpaceId}}","webhook-config"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"751ba4c3-f01b-47d1-b3da-2ce1f5f94a69","name":"Create web hook config","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://www.banq.com/payment\",\r\n  \"enabled\": true,\r\n  \"retryCount\": 1,\r\n  \"sharedSecret\": \"secret\",\r\n  \"webHookTypes\": [\r\n    \"payment\", \"transaction\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/account-spaces/{{accountSpaceId}}/webhook-config"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Jan 2021 13:21:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Location","value":"http://aks-banq-int-01.eastus.cloudapp.azure.com/api/v1/accounts/4152/webhook-config"},{"key":"Request-Context","value":"appId=cid-v1:6ed5b5d4-9eae-41f7-b8cf-ecc8af6093c8"},{"key":"api-supported-versions","value":"1.0"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"accountSpaceId\": 4152,\n        \"id\": 65,\n        \"url\": \"https://www.banq.com/payment\",\n        \"enabled\": true,\n        \"guid\": \"2721be6e-eb4b-4fe5-a113-50a84cd816f0\",\n        \"createdById\": 3477,\n        \"updatedById\": 3477,\n        \"createdAtUtc\": \"2021-01-18T13:21:18.4358792+00:00\",\n        \"updatedAtUtc\": \"2021-01-18T13:21:18.4358792+00:00\",\n        \"retryCount\": 1,\n        \"sharedSecret\": \"secret\",\n        \"webHookTypes\": [\n            \"payment\",\n            \"transaction\"\n        ],\n        \"type\": \"webhook-config\"\n    }\n}"}],"_postman_id":"b9e20f5d-ab0d-433c-8106-0e4be30059f2"},{"name":"Update web hook config","id":"47bc1722-0803-4b33-84e2-7b6375b0c3ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://webhook.site/48cd50bf-ce90-4ca3-8652-a35a6b473091\",\r\n  \"enabled\": true,\r\n  \"retryCount\": 5,\r\n  \"webHookTypes\": [\r\n    \"payment\", \"transaction\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/account-spaces/{{accountSpaceId}}/webhook-config","description":"<p>Update web hook config by account id.</p>\n<h5>Request body</h5>\n\n<p>url (string) - required, cannot be empty or contain whitespaces only;</p>\n<p>enabled (bool) - required;</p>\n<p>retryCount (int, from 1 to 10) - required, the maximum number of requests that will be send to the url, until a success response is returned. There will be at least one request attempt;</p>\n<p>webHookTypes (list of web hook types: transaction, payment) - required. </p>\n<h5>Response body</h5>\ndata:\n\n<ul>\n<li>accountSpaceId (int) - account space ID;</li>\n<li>id (int) - ID of the config;</li>\n<li>url (string) - url of the config;</li>\n<li>enabled (bool) - is config enabled;</li>\n<li>guid (Guid) - unique ID of the config;</li>\n<li>createdById (int) - ID of the user that created this config;</li>\n<li>updatedById (int)  - ID of the user that updated this config;</li>\n<li>createdAtUtc (DateTimeOffset) - the create date time;</li>\n<li>updatedAtUtc (DateTimeOffset) - the update date time;</li>\n<li>retryCount (int) - retry count;</li>\n<li>sharedSecret (string) - shared secret that will be used to calculate HMAC for the webhooks;</li>\n<li>webHookTypes: Payment, Transaction - list of web hook types.</li>\n</ul>\n<p>type (string) - type of response.</p>\n<h5>Headers</h5>\n* X-Company-Id.","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","account-spaces","{{accountSpaceId}}","webhook-config"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"897da2e8-98f6-4156-95e1-612040973274","name":"Update web hook config","originalRequest":{"method":"PUT","header":[{"key":"","type":"text","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\r\n  \"url\": \"https://www.banq.com/transaction\",\r\n  \"enabled\": true,\r\n  \"retryCount\": 1,\r\n  \"webHookTypes\": [\r\n    \"payment\", \"transaction\"\r\n  ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/account-spaces/{{accountSpaceId}}/webhook-config"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Jan 2021 13:21:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Request-Context","value":"appId=cid-v1:6ed5b5d4-9eae-41f7-b8cf-ecc8af6093c8"},{"key":"api-supported-versions","value":"1.0"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"accountSpaceId\": 4152,\n    \"id\": 65,\n    \"url\": \"https://www.banq.com/transaction\",\n    \"enabled\": true,\n    \"guid\": \"2721be6e-eb4b-4fe5-a113-50a84cd816f0\",\n    \"createdById\": 3477,\n    \"updatedById\": 3477,\n    \"createdAtUtc\": \"2021-01-18T13:21:18.4358792+00:00\",\n    \"updatedAtUtc\": \"2021-01-18T13:21:59.3786367+00:00\",\n    \"retryCount\": 1,\n    \"sharedSecret\": \"secret\",\n    \"webHookTypes\": [\n        \"payment\",\n        \"transaction\"\n    ],\n    \"type\": \"webhook-config\"\n}"}],"_postman_id":"47bc1722-0803-4b33-84e2-7b6375b0c3ec"},{"name":"Get web hook config","id":"cfabab41-66cc-499b-8a7b-cb6027dfdf7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{baseUrl}}/v1/account-spaces/{{accountSpaceId}}/webhook-config","description":"<p><em>Loads web hook config for account.</em></p>\n<h5>Response body</h5>\n\n<ul>\n<li>accountSpaceId (int) - account space ID;</li>\n<li>id (int) - ID of the config;</li>\n<li>url (string) - url of the config;</li>\n<li>enabled (bool) - is config enabled;</li>\n<li>guid (Guid) - unique ID of the config;</li>\n<li>createdById (int) - ID of the user that created this config;</li>\n<li>updatedById (int)  - ID of the user that updated this config;</li>\n<li>createdAtUtc (DateTimeOffset) - the create date time;</li>\n<li>updatedAtUtc (DateTimeOffset) - the update date time;</li>\n<li>retryCount (int) - retry count;</li>\n<li>sharedSecret (string) - shared secret that will be used to calculate HMAC for the webhooks;</li>\n<li>webHookTypes: Payment, Transaction - list of web hook types.</li>\n<li>type (string) - type of response.</li>\n</ul>\n<h5>Headers</h5>\n* X-Company-Id","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","account-spaces","{{accountSpaceId}}","webhook-config"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"42f5a0ce-e129-477b-aa75-b52a4a0a36f1","name":"Get web hook config","originalRequest":{"method":"GET","header":[{"key":"","value":"","type":"text","disabled":true}],"url":"{{baseUrl}}/v1/account-spaces/{{accountSpaceId}}/webhook-config"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Jan 2021 13:22:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Request-Context","value":"appId=cid-v1:6ed5b5d4-9eae-41f7-b8cf-ecc8af6093c8"},{"key":"api-supported-versions","value":"1.0"},{"key":"Strict-Transport-Security","value":"max-age=15724800; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"accountSpaceId\": 4152,\n        \"id\": 65,\n        \"url\": \"https://www.banq.com/transaction\",\n        \"enabled\": true,\n        \"guid\": \"2721be6e-eb4b-4fe5-a113-50a84cd816f0\",\n        \"createdById\": 3477,\n        \"updatedById\": 3477,\n        \"createdAtUtc\": \"2021-01-18T13:21:18.4358792+00:00\",\n        \"updatedAtUtc\": \"2021-01-18T13:21:59.3786367+00:00\",\n        \"retryCount\": 1,\n        \"sharedSecret\": \"secret\",\n        \"webHookTypes\": [\n            \"payment\",\n            \"transaction\"\n        ],\n        \"type\": \"webhook-config\"\n    }\n}"}],"_postman_id":"cfabab41-66cc-499b-8a7b-cb6027dfdf7b"}],"id":"b0f78397-e48f-41f5-8389-390ef22743f2","_postman_id":"b0f78397-e48f-41f5-8389-390ef22743f2","description":"","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}}},{"name":"Nft Transactions","item":[{"name":"Create Move Nft Transaction","id":"0949f2aa-6bac-4500-92b5-307105db4a94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-Idempotent-Id","value":"d6eb1ec2-f0ed-4a72-9a14-9fbe8f923143","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tokenId\": \"token Id\",\r\n    \"contractAddress\": \"сontract address\",\r\n    \"sourceBanq\": \"{{sourceBanqGuid}}\",\r\n    \"destinationBanq\": \"{{banqGuid}}\",\r\n    \"amount\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/nft-transactions","description":"<p><em>Creates the direct get paid payment.</em></p>\n<h5>Request body</h5>\n\n<p>source - required:</p>\n<ul>\n<li><code>sourceBanq</code> (Guid) - required - source banq unique ID;</li>\n</ul>\n<p>destination - required:</p>\n<ul>\n<li><code>destinationBanq</code> (Guid) - required - destination banq unique ID;</li>\n</ul>\n<p><code>amount</code> (decimal) - required;</p>\n<p><code>contractAddress</code> (string);</p>\n<p><code>tokenId</code> (string);</p>\n<h5>Response body</h5>\n\n<p><code>id</code> (long) - payment ID;</p>\n<p><code>guid</code> (Guid) - payment banqGuid;</p>\n<p><code>createdAt</code> (DateTimeOffset) - payment creation date time;</p>\n<p><code>updatedAt</code> (DateTimeOffset) - payment updating date time;</p>\n<p><code>name</code> (string) - payment name;</p>\n<p><code>status</code>: Pending, Completed, Canceled, Declined, Expired, New, Active, OnHold - payment status;</p>\n<p><code>createdBy</code> (int) - ID of the user that created this payment.;</p>\n<p><code>endDate</code> (DateTime);</p>\n<p><code>startDate</code> (DateTime);</p>\n<p><code>frequency</code>:  Once, Daily, Weekly, Biweekly, Monthly, Quarterly, EverySixMonths, Yearly - payment frequency;</p>\n<p><code>type</code>: Pay, Move - transaction type;</p>\n<p><code>flowType</code>: Pay, GetPaid, Default;</p>\n<p><code>expiresAt</code> (DateTimeOffset);</p>\n<p><code>moveType</code>: Internal, Contribution, Disbursement, Pending;</p>\n<p><code>disbursementType</code>: Plaid,  Ach, InternationalWire, Check, Wire, NotSpecified;</p>\n<p><code>contributionType</code>: Wire, Check, InternationalWire, Plaid, Card;</p>\n<p><code>reference</code> (string);</p>\n<p><code>externalOrderCode</code> (string);</p>\n<p>source:</p>\n<ul>\n<li>accountId (int);</li>\n<li>banq:<ul>\n<li>id (int);</li>\n<li>banqGuid (Guid);</li>\n<li>banqType: Limited, Full;</li>\n<li>custodialNumber (long);</li>\n<li>banqName (string);</li>\n<li>transactionName (string);</li>\n</ul>\n</li>\n<li>externalAccount: <ul>\n<li>id (int);</li>\n<li>type: Bank, Card;</li>\n<li>bankName (string);</li>\n<li>cardType: Debit, Credit;</li>\n<li>paymentSystem: Visa, Mastercard;</li>\n<li>last4 (string);</li>\n</ul>\n</li>\n<li>externalAccountId (int);</li>\n<li>type: Banq, External - address type;</li>\n<li>banqGuid (Guid);</li>\n</ul>\n<p>destination:</p>\n<ul>\n<li>accountId (int);</li>\n<li>banq:<ul>\n<li>id (int);</li>\n<li>banqGuid (Guid);</li>\n<li>banqType: Limited, Full;</li>\n<li>custodialNumber (long);</li>\n<li>banqName (string);</li>\n<li>transactionName (string);</li>\n</ul>\n</li>\n<li>externalAccount: <ul>\n<li>id (int);</li>\n<li>type: Bank, Card;</li>\n<li>bankName (string);</li>\n<li>cardType: Debit, Credit;</li>\n<li>paymentSystem: Visa, Mastercard;</li>\n<li>last4 (string);</li>\n</ul>\n</li>\n<li>externalAccountId (int);</li>\n<li>type: Banq, External - address type;</li>\n<li>banqGuid (Guid);</li>\n</ul>\n<p><code>comment</code> (string);</p>\n<p><code>funds</code> (decimal);</p>\n<p><code>tips</code> (decimal).</p>\n<h5>Headers</h5>\n* X-Idempoent-Id","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}},"urlObject":{"path":["v1","nft-transactions"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"a29e52e2-f8bf-44c0-81da-8e500f7a1381","name":"Create Move Nft transaction","originalRequest":{"method":"POST","header":[{"key":"","type":"text","value":"","disabled":true},{"key":"X-Idempotent-Id","value":"71050f0d-442b-414f-aa2c-449d6ecfad8e","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tokenId\": \"token Id\",\r\n    \"contractAddress\": \"contract address\",\r\n    \"sourceBanq\": \"{{sourceBanqGuid}}\",\r\n    \"destinationBanq\": \"{{banqGuid}}\",\r\n    \"amount\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/v1/nft-transactions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Kestrel"},{"key":"Request-Context","value":"appId=cid-v1:4a170221-1561-450b-b172-8de5d316aaf6"},{"key":"api-supported-versions","value":"1.0"},{"key":"Date","value":"Mon, 11 Jan 2021 11:29:37 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 13953,\n        \"guid\": \"4c2171f3-5468-4e79-a171-b2dd7e370149\",\n        \"createdAt\": \"2021-09-07T15:19:53.5961102+00:00\",\n        \"updatedAt\": \"2021-09-07T15:19:53.9681985+00:00\",\n        \"status\": \"completed\",\n        \"createdBy\": \"e011d65c-60c1-460e-b9c3-d59a15978b07\",\n        \"performedBy\": \"e011d65c-60c1-460e-b9c3-d59a15978b07\",\n        \"startDate\": \"2021-09-07\",\n        \"frequency\": \"once\",\n        \"flowType\": \"default\",\n        \"type\": \"move\",\n        \"moveType\": \"nft\",\n        \"unitCount\": 0,\n        \"assetOperation\": \"none\",\n        \"tokenDataId\": \"d3c7e42b-82f1-1121-a92b-052ed7f24c2d\",\n        \"nftName\": \"fgh\",\n        \"nftDescription\": \"fgh\",\n        \"nftAmount\": 1,\n        \"mediaType\": \"image/png\",\n        \"nftOperation\": \"move\",\n        \"source\": {\n            \"accountId\": 22502,\n            \"banq\": {\n                \"id\": 24204,\n                \"banqGuid\": \"a56a3617-3fbe-4e6f-9d9a-6656ff0c50b1\",\n                \"banqName\": \"nft\",\n                \"banqNickName\": \"nft\",\n                \"transactionName\": \"Nft\"\n            },\n            \"accountType\": \"merchant-account-space\",\n            \"type\": \"banq\",\n            \"banqGuid\": \"a56a3617-3fbe-4e6f-9d9a-6656ff0c50b1\"\n        },\n        \"destination\": {\n            \"accountId\": 2,\n            \"banq\": {\n                \"id\": 2,\n                \"banqGuid\": \"dce66689-30af-44bb-9d66-89c93a7251f0\",\n                \"custodialNumber\": 420019364003,\n                \"banqName\": \"reviewme\",\n                \"transactionName\": \"ReviewMe\"\n            },\n            \"accountType\": \"personal-account-space\",\n            \"type\": \"banq\",\n            \"banqGuid\": \"dce66689-30af-44bb-9d66-89c93a7251f0\"\n        },\n        \"funds\": 0,\n        \"tips\": 0,\n        \"repeatTip\": false\n    }\n}"}],"_postman_id":"0949f2aa-6bac-4500-92b5-307105db4a94"}],"id":"372d446f-d8bf-47bb-8c1b-ad28b9ae0638","_postman_id":"372d446f-d8bf-47bb-8c1b-ad28b9ae0638","description":"","auth":{"type":"bearer","bearer":{"token":"{{token}}"},"isInherited":true,"source":{"_postman_id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","id":"22a6a5b1-a0f6-458c-be1d-b1eee0a7a570","name":"Banq Open API Documentation","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"token":"{{token}}"}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"2160ac29-bd11-43e2-a272-8a571c0ff06a"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"b0fc39cb-da78-4229-991f-0670554ae90f"}}]}