{"info":{"_postman_id":"ed1235c1-42d1-4156-9669-dae8f2e86185","name":"Zank Public API","description":"<html><head></head><body><h1 id=\"start-here\">Start here</h1>\n<h2 id=\"what-can-zank-do-for-me\">What can Zank do for me</h2>\n<p>Zank's API will extend your application capabilities by providing point of sale financing for your customers.</p>\n<h2 id=\"understanding-the-flow\">Understanding the flow</h2>\n<p>The first step in your process towards integrating with Zank's POS solution is understanding how it works.</p>\n<p>You should see Zank as an additional payment method for your customers. After your customer has selected the products or services he/she is willing to buy and has already confirmed the order, you can present Zank to your customer as a financing method for his order. </p>\n<p>After your customer selects Zank as his preferred payment method, you should ask your customer to follow Zank's application steps. Once Zank has finished evaluating your customer application he can return back to your webpage to get the final confirmation on your site.</p>\n<h2 id=\"status-of-a-loan-application\">Status of a loan application</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>API Status</th>\n<th>Status shown in Backoffice</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>INI</td>\n<td>Iniciada</td>\n<td>The application is created but still doesn't have the borrower form data</td>\n</tr>\n<tr>\n<td>VTF</td>\n<td>Ver.Teléfono</td>\n<td>The user has received an SMS to the mobile phone provided and needs to click on the link included</td>\n</tr>\n<tr>\n<td>CHB</td>\n<td>Ver.Banco</td>\n<td>The user needs to enter his bank credentials</td>\n</tr>\n<tr>\n<td>EST</td>\n<td>En Estudio</td>\n<td>There is a problem with the application and it is being treated manually by an operator</td>\n</tr>\n<tr>\n<td>SIG</td>\n<td>Pdte.Firma</td>\n<td>The user needs to sign the contract with a code provided by SMS</td>\n</tr>\n<tr>\n<td>DNI</td>\n<td>DNI</td>\n<td>The user needs to upload a picture of his ID card from both sides</td>\n</tr>\n<tr>\n<td>TAR</td>\n<td>Tarjeta</td>\n<td>The user needs to enter his card details as a payment method</td>\n</tr>\n<tr>\n<td>KYC</td>\n<td>Apro/docs.</td>\n<td>Our banking partner is verifying the ID of the user</td>\n</tr>\n<tr>\n<td>EDO</td>\n<td>Apro/docs.</td>\n<td>The user needs to solve a problem with the ID documents</td>\n</tr>\n<tr>\n<td>PUB</td>\n<td>Pdte.Trans.</td>\n<td>Zank is looking for the lender/s of the application</td>\n</tr>\n<tr>\n<td>TRP</td>\n<td>Pdte.Trans.</td>\n<td>The transfer is ready to be sent. Automatically crosschecking all details</td>\n</tr>\n<tr>\n<td>TRE</td>\n<td>Transferencia enviada</td>\n<td>The transfer has been sent.</td>\n</tr>\n<tr>\n<td>APR</td>\n<td>Aprobada</td>\n<td>The loan is approved and has already started the amortization phase</td>\n</tr>\n<tr>\n<td>DEN</td>\n<td>Denegada</td>\n<td>The loan application has been denied approval</td>\n</tr>\n<tr>\n<td>CAN</td>\n<td>Cancelada</td>\n<td>The loan application has been cancelled</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"push-notifications\">Push notifications</h2>\n<p>If you provide a notifications Url when creating a loan, we will send push notifications to inform you when a loan changes its status.</p>\n<p>The structure of the notification is the following:</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Start here","slug":"start-here"}],"owner":"10170509","collectionId":"ed1235c1-42d1-4156-9669-dae8f2e86185","publishedId":"SWTG6FVn","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-02-13T18:05:30.000Z"},"item":[{"name":"Authorization","item":[{"name":"login_check","event":[{"listen":"prerequest","script":{"id":"673ec321-186b-4c4d-871d-919f3d0e26e6","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"babcd360-9be0-4172-9e23-bf231d03d7e3","exec":["var jsonData = JSON.parse(responseBody);","pm.globals.set(\"token\", jsonData.token);"],"type":"text/javascript"}}],"id":"ddb39f10-89a2-4db2-b1fa-885e010776ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"<p><code>Required</code> Your backoffice username</p>\n","key":"_username","type":"text","value":"{{username}}"},{"description":"<p><code>Required</code> Your backoffice password</p>\n","key":"_password","type":"text","value":"{{password}}"}]},"url":" https://dev.zank.com.es/api/login_check","description":"<p>Start by login in into the API with your backoffice user and password.</p>\n<p>There are two types of users in Zank: administrators and sales agents. You can login with the credentials belonging to any user but bear in mind that the methods available in this API will be restricted depending on the role of the user.</p>\n","urlObject":{"path":["api","login_check"],"host":[" https://dev.zank.com.es"],"query":[],"variable":[]}},"response":[{"id":"69a1a36f-78d6-4f12-a2d0-c282b51157af","name":"login_check","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"description":"`Required` Your backoffice username","key":"_username","type":"text","value":"A47DF32BD3527D"},{"description":"`Required` Your backoffice password","key":"_password","type":"text","value":"sd4f9kj3st"}]},"url":" https://dev.zank.com.es/api/login_check"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"eyJhbGciOiJSUzI1NiJ9.eyJyb2xlcyI6WyJST0xFX1NVUEVSX0FETUlOIiwiUk9MRV9VU0VSIl0sImVtYWlsIjoieG1hcmphbEBnbWFpbC5jb20iLCJpYXQiOjE1MzczNDY5MTEsImV4cCI6MTUzNzM1MDUxMX0.MHAfVvr9C0MLSZgCCMrjpPz-JnPJaKaB9CfhFWMPsdwFajIdwm8qVI-k3HrTgqduNIugZkEEnHqwLBunQEhMLb6LgxjK8nHAdOA0oqNZ6zktNJcIUcraXtPPrVf_206PfIOF3UC0ieB5yp7uhoM6fAdwveo0AVNFoc_09jaexJN6WT5VvV2uHr_w_aH49yp_v6l8W4CwVxqXAT2y-8veW3ImVkijkDgCfnzOvzugFJ-y6ckYMjOiVggxX4j2az3-yJ88OzVj9wZka_MGnvktxr-94R6xRW2OYQUH12icTvz9F0Ts0z_-CZkD9U-HnC0TSudsh2woAVOrY22sxkfEVBiBqQjPrHIBuZUhXTA4WQMm6bwgCMTSwQNsQck0nvRZfPo7V1eckRiByWdEDWHCY7jKJ3WtsBLvbuYavJEH0jPBuk4g6ABgKqLeWd2Rer6AkhGC8rHMlP4J7eZDuH_kDLxTeTGR3EL8jjVMdIhGPZZ2Ax8z5fWE9sv4MCxQELKnqel9MMR84IAy-Y1G-xyTxrWbkJa3UGzelSjbWAN5sj6sc-u6VA1Ew--0SCQaNnn343-YKAWxX5zGt_ijhr0XTiFI8lBpconayHIDhSrLD-ya8buChAvo0TbZD6IqnpE8cNc1QfQsfdHOzjGmGCJMJ4mllyUcoRPeA-RhZqYXZLc\"\n}"}],"_postman_id":"ddb39f10-89a2-4db2-b1fa-885e010776ef"}],"id":"071262a4-d020-470c-8ddb-4b5aca93e98b","event":[{"listen":"prerequest","script":{"id":"cdbe35ba-fff7-49ed-af74-3efeaa33d656","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"db926ecf-e8db-4740-8da2-900c28776409","type":"text/javascript","exec":[""]}}],"_postman_id":"071262a4-d020-470c-8ddb-4b5aca93e98b","description":""},{"name":"Creating a Loan","item":[{"name":"Reasons","id":"1b038449-db72-4e98-897b-8201a14dbdd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","type":"text","value":"bearer token","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":" https://dev.zank.com.es/api/reasons?prescriber=prescriber_username","description":"<p>Get all possible reasons assigned to your user.</p>\n<p>It is also possible to get the reasons assigned to another username that belong to you in the company hierarchy.</p>\n","urlObject":{"path":["api","reasons"],"host":[" https://dev.zank.com.es"],"query":[{"description":{"content":"<p>[optional] prescriber username</p>\n","type":"text/plain"},"key":"prescriber","value":"prescriber_username"}],"variable":[]}},"response":[{"id":"4883c945-b593-4bd6-b90d-eb988da2aa2e","name":"Reasons - Not authorized (403)","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"bearer token","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":" https://dev.zank.com.es/api/reasons"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:15:06 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Not authorized\",\n    \"code\": 403\n}"},{"id":"4b495d9c-22b6-4bc1-b098-e586284e5967","name":"Reasons - Internal Error (500/5001)","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"bearer token","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":" https://dev.zank.com.es/api/reasons"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:17:02 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"An internal error has occurred\",\n    \"code\": 5001\n}"},{"id":"af9b2dd0-266b-4bb3-af9b-d89653b3b238","name":"Reasons - OK (200)","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"bearer token","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":" https://dev.zank.com.es/api/reasons"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n\t{\n\t\t\"reasonId\": 45,\n\t\t\"description\": \"Odontología:Implantología\"\n\t},\n\t{\n\t\t\"reasonId\": 48,\n\t\t\"description\": \"Odontología:Ortodoncia\"\n\t},\n\t{\n\t\t\"reasonId\": 49,\n\t\t\"description\": \"Odontología:Saneamiento\"\n\t}\n]"}],"_postman_id":"1b038449-db72-4e98-897b-8201a14dbdd5"},{"name":"Pricing configurations","id":"d89bdaa3-5708-4096-ba7c-929f16bf2ea6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","type":"text","value":"bearer token","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":" https://dev.zank.com.es/api/pricingConfigurations/{{reason}}/{{amount}}?duration=integer&borrowerOpeningFee=float&borrowerNIR=float&prescriberOpeningFee=float&prescriber=prescriber username","description":"<p>Get all possible installment options calculated for an amount that you provide. You can use the response to show your customer the possible payment durations. For each duration you also get all pricing details including monthly installments and study fees.</p>\n<p>For each duration you will get:</p>\n<ul>\n<li>id: unique id of the configuration that you should send to Zank in the createLoan request to indicate which duration prefers the borrower.</li>\n<li>duration: duration in months of the loan.</li>\n<li>monthlyPayment: monthly payment of the loan for this duration.</li>\n<li>minAmount</li>\n<li>maxAmount</li>\n<li>maxWaitingPeriod: if this configuration has a maximum waiting period, this value will be visible and will indicate the maximum.</li>\n<li>borrowerOpeningFee: borrower study fee expressed as a percentage. If borrowerOpeningFee * loan amount &lt; borrowerMinOpeningFee, the minimum expressed in borrowerMinOpeningFee applies.</li>\n<li>borrowerMinOpeningFee: borrower minimum opening fee.</li>\n<li>borrowerNIR: nominal interest rate.</li>\n<li>borrowerAPR: annual percentage rate.</li>\n<li>borrowerTotalFinancingCost: total financing cost for the borrower. Includes opening fees and total interests.</li>\n<li>prescriberOpeningFee: prescriber opening fee. If prescriberOpeningFee * loan amount &lt; prescriberMinOpeningFee, the minimum expressed in prescriberMinOpeningFee applies.</li>\n<li>prescriberMinOpeningFee: prescriber minimum opening fee.</li>\n<li>firstInstallment: amount of the first installment for the borrower.</li>\n</ul>\n","urlObject":{"path":["api","pricingConfigurations","{{reason}}","{{amount}}"],"host":[" https://dev.zank.com.es"],"query":[{"description":{"content":"<p>[optional] duration of the loan</p>\n","type":"text/plain"},"key":"duration","value":"integer"},{"description":{"content":"<p>[optional] borrower opening fee</p>\n","type":"text/plain"},"key":"borrowerOpeningFee","value":"float"},{"description":{"content":"<p>[optional] borrower interest rate</p>\n","type":"text/plain"},"key":"borrowerNIR","value":"float"},{"description":{"content":"<p>[optional] prescriber opening fee</p>\n","type":"text/plain"},"key":"prescriberOpeningFee","value":"float"},{"description":{"content":"<p>[optional] prescriber username</p>\n","type":"text/plain"},"key":"prescriber","value":"prescriber username"}],"variable":[]}},"response":[{"id":"1a4abe9f-8406-4475-a3c3-3a93ab8b628b","name":"Pricing configurations - Not Authorized (403)","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"bearer token","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":{"raw":" https://dev.zank.com.es/api/pricingConfigurations/{{reason}}/{{amount}}?duration=integer&borrowerOpeningFee=float&borrowerNIR=float&prescriberOpeningFee=float","host":[" https://dev.zank.com.es"],"path":["api","pricingConfigurations","{{reason}}","{{amount}}"],"query":[{"key":"duration","value":"integer","description":"duration of the loan"},{"key":"borrowerOpeningFee","value":"float","description":"borrowe opening fee"},{"key":"borrowerNIR","value":"float","description":"borrower interest rate"},{"key":"prescriberOpeningFee","value":"float","description":"prescriber opening fee"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 11:42:17 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Not authorized\",\n    \"code\": 403\n}"},{"id":"5013ee37-1e02-4ebc-bd41-9c54a1d40dcf","name":"Pricing configurations - Internal Error (500/5001)","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"bearer token","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":{"raw":" https://dev.zank.com.es/api/pricingConfigurations/{{reason}}/{{amount}}?duration=integer&borrowerOpeningFee=float&borrowerNIR=float&prescriberOpeningFee=float","host":[" https://dev.zank.com.es"],"path":["api","pricingConfigurations","{{reason}}","{{amount}}"],"query":[{"key":"duration","value":"integer","description":"duration of the loan"},{"key":"borrowerOpeningFee","value":"float","description":"borrower opening fee"},{"key":"borrowerNIR","value":"float","description":"borrower interest rate"},{"key":"prescriberOpeningFee","value":"float","description":"prescriber opening fee"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:10:11 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{ \n   \"error\":\"An internal error has occurred\",\n   \"code\":5001\n}"},{"id":"a165bb26-299b-4cbd-a6dd-a78df415e1dd","name":"PricingConfigurations - OK (200)","originalRequest":{"method":"GET","header":[],"url":" https://dev.zank.com.es/api/pricingConfigurations/{{reason}}/{{amount}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[ \n   { \n      \"id\":384,\n      \"monthlyPayment\":60.03,\n      \"duration\":18,\n      \"minAmount\":300,\n      \"maxAmount\":6000,\n      \"maxWaitingPeriod\": 1,\n      \"borrowerOpeningFee\":2.5,\n      \"borrowerMinOpeningFee\":50,\n      \"borrowerNIR\":9.95,\n      \"borrowerAPR\":17.32,\n      \"prescriberOpeningFee\":0,\n      \"prescriberMinOpeningFee\":0,\n      \"firstInstallment\":52.45,\n      \"borrowerTotalFinancingCost\":133.07\n   }\n]"},{"id":"dfb49dd6-f546-4f21-b209-1146e9d7fcb6","name":"Pricing  configurations - Invalid Secondary Reason (404/4001)","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"bearer token","warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman."}],"url":{"raw":" https://dev.zank.com.es/api/pricingConfigurations/{{reason}}/{{amount}}?duration=integer&borrowerOpeningFee=float&borrowerNIR=float&prescriberOpeningFee=float","host":[" https://dev.zank.com.es"],"path":["api","pricingConfigurations","{{reason}}","{{amount}}"],"query":[{"key":"duration","value":"integer","description":"duration of the loan"},{"key":"borrowerOpeningFee","value":"float","description":"borrower opening fee"},{"key":"borrowerNIR","value":"float","description":"borrower interest rate"},{"key":"prescriberOpeningFee","value":"float","description":"prescriber opening fee"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:00:53 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid secondary reason id\",\n    \"code\": 4001\n}"}],"_postman_id":"d89bdaa3-5708-4096-ba7c-929f16bf2ea6"},{"name":"Create Loan","id":"5a335bea-1255-4f7f-aec0-ca7cc5b8c59a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"pdta\":true,\n    \"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\",\n    \"prescriber\": {{prescriberUsername}},\n    \"watingPeriod\" : 1,\n    \"carType\": \"tourism\",\n    \"carBrand\": \"Seat\",\n    \"carModel\": \"Leon\",\n    \"carChassis\": \"AAAAA\",\n    \"carPlateNumber\": \"AA1AAA4A636534808\",\n    \"carPlateNumberDate\": \"2000-01-01\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan","description":"<p>Creates a new loan and a user associated to it. The new user will be created in Zank with the email provided as his username.</p>\n<p>You will always need to get two different parameters in advance before calling this request, in order to indicate the API what monthly plan you wish to apply to your loan. To do so:</p>\n<ol>\n<li>Call the <a href=\"https://docs.zank.com.es/?version=latest#1b038449-db72-4e98-897b-8201a14dbdd5\">GET Reasons</a> request to get all possible reasons assigned to your user.</li>\n<li>Call the <a href=\"https://docs.zank.com.es/?version=latest#d89bdaa3-5708-4096-ba7c-929f16bf2ea6\">GET PricingConfigurations</a> request using one of the reasons id to get the pricing configurations for that reason.</li>\n<li>Call the CreateLoan method with:</li>\n</ol>\n<ul>\n<li><code>reason</code> value: the id of the reason selected in the call you made to <a href=\"https://docs.zank.com.es/?version=latest#1b038449-db72-4e98-897b-8201a14dbdd5\">GET Reasons</a></li>\n<li><code>config</code> value: the id of the pricing configuration selected by your customer out of the different configurations you received when calling <a href=\"https://docs.zank.com.es/?version=latest#d89bdaa3-5708-4096-ba7c-929f16bf2ea6\">GET PricingConfigurations</a></li>\n<li><code>pdta</code> value:<br />  It is mandatory to get your customer's acceptance regarding the information that lies within your server and that will be transferred to Zank's servers in order to start the application. This acceptance can be obtained by either of this two ways:</li>\n</ul>\n<ol>\n<li>By introducing in your Terms and Conditions the text shown below</li>\n<li>By showing your customer a required checkbox with the text shown below</li>\n</ol>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Aceptación de transferencia de datos personales\nAcepto que mis datos personales sean transferidos a Zank Financial SL con el fin de estudiar la viabilidad de mi solicitud de préstamo.\n\n</code></pre><ul>\n<li><code>reference</code> value:<br />  If you have an internal order reference, use it in the <code>reference</code> parameter so you can use it as a search parameter in other methods.</li>\n<li><code>amount</code> value:<br />  When setting the <code>amount</code>, always use a double decimal notation with a dot separator. Do not separate thousands digits. Example: if you need to create the loan for an amount of 1234.56 € insert 1234.56, or if you want to create a loan for an amount of 540 € use 540.00 to avoid errors.</li>\n<li><code>email</code>value: provide the email of your customer</li>\n<li><code>mobilePhone</code>: provide the mobile phone number of your customer. This number will need to be validated by Zank during the process.</li>\n<li><code>firstname</code>: provide the first name of your customer.</li>\n<li><code>lastname</code>: provide the last name of your customer.</li>\n<li><code>lastname2</code>: provide the second last name of your customer (not required).</li>\n<li><code>idNumber</code>: provide a valid official id number: dni number or nie number.</li>\n<li><code>startingDate</code> [optional]:<br />  If your account configuration allows it, you can set a <code>startingDate</code> for the loan using the standard YYYY-mm-dd format. The starting date can span a maximum of 3 months from today's date. If you don't set a starting date, once the customer is approved and all requirements are met (i.e. contract signed, id verified, etc) the transfer will be made ASAP to your bank account and the amortization period will start immediately. If you set a starting date, this will be the date the amortization period will start for your customer and the date you will receive your transfer.</li>\n<li><code>notificationsUrl</code> [optional]:<br />  Use of the <code>notificationURL</code> field is optional, but convenient in order to receive changes in loan status' and create reactive experiences for your customers. See details of its use in the <a href=\"https://docs.zank.com.es/#d2ceb2b1-3e60-4b0d-b186-56fb7bbaf28f\">Webhooks</a> section.</li>\n<li><code>returnUrl</code> [optional]:<br />  You can also use <code>returnUrl</code> so we can redirect your customer to a URL that you select in your website once the process has finished.</li>\n<li><code>prescriber</code>[optional]:<br />  Use this value if you want to create the loan application for a different prescriber in your organization. You can get the list of prescribers by using the GET List Prescribers method.</li>\n<li><code>waitingPeriod</code>[optional]:<br />  Use this value to indicate how many months this loan has of waiting period. The maximum value of this param is the maxWaitingPeriod of the selected pricing configuration if this has one.</li>\n<li><code>carType</code> [optional]: if it's a vehicle's loan, you have to indicate the car fields. It has to be one of this: tourism, motorcycle, moped, van, truck, bus, tractor, quad or boat.</li>\n<li><code>carBrand</code> [optional]: if it's a vehicle's loan, you have to indicate the car fields. The vehicle's brand.</li>\n<li>carModel [optional]: if it's a vehicle's loan, you have to indicate the car fields. The vehicle's model.</li>\n<li><code>carChassis</code> [optional]: if it's a vehicle's loan, you have to indicate the car fields. The vehicle's chassis.</li>\n<li><code>carPlateNumber</code> [optional]: if it's a vehicle's loan, you have to indicate the car fields. The vehicle's plate number.</li>\n<li><code>carPlateNumberDate</code> [optional]: if it's a vehicle's loan, you have to indicate the car fields. The vehicle's plate number date.</li>\n<li><code>carEurotax</code> [optional]: if it's a vehicle's loan, you have to indicate the car fields. The vehicle's eurotax if you have it.</li>\n</ul>\n<p>After a successfull call to the createLoan method, you will receive the <code>idLoan</code> field with the id of the loan that you can use to refer to this loan in the rest of methods, as well as an autologin <code>url</code> that you can hand out to your customer so he can complete the loan application.</p>\n","urlObject":{"path":["api","createLoan"],"host":[" https://dev.zank.com.es"],"query":[],"variable":[]}},"response":[{"id":"0d13ab7d-6ef8-4373-92cb-5234435194c5","name":"Create Loan - Client email already has an active loan (4005)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:46:12 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"This client's email already has an active loan\",\n    \"code\": 4005\n}"},{"id":"23822089-0fbb-4d38-8ef3-2546dddb2e88","name":"Create Loan - Invalid hash (4002)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\",\n    \"prescriber\": {{prescriberUsername}}\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:40:52 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid hash\",\n    \"code\": 4002\n}"},{"id":"493e700c-e173-4b29-8b4c-d889984a8659","name":"Create Loan - Invalid amount (4006)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:43:10 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid amount\",\n    \"code\": 4006\n}"},{"id":"4d752e7b-316d-4f9b-bca8-e7c8cd7b632d","name":"Create Loan - Hash not belong to you (4004)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:42:27 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"This hash doesn't belong to you\",\n    \"code\": 4004\n}"},{"id":"4eb6f161-7cd4-4e1c-8271-b01d4fbdac62","name":"Create Loan - OK (200)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\",\n    \"prescriber\": {{prescriberUsername}}\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"loanId\": 1,\n    \"zankCode\": \"F0000001\",\n    \"url\": \"https://mandarina.zank.com.es/ASK/dfdf0b4x/32687\"\n}"},{"id":"6ccb6281-80e5-4d93-8035-ccc8f12dbd63","name":"Create Loan - Not authorized (403)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\",\n    \"prescriber\": {{prescriberUsername}}\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:37:39 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Not authorized\",\n    \"code\": 403\n}"},{"id":"99398ef5-fb05-4177-a5f6-0b8149451cc3","name":"Create Loan - Accept the Personal Data Transfer Agreement (4007)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":false,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:45:15 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"You need to accept the Personal Data Transfer Agreement\",\n    \"code\": 4007\n}"},{"id":"ac5ab26b-db11-486e-8b4a-cf1abb364d9d","name":"Create Loan - Configuration not belong to you (4003)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:41:26 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"This configuration doesn't belong to you\",\n    \"code\": 4003\n}"},{"id":"ae4c6dc8-0df2-4f9f-9618-06fdf482d5e8","name":"Create Loan - Invalid configuration Id (4001)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\",\n    \"prescriber\": {{prescriberUsername}}\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:40:12 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid configuration Id\",\n    \"code\": 4001\n}"},{"id":"b40252cc-8567-43c6-9f1e-fbd3006e94f3","name":"Create Loan - Hash or Reason must be provided (4002)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\",\n    \"prescriber\": {{prescriberUsername}}\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:34:40 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Either hash or reason must be provided\",\n    \"code\": 4002\n}"},{"id":"c6986f86-8065-4f19-af90-471765861747","name":"Create Loan - Starting date has to be equal or later than today (4009)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Starting date has to be equal or later than today\",\n    \"code\": 4009\n}"},{"id":"c6a5205a-b16f-4148-9ff7-18111281164b","name":"Create Loan - Starting date has to be sooner than a date (4010)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Starting date has to be sooner than {date}\",\n    \"code\": 4010\n}"},{"id":"e2f5e979-01b8-4dac-afaa-527a098ba9dc","name":"Create Loan - Internal error (5001)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 12:49:20 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"An internal error has occurred\",\n    \"code\": 5001\n}"},{"id":"fa1116d3-c069-4fcf-8ce8-b53f60d57e78","name":"Create Loan - StartingDate has invalid format (4008)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"pdta\":true,\n\t\"amount\": {{amount}},\n\t\"reason\": {{reason}},\n\t\"reference\": \"TR-3545\",\n\t\"email\": \"name@company.com\",\n    \"mobilePhone\": \"600000000\",\n    \"idNumber\": \"22222222J\",\n    \"firstname\": \"Firstname\",\n\t\"lastname\": \"Lastname\",\n\t\"lastname2\": \"Lastname2\",\n\t\"config\": 93,\n\t\"startingDate\": \"2020-03-24\",\n\t\"notificationsUrl\": \"https://www.company.com/ping\",\n\t\"returnUrl\": \"https://www.company.com/user7465\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/createLoan"},"code":404,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"StartingDate has invalid format\",\n    \"code\": 4008\n}"}],"_postman_id":"5a335bea-1255-4f7f-aec0-ca7cc5b8c59a"},{"name":"Send borrower form [optional]","id":"9bd06b51-7884-436f-894e-b939c6be845c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}"},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}","description":"<p>Create a faster experience for your customer by providing us with a set of information we need from your customer.</p>\n<p>We suggest creating a form in your webpage to collect all information missing in your order.</p>\n<p>The options you need to send us are:</p>\n<ul>\n<li>birthdate `Required` birthdate of the borrower. Format: YYYY-mm-dd</li>\n<li>civilStatus `Required` civil status of the borrower. Options: Soltero, CasadoGananciales, CasadoSeparacion, UnionHecho, Separado, Divorciado, Viudo</li>\n<li>children `Required` number of children the borrower has. Integer. </li>\n<li>residenceType `Required` residence type where the borrower lives. Options:</li>\n<ul>\n<li>PropiaHipoteca</li>\n<li>PropiaSinHipoteca</li>\n<li>PisoAlquiler</li>\n<li>HabitacionAlquiler</li>\n<li>ConPadres</li>\n<li>Otro</li>\n</ul>\n<li>employment `Required` employment type of the borrower. Options:</li>\n<ul>\n<li>Administrativo</li>\n<li>Comercial</li>\n<li>Desempleado</li>\n<li>Ejecutivo</li>\n<li>Estudiante</li>\n<li>Funcionario</li>\n<li>Ingeniero</li>\n<li>Legal</li>\n<li>NoProfesionales</li>\n<li>Obrero</li>\n<li>OtrosProfesionales</li>\n<li>Pensionista</li>\n<li>Sanitario</li>\n<li>Tecnico</li>\n<li>Otro</li>\n</ul>\n<li>contractType `Required` contract type of the borrower.</li>\n<ul>\n<li>Fijo</li>\n<li>Temporal</li>\n<li>Funcionario</li>\n<li>Autonomo</li>\n<li>Pensionista</li>\n<li>Desempleado</li>\n</ul>\n<li>professionalActivity `Required` professional activity of the borrower. You need to send the key, i.e. A. Options:</li>\n<ul>\n<li>A: Agricultura, ganadería, silvicultura y pesca</li>\n<li>B: Industrias extractivas</li>\n<li>C: Industria manufacturera</li>\n<li>D: Suministro de energía eléctrica, gas, vapor y aire acondicionado</li>\n<li>E: Suministro de agua, actividades de saneamiento, gestión de residuos y descontaminación</li>\n<li>F: Construcción</li>\n<li>G: Comercio al por mayor y al por menor; reparación de vehículos de motor y motocicletas</li>\n<li>H: Transporte y almacenamiento</li>\n<li>I: Hostelería</li>\n<li>J: Información y comunicaciones</li>\n<li>K: Actividades financieras y de seguros</li>\n<li>L: Actividades inmobiliarias</li>\n<li>M: Actividades profesionales, científicas y técnicas</li>\n<li>O: Administración Pública y defensa; Seguridad Social obligatoria</li>\n<li>P: Educación</li>\n<li>Q: Actividades sanitarias y de servicios sociales</li>\n<li>R: Actividades artísticas, recreativas y de entretenimiento</li>\n<li>S: Otros servicios</li>\n<li>T: Actividades de los hogares como empleadores de personal doméstico; actividades de los hogares como productores de bienes y servicios para uso propio</li>\n<li>U: Actividades de organizaciones y organismos extraterritoriales</li>\n</ul>\n<li>netIncome `Required` monthly net income of the borrower</li>\n<li>mortgage `Required` monthly mortgage cost for the borrower</li>\n<li>rent `Required` monthly rent cost for the borrower</li>\n<li>loans `Required` monthly existing loans cost for the borrower</li>\n<li>card `Required` monthly credit card cost for the borrower</li>\n<li>company `Required` name of your company. In case of employment Pensionista, Estudiante or Desempleado send a blank string \"\"</li>\n<li>jobAntiquityYears: `Required` job antiquity years in the last employment. Integer.</li>\n<li>jobAntiquityMonths: `Required` job antiquity months in the last employment. Integer.</li>\n<li>birthCountry `Required` birth country of the borrower. Format: ISO 3166-1 alpha-3</li>\n<li>residenceCountry residence country of the borrower. Format: ISO 3166-1 alpha-3</li>\n<li>nationality `Required` nacionality of the borrower. Format: ISO 3166-1 alpha-3</li>\n<li>street `Required` street name of the borrower residence</li>\n<li>streetNumber `Required` street number of the borrower residence</li>\n<li>flat flat number</li>\n<li>door door number of the borrower residence</li>\n<li>city `Required` city of the borrower residence</li>\n<li>zipcode `Required` zip code of the borrower residence</li>\n</ul>","urlObject":{"path":["api","borrowerForm","{{loanId}}"],"host":[" https://dev.zank.com.es"],"query":[],"variable":[]}},"response":[{"id":"197fb799-6dda-425a-8430-bdcee7c814e5","name":"Send borrower form - Not authorized (403)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:21:46 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Not authorized\",\n    \"code\": 403\n}"},{"id":"2ffb96b4-217d-4319-8c9e-9be62b4fe40a","name":"Send borrower form - Field netIncome is missing (4012)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:25:20 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"The field netIncome is missing\",\n    \"code\": 4012\n}"},{"id":"3df99e98-f92c-4c3b-9d64-d1135e95ef8f","name":"Send borrower form - Field zipCode is missing (4022)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:35:51 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"The field zipCode is missing\",\n    \"code\": 4022\n}"},{"id":"410d8f0e-5966-4a49-b3bb-bdfd3f1d5d5c","name":"Send borrower form - Internal error (5001)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 14:33:19 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"An internal error has occurred\",\n    \"code\": 5001\n}"},{"id":"58874d94-91d4-45ce-b0ed-46a385e0e47c","name":"Send borrower form - Invalid loan (4002)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 14:31:37 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid loan\",\n    \"code\": 4002\n}"},{"id":"6376aa06-cc9d-49cc-933f-4d57b5c65b20","name":"Send borrower form - Field company is missing (4013)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:29:08 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"The field company is missing\",\n    \"code\": 4013\n}"},{"id":"6b63b641-7150-4296-a703-6b2cde0c7952","name":"Send borrower form - Field residenceCountry is missing (4018)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:32:56 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"The field residenceCountry is missing\",\n    \"code\": 4018\n}"},{"id":"837a1051-fa91-48a4-9df7-ccc2253ffba8","name":"Send borrower form - Field birthCountry is missing (4017)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:31:56 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"The field birthCountry is missing\",\n    \"code\": 4017\n}"},{"id":"8a3f647d-35de-474d-9db4-baafa94db994","name":"Send borrower form - Field city is missing (4021)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:35:07 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"The field city is missing\",\n    \"code\": 4021\n}"},{"id":"b612234e-eb15-4286-9222-8b21d10df8ef","name":"Send borrower form - Invalid loan status (4000)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:22:27 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid loan status\",\n    \"code\": 4000\n}"},{"id":"c1059a08-1f02-48c5-8400-13ebc4537300","name":"Send borrower form - Field street is missing (4019)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:33:38 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"The field street is missing\",\n    \"code\": 4019\n}"},{"id":"c1647ae9-f84f-4dff-b916-89cbe1400d16","name":"Send borrower form - Field bithdate missing (4010)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:23:04 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"The field birthdate is missing\",\n    \"code\": 4010\n}"},{"id":"c9939375-31bb-4b76-bb42-2aa15b402235","name":"Send borrower form - OK (204)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n    \"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n    \"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n    \"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n    \"birthCountry\": \"ES\",\n    \"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n    \"street\": \"my street name\",\n    \"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n    \"city\": \"Barcelona\",\n    \"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"No Content","code":204,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:21:08 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":null},{"id":"dcaf1dbb-1f0f-4bd2-83b2-4e72247114ba","name":"Send borrower form - Field streetNumber is missing (4020)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n\t\"employment\": \"Administrativo\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:34:17 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"The field streetNumber is missing\",\n    \"code\": 4020\n}"},{"id":"de2b95e2-9eef-4ef1-900c-25ace5c493a2","name":"Send borrower form - Field employment missing (4011)","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"birthdate\": \"1970-06-28\",\n    \"civilStatus\": \"Soltero\",\n    \"children\": 0,\n    \"residenceType\": \"PisoAlquiler\",\n    \"contractType\": \"Fijo\",\n    \"professionalActivity\": \"C\",\n\t\"netIncome\": \"1400.00\",\n    \"mortgage\": \"0\",\n    \"rent\": \"450\",\n    \"loans\": \"100\",\n    \"card\": \"0\",\n\t\"company\": \"My company\",\n    \"jobAntiquityYears\": \"12\",\n    \"jobAntiquityMonths\": \"3\",\n\t\"birthCountry\": \"ES\",\n\t\"residenceCountry\": \"ES\",\n    \"nationality\": \"ES\",\n\t\"street\": \"my street name\",\n\t\"streetNumber\": \"64\",\n    \"flat\": \"3\",\n    \"door\": \"8\",\n\t\"city\": \"Barcelona\",\n\t\"zipCode\": \"08010\",\n    \"iban\": \"ES6431616388246163692243\"\n}","options":{"raw":{"language":"json"}}},"url":" https://dev.zank.com.es/api/borrowerForm/{{loanId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 13:23:45 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"The field employment is missing\",\n    \"code\": 4011\n}"}],"_postman_id":"9bd06b51-7884-436f-894e-b939c6be845c"},{"name":"Upload Document [optional]","id":"98bd71e5-f3b1-489b-9cd8-7790ece0be97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"loanId","value":"{{loanId}}","description":"<p>Unique Id of the loan</p>\n","type":"text"},{"key":"type","value":"dniFront","description":"<p>Should be one of the following: dniFront, dniBack, nieFront, nieBack, passport, incomeProof, irpf, bill</p>\n","type":"text"},{"key":"file","description":"<p>source of file to be uploaded</p>\n","type":"file","value":null}]},"url":" https://dev.zank.com.es/api/uploadDocument","description":"<p>Upload a document to the loan application.</p>\n<p>You should make a request per each document that you want to upload.</p>\n<p>In order to use this functionality you must ask your account manager to activate it for your account.</p>\n<p>You can check the documents still required for your account as well as the documents you have already submitted by using the <a href=\"https://documenter.getpostman.com/view/10170509/SWTG6FVn?version=latest#15357f69-a936-45fe-a4ad-3dfebb1eefa6\">GET Loan Details</a> request</p>\n","urlObject":{"path":["api","uploadDocument"],"host":[" https://dev.zank.com.es"],"query":[],"variable":[]}},"response":[{"id":"85bc9066-e9fa-4681-880d-91d39f310249","name":"Upload Document [optional]","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"loanId","value":"{{loanId}}","description":"Unique Id of the loan","type":"text"},{"key":"type","value":"dniFront","description":"Should be one of the following: dniFront, dniBack, nieFront, nieBack, passport, incomeProof, irpf, bill","type":"text"},{"key":"file","description":"source of file to be uploaded","type":"file","value":null}]},"url":" https://dev.zank.com.es/api/uploadDocument"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"98bd71e5-f3b1-489b-9cd8-7790ece0be97"},{"name":"Verify Loan","id":"70283baf-8a1d-4855-ad6c-3f86b511f452","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[]},"url":" https://dev.zank.com.es/api/loanVerified/{{loanId}}","description":"<p>Verifies a loan whenever needed.</p>\n","urlObject":{"path":["api","loanVerified","{{loanId}}"],"host":[" https://dev.zank.com.es"],"query":[],"variable":[]}},"response":[{"id":"3f4ff72d-9162-4129-8ff3-83eec51d2dcd","name":"Verify Loan - Internal error (5001)","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[]},"url":" https://dev.zank.com.es/api/loanVerified/{{loanId}}"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 14:39:19 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"An internal error has occurred\",\n    \"code\": 5001\n}"},{"id":"a25195ce-cd37-42da-bad7-ff2b72578598","name":"Verify Loan - Loan not belong to you (4003)","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[]},"url":" https://dev.zank.com.es/api/loanVerified/{{loanId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 14:38:39 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"This loan doesn't belong to you\",\n    \"code\": 4003\n}"},{"id":"b955fbc9-352f-41f8-ad6d-8712e27cb927","name":"Verify Loan - OK (204) ","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[]},"url":" https://dev.zank.com.es/api/loanVerified/{{loanId}}"},"status":"No Content","code":204,"_postman_previewlanguage":"html","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 14:36:51 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":null},{"id":"e2454dad-f554-4e4a-8cb9-296fed53aacb","name":"Verify Loan - Not authorized (403)","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[]},"url":" https://dev.zank.com.es/api/loanVerified/{{loanId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 14:38:05 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Not authorized\",\n    \"code\": 403\n}"}],"_postman_id":"70283baf-8a1d-4855-ad6c-3f86b511f452"}],"id":"cc194e70-9d0f-4f39-892e-96d493fdfb78","event":[{"listen":"prerequest","script":{"id":"b993f531-530b-4458-a8da-b0bf3ae53f67","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"79525075-40d6-4111-b3f7-591dc227c039","type":"text/javascript","exec":[""]}}],"_postman_id":"cc194e70-9d0f-4f39-892e-96d493fdfb78","description":""},{"name":"Retrieve information","item":[{"name":"List Loans","id":"bec45022-067a-4c18-8ec6-096854fec80f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":" https://dev.zank.com.es/api/createdLoans?limit=integer&page=integer&from=string&to=string","description":"<p>Lists all loans associated with the user that is logged in.</p>\n<p>You can get the response paginated.</p>\n<p>For every loan you will receive:</p>\n<ul>\n<li>loanId: id of the loan</li>\n<li>loanCode: code associated to the loan and shared with the final user.</li>\n<li>status: status of the loan</li>\n<li>createdAt: creation date of the loan</li>\n<li>ownInvestment: boolean, set to 1 if you are the investor of your loan.</li>\n</ul>\n","urlObject":{"path":["api","createdLoans"],"host":[" https://dev.zank.com.es"],"query":[{"description":{"content":"<p>sets the maximum number of elements per page. Allows 10 to 500 elements per page.</p>\n","type":"text/plain"},"key":"limit","value":"integer"},{"description":{"content":"<p>Page number to retrieve</p>\n","type":"text/plain"},"key":"page","value":"integer"},{"description":{"content":"<p>Retrieve loans created starting in this date. Set it with YYYY-mm-dd format</p>\n","type":"text/plain"},"key":"from","value":"string"},{"description":{"content":"<p>Retrieve loans created until this date. Set it with YYYY-mm-dd format</p>\n","type":"text/plain"},"key":"to","value":"string"}],"variable":[]}},"response":[{"id":"5e77fd5c-10be-4dd8-829e-86e8c9e53c53","name":"List Loans - Internal error (5001)","originalRequest":{"method":"GET","header":[],"url":{"raw":" https://dev.zank.com.es/api/createdLoans","host":[" https://dev.zank.com.es"],"path":["api","createdLoans"],"query":[{"key":"limit","value":"integer","description":"sets the maximum number of elements per page. Allows 10 to 500 elements per page.","disabled":true},{"key":"page","value":"integer","description":"Page number to retrieve","disabled":true},{"key":"from","value":"string","description":"Retrieve loans created starting in this date. Set it with YYYY-mm-dd format","disabled":true},{"key":"to","value":"string","description":"Retrieve loans created until this date. Set it with YYYY-mm-dd format","disabled":true}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 14:45:57 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"An internal error has occurred\",\n    \"code\": 5001\n}"},{"id":"8b80bae9-9443-4dfe-99e6-4c1dccf129f0","name":"List Loans - OK (200)","originalRequest":{"method":"GET","header":[],"url":{"raw":" https://dev.zank.com.es/api/createdLoans?page=integer&limit=integer&from=string&to=string","host":[" https://dev.zank.com.es"],"path":["api","createdLoans"],"query":[{"key":"page","value":"integer","description":"Page number to retrieve"},{"key":"limit","value":"integer","description":"sets the maximum number of elements per page. Allows 10 to 500 elements per page."},{"key":"from","value":"string","description":"Retrieve loans created starting in this date. Set it with YYYY-mm-dd format"},{"key":"to","value":"string","description":"Retrieve loans created until this date. Set it with YYYY-mm-dd format"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"@type\": \"hydra:Collection\",\n    \"hydra:member\": [\n        {\n            \"loanCode\": \"F0000005\",\n            \"loanId\": 5,\n            \"ownInvestment\": false,\n            \"status\": \"DEN\",\n            \"createdAt\": \"2018-08-31T13:53:20+0200\"\n        },\n        {\n            \"loanCode\": \"F0000006\",\n            \"loanId\": 6,\n            \"ownInvestment\": true,\n            \"status\": \"CAC\",\n            \"createdAt\": \"2018-08-31T13:05:35+0200\"\n        },\n        {\n            \"loanCode\": \"F0000007\",\n            \"loanId\": 7,\n            \"ownInvestment\": false,\n            \"status\": \"DEN\",\n            \"createdAt\": \"2018-08-31T11:48:11+0200\"\n        }\n    ],\n    \"hydra:totalItems\": \"3\",\n    \"hydra:view\": {\n        \"@id\": \"/api/createdLoans?page=1&limit=100&from=2018-10-01&to=2018-11-01\",\n        \"@type\": \"hydra:PartialCollectionView\",\n        \"hydra:first\": \"/api/createdLoans?page=1&limit=100&from=2018-10-01&to=2018-11-01\",\n        \"hydra:last\": \"/api/createdLoans?page=1&limit=100&from=2018-10-01&to=2018-11-01\"\n    }\n}"},{"id":"e23cd363-aff1-4fb2-81cd-83ed66ca67f1","name":"List Loans - Not authorized (403)","originalRequest":{"method":"GET","header":[],"url":{"raw":" https://dev.zank.com.es/api/createdLoans","host":[" https://dev.zank.com.es"],"path":["api","createdLoans"],"query":[{"key":"limit","value":"integer","description":"sets the maximum number of elements per page. Allows 10 to 500 elements per page.","disabled":true},{"key":"page","value":"integer","description":"Page number to retrieve","disabled":true},{"key":"from","value":"string","description":"Retrieve loans created starting in this date. Set it with YYYY-mm-dd format","disabled":true},{"key":"to","value":"string","description":"Retrieve loans created until this date. Set it with YYYY-mm-dd format","disabled":true}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 14:45:01 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Not authorized\",\n    \"code\": 403\n}"}],"_postman_id":"bec45022-067a-4c18-8ec6-096854fec80f"},{"name":"List Prescribers","id":"3fee49a4-6663-4311-81e0-4a10e8a0cde6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":" https://dev.zank.com.es/api/prescribers","description":"<p>Lists all prescribers (users) that are below your hierarchical level.</p>\n<p>For every prescriber you will receive:</p>\n<ul>\n<li>prescriber: prescriber username</li>\n<li>name: name associated to the prescriber</li>\n</ul>\n<p>You can then use the prescriber username to create a new loan application for this prescriber.</p>\n","urlObject":{"path":["api","prescribers"],"host":[" https://dev.zank.com.es"],"query":[],"variable":[]}},"response":[{"id":"1efb1323-c8c4-43fe-9de1-b61de1fbba72","name":"List Prescribers - OK (200)","originalRequest":{"method":"GET","header":[],"url":" https://dev.zank.com.es/api/prescribers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"prescriber\": \"A5CEBBCC7C4952\",\n        \"name\": \"Dental Balmes\"\n    },\n    {\n        \"prescriber\": \"A5CF6AB756D027\",\n        \"name\": \"Dental Montaner\"\n    },\n    {\n        \"prescriber\": \"A5CF5AD6A06F85\",\n        \"name\": \"Dental Diagonal\"\n    },\n    {\n        \"prescriber\": \"A5CF6AE4C75D3D\",\n        \"name\": \"Dental Horta\"\n    },\n    {\n        \"prescriber\": \"A5CF6AFF779D38\",\n        \"name\": \"Dental Eixample\"\n    }\n]"}],"_postman_id":"3fee49a4-6663-4311-81e0-4a10e8a0cde6"},{"name":"Get Loan Details","id":"15357f69-a936-45fe-a4ad-3dfebb1eefa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":" https://dev.zank.com.es/api/loanDetail/{{loanId}}","description":"<p>Plug in a loanId and receive extended information about it:</p>\n<ul>\n<li><code>id</code>: id of the loan</li>\n<li><code>email</code>: email of user associated to the loan</li>\n<li><code>status</code>: loan status</li>\n<li><code>amount</code>: loan amount</li>\n<li><code>duration</code>: loan duration</li>\n<li><code>borrowerNIR</code>: nominal interest rate of the loan for the borrower</li>\n<li><code>borrowerAPR</code>: APR (spanish:TAE) of the loan for the borrower</li>\n<li><code>prescriberOpeningFee</code>: opening fee to be paid by the affiliate (you)</li>\n<li><code>borrowerOpeningFee</code>: opening fee to be paid by the borrower</li>\n<li><code>ownInvestment</code>: set to 1 if you are the investor of the loan</li>\n<li><code>riskStatus</code>: one of the following values: notStarted, analyzing, preapproved, approved, denied</li>\n<li><code>documentsUploaded</code>: list of documents uploaded with the status of each document</li>\n<li><code>documentsNeeded</code>: list of documents still needed</li>\n<li><code>borrowerMessages</code>: array of strings with information regarding the status of the application for the borrower</li>\n<li><code>url</code>: autologin url that you can hand out to your customer so he can complete the loan application</li>\n</ul>\n<p>The diferent status' of the documents are the following:</p>\n<ul>\n<li><code>uploaded</code>: document is uploaded but needs to be checked. This is the initial status.</li>\n<li><code>accepted</code>: the document has been accepted</li>\n<li><code>onhold</code>: the document is part of a group and needs the rest of documents to verify it.</li>\n<li><code>rejected</code>: the document has been rejected without an explicit reason.</li>\n<li><code>rejected_unreadable</code>: the document is unreadable and cannot be used.</li>\n<li><code>rejected_expired</code>: the document has expired and cannot be used</li>\n<li><code>rejected_wrongtype</code>: the document uploaded is different from the one needed and cannot be used</li>\n<li><code>rejected_duplicated</code>: the document is duplicated</li>\n</ul>\n","urlObject":{"path":["api","loanDetail","{{loanId}}"],"host":[" https://dev.zank.com.es"],"query":[],"variable":[]}},"response":[{"id":"549ddc65-d6f8-47af-ba10-c8462a4d4396","name":"Get Loan Details - OK (200)","originalRequest":{"method":"GET","header":[],"url":" https://dev.zank.com.es/api/loanDetail/{{loanId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 87645,\n    \"email\": \"test@zank.com.es\",\n    \"status\": \"SIG\",\n    \"amount\": \"4500.00\",\n    \"duration\": 36,\n    \"ownInvestment\": false,\n    \"contractSigned\": false,\n    \"borrowerNIR\": 9.5,\n    \"borrowerAPR\": 10.5,\n    \"affiliateStudyFee\": 0,\n    \"borrowerStudyFee\": 25,\n    \"prescriberOpeningFee\": 0,\n    \"borrowerOpeningFee\": 87.5,\n    \"riskStatus\": \"preapproved\",\n    \"documentsUploaded\": {\n        \"977793\": {\n            \"id\": 977793,\n            \"type\": \"dniFront\",\n            \"uploadedAt\": \"2021-10-25 13:39:15\",\n            \"status\": null\n        }\n    },\n    \"documentsNeeded\": {\n        \"1\": \"dniBack\"\n    },\n    \"borrowerMessages\": []\n}"},{"id":"bc34be51-5ddf-4bd3-b518-1d4002dc0e6f","name":"Get Loan Details - Not authorized (403)","originalRequest":{"method":"GET","header":[],"url":" https://dev.zank.com.es/api/loanDetail/{{loanId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"application/ld+json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 14:56:32 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Not authorized\",\n    \"code\": 403\n}"},{"id":"c333e322-865b-4ab5-917c-85132cfa6cac","name":"Get Loan Details - Internal error (5001)","originalRequest":{"method":"GET","header":[],"url":" https://dev.zank.com.es/api/loanDetail/{{loanId}}"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"application/ld+json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 14:58:56 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"An internal error has occurred\",\n    \"code\": 5001\n}"},{"id":"db6b05c8-1578-4270-9436-b375b48fcd15","name":"Get Loan Details - Loan not belong to you (4003)","originalRequest":{"method":"GET","header":[],"url":" https://dev.zank.com.es/api/loanDetail/{{loanId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"application/ld+json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 14:57:24 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"This loan doesn't belong to you\",\n    \"code\": 4003\n}"}],"_postman_id":"15357f69-a936-45fe-a4ad-3dfebb1eefa6"},{"name":"Loan Installments Details","id":"99b39075-e0ee-466e-9b7a-fbc91026cb1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":" https://dev.zank.com.es/api/loanInstallmentsDetail/{{loanId}}","description":"<p>Plug in a loanId and receive details concerning the programmed installments:</p>\n<ul>\n<li>installment: installment number starting by zero. The installment zero is not a real installment but it showcases the initial status of the loan and the costs associated for each party.</li>\n<li>status: loan status. Only relevant if the loan has been invested by the prescriber (i.e. you).</li>\n<li>date: due date of the payment</li>\n<li>principal: principal part of the installment</li>\n<li>borrowerInterest: interest part of the installment paid by the borrower</li>\n<li>borrowerOpeningFee: opening fee to be paid by the borrower</li>\n<li>borrowerMonthlyPayment: programmed monthly payment for the borrower. Does not include additional costs that may arise like delinquency fees and interests.</li>\n<li>prescriberOpeningFee: opening fee to be paid by the prescriber</li>\n<li>prescriberMonthlyPayment: programmed monthly payment for the prescriber.</li>\n</ul>\n<p>The list of available status for loans invested by the prescriber is the following:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>PD</td>\n<td>Pending installment</td>\n</tr>\n<tr>\n<td>DE</td>\n<td>Accruing installment</td>\n</tr>\n<tr>\n<td>EC</td>\n<td>Payment period installment</td>\n</tr>\n<tr>\n<td>CO</td>\n<td>Installment paid</td>\n</tr>\n<tr>\n<td>DV</td>\n<td>Intallment not paid (12-30 days delinquency period)</td>\n</tr>\n<tr>\n<td>RE</td>\n<td>Installment not paid (30-90 days delinquency period)</td>\n</tr>\n<tr>\n<td>FR</td>\n<td>Installment in default (+90 days delinquency period)</td>\n</tr>\n<tr>\n<td>CR</td>\n<td>Installment repaid</td>\n</tr>\n<tr>\n<td>AN</td>\n<td>Installment canceled</td>\n</tr>\n<tr>\n<td>AA</td>\n<td>Early amortization installment</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api","loanInstallmentsDetail","{{loanId}}"],"host":[" https://dev.zank.com.es"],"query":[],"variable":[]}},"response":[{"id":"03375c5d-0b25-4263-9e98-b1533f04a21f","name":"Loan Installments Details - Not authorized (403)","originalRequest":{"method":"GET","header":[],"url":" https://dev.zank.com.es/api/loanInstallmentsDetail/{{loanId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"application/ld+json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 15:03:24 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Not authorized\",\n    \"code\": 403\n}"},{"id":"ab5bd741-fef5-4c82-92d0-fd361710e41a","name":"Loan Installments Details - OK (200)","originalRequest":{"method":"GET","header":[],"url":" https://dev.zank.com.es/api/loanInstallmentsDetail/{{loanId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"installment\": 0,\n        \"status\": \"PD\",\n        \"date\": \"01-09-2018\",\n        \"principal\": 0,\n        \"borrowerInterest\": 0,\n        \"prescriberOpeningFee\": 0,\n        \"borrowerOpeningFee\": 0,\n        \"prescriberMonthlyPayment\": 0,\n        \"borrowerMonthlyPayment\": 0\n    },\n    {\n        \"installment\": 1,\n        \"status\": \"PD\",\n        \"date\": \"01-10-2018\",\n        \"principal\": 285.94720134316,\n        \"borrowerInterest\": 13.854166666667,\n        \"prescriberOpeningFee\": 0,\n        \"borrowerOpeningFee\": 87.5,\n        \"prescriberMonthlyPayment\": 0,\n        \"borrowerMonthlyPayment\": 387.301368009827\n    },\n    {\n        \"installment\": 2,\n        \"status\": \"PD\",\n        \"date\": \"01-11-2018\",\n        \"principal\": 288.21095002046,\n        \"borrowerInterest\": 11.590417989367,\n        \"prescriberOpeningFee\": 0,\n        \"borrowerOpeningFee\": 0,\n        \"prescriberMonthlyPayment\": 0,\n        \"borrowerMonthlyPayment\": 299.801368009827\n    },\n    {\n        \"installment\": 3,\n        \"status\": \"PD\",\n        \"date\": \"01-12-2018\",\n        \"principal\": 290.49262004146,\n        \"borrowerInterest\": 9.3087479683713,\n        \"prescriberOpeningFee\": 0,\n        \"borrowerOpeningFee\": 0,\n        \"prescriberMonthlyPayment\": 0,\n        \"borrowerMonthlyPayment\": 299.80136800983126\n    },\n    {\n        \"installment\": 4,\n        \"status\": \"PD\",\n        \"date\": \"01-01-2019\",\n        \"principal\": 292.79235328345,\n        \"borrowerInterest\": 7.0090147263764,\n        \"prescriberOpeningFee\": 0,\n        \"borrowerOpeningFee\": 0,\n        \"prescriberMonthlyPayment\": 0,\n        \"borrowerMonthlyPayment\": 299.8013680098264\n    },\n    {\n        \"installment\": 5,\n        \"status\": \"PD\",\n        \"date\": \"01-02-2019\",\n        \"principal\": 295.11029274695,\n        \"borrowerInterest\": 4.6910752628824,\n        \"prescriberOpeningFee\": 0,\n        \"borrowerOpeningFee\": 0,\n        \"prescriberMonthlyPayment\": 0,\n        \"borrowerMonthlyPayment\": 299.8013680098324\n    },\n    {\n        \"installment\": 6,\n        \"status\": \"PD\",\n        \"date\": \"01-03-2019\",\n        \"principal\": 297.44658256453,\n        \"borrowerInterest\": 2.3547854453024,\n        \"prescriberOpeningFee\": 0,\n        \"borrowerOpeningFee\": 0,\n        \"prescriberMonthlyPayment\": 0,\n        \"borrowerMonthlyPayment\": 299.8013680098324\n    }\n]"},{"id":"e7d34e11-9cdb-4d1a-bbeb-98332885ce62","name":"Loan Installments Details - Loan not belong to you (4003)","originalRequest":{"method":"GET","header":[],"url":" https://dev.zank.com.es/api/loanInstallmentsDetail/{{loanId}}"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"application/ld+json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 15:04:08 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"This loan doesn't belong to you\",\n    \"code\": 4003\n}"},{"id":"e80fe681-f4ac-415e-afe9-3464eb1384c0","name":"Loan Installments Details - Internal error (5001)","originalRequest":{"method":"GET","header":[],"url":" https://dev.zank.com.es/api/loanInstallmentsDetail/{{loanId}}"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.7"},{"key":"Content-Type","value":"application/ld+json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 20 Feb 2020 15:04:55 GMT"},{"key":"Link","value":"<http://zank.local/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""},{"key":"X-Robots-Tag","value":"noindex"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PUT, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Requested-With,responseType"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"An internal error has occurred\",\n    \"code\": 5001\n}"}],"_postman_id":"99b39075-e0ee-466e-9b7a-fbc91026cb1c"}],"id":"ce4264d6-0aab-48e0-acc5-01e59636e31e","description":"<p>This methods allow you to get deeper information about the loan applications that were created in your environment.</p>\n","event":[{"listen":"prerequest","script":{"id":"d42e634e-1049-45c3-941a-e6af73fc5d9e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"98e22f72-32a8-46ab-abbe-af756c65516b","type":"text/javascript","exec":[""]}}],"_postman_id":"ce4264d6-0aab-48e0-acc5-01e59636e31e"},{"name":"Webhooks","item":[],"id":"d2ceb2b1-3e60-4b0d-b186-56fb7bbaf28f","description":"<p>The Zank REST API uses webhooks for event notification. Webhooks are HTTP callbacks that contain notification messages for events.</p>\n<p>We do not guarantee that you get these notifications in the order they occurred. Please use the eventTimestamp property for each notification to determine when the notification occurred.</p>\n<p>We do not guarantee that you will only get a single notification for an event. Though this should be rare, it is possible that we will send you the same notification multiple times.</p>\n<p>Use the <code>notificationURL</code> field in the <a href=\"https://docs.zank.com.es/#5a335bea-1255-4f7f-aec0-ca7cc5b8c59a\">POST Create Loan</a> to subscribe to changes in the loan to create reactive experiences for your customers.</p>\n<h3 id=\"loan-status-code-z001\">Loan status (code: Z001)</h3>\n<p>After receiving the status notification you should call the <a href=\"https://documenter.getpostman.com/view/10170509/SWTG6FVn?version=latest#15357f69-a936-45fe-a4ad-3dfebb1eefa6\">GET Loan Details</a> to confirm the status of the loan as well as to receive extra information for the loan.</p>\n<p>The structure of the notification sent contains the following fields:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">{\n\"code\": the notification type, in this case Z001\n\"id\": loan id,\n\"status\": loan new status\n\"message\": states if there is a problem\n\"updatedAt\": loan update timestamp\n\"eventTimestamp\": timestamp for the notification\n}\n</code></pre>\n<h3 id=\"document-status-code-z002\">Document status (code: Z002)</h3>\n<p>Every status change in any document uploaded  will create an event that will be sent to the <code>notificationURL</code> informed in the <a href=\"https://docs.zank.com.es/#5a335bea-1255-4f7f-aec0-ca7cc5b8c59a\">POST Create Loan</a></p>\n<p>It is always advisable to call the <a href=\"https://documenter.getpostman.com/view/10170509/SWTG6FVn?version=latest#15357f69-a936-45fe-a4ad-3dfebb1eefa6\">GET Loan Details</a> to confirm the information coming in the notification.</p>\n<p>The notification received follows this structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">{\n\"code\": the notification type, in this case Z002\n\"id\": document id,\n\"status\": document new status\n\"eventTimestamp\": timestamp for the notification\n}\n</code></pre>\n","_postman_id":"d2ceb2b1-3e60-4b0d-b186-56fb7bbaf28f"}],"event":[{"listen":"prerequest","script":{"id":"9c767384-a982-4a05-86d0-9d9a8f26d9ed","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"56b4f44d-bd48-4976-9d71-e9e3417ae242","type":"text/javascript","exec":[""]}}],"variable":[{"key":"host","value":" https://dev.zank.com.es"}]}