{"info":{"_postman_id":"719758af-a3d7-479c-91c4-2c72594a6799","name":"Kuspit","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"5096049","collectionId":"719758af-a3d7-479c-91c4-2c72594a6799","publishedId":"SWEDzZmu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-12-19T20:33:27.000Z"},"item":[{"name":"Usuario Kuspit","id":"99335b48-846f-4bc0-afd8-a33805eb9e5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"password","value":"&fas_12TR","type":"text"},{"key":"email","value":"gme_ono_1@yopmail.com","type":"text"}]},"url":"http://localhost:3000/api/v1/user/create/","description":"<p>Create user. When user accept TOS in App.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","v1","user","create",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"28882837-1d77-4131-a339-6fd850d88994","name":"http://localhost:3000/api/v1/user/create/","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"password","value":"&fas_12TR","type":"text"},{"key":"email","value":"gme_ono_1@yopmail.com","type":"text"}]},"url":"http://localhost:3000/api/v1/user/create/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"48"},{"key":"ETag","value":"W/\"30-knc7imA1OEEyr6KGKDrffQ4bJfM\""},{"key":"Date","value":"Thu, 19 Dec 2019 20:28:34 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"messagge\": \"El usuario acepto TOS previamente\"\n}"},{"id":"8308f06d-82bb-4dd7-9e46-dee579e30306","name":"http://localhost:3000/api/v1/user/create/","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"password","value":"&fas_12","type":"text"},{"key":"email","value":"gme_ono_1@y","type":"text"}]},"url":"http://localhost:3000/api/v1/user/create/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"35"},{"key":"ETag","value":"W/\"23-pABttOMyTrMe2MvRuwiSIQQV0K0\""},{"key":"Date","value":"Thu, 19 Dec 2019 20:22:55 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Guardado exitosamente\"\n}"},{"id":"965f790a-2cb1-48c2-880f-f17442b6e087","name":"http://localhost:3000/api/v1/user/create/","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"password","value":"&fas_12TR","type":"text"},{"key":"email","value":"gme_ono_1@","type":"text"}]},"url":"http://localhost:3000/api/v1/user/create/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"64"},{"key":"ETag","value":"W/\"40-hwX2yI7N81uUGYJ1LzNG0+4ox7s\""},{"key":"Date","value":"Thu, 19 Dec 2019 20:28:57 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"messagge\": \"El campo email se encuentra en un formato erroneo\"\n}"},{"id":"abf5c35f-dcc7-415c-b980-9c5345dcd5f4","name":"http://localhost:3000/api/v1/user/create/","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"password","value":"&fas_12TR","type":"text"},{"key":"email","value":"","type":"text","disabled":true}]},"url":"http://localhost:3000/api/v1/user/create/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"44"},{"key":"ETag","value":"W/\"2c-ne/kdcoK0Q24Sg6SXAhUKofxkzo\""},{"key":"Date","value":"Thu, 19 Dec 2019 20:29:27 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"messagge\": \"El campo email es obligatorio\"\n}"},{"id":"c1119d69-a292-4fcb-9f3d-154fe34896f8","name":"http://localhost:3000/api/v1/user/create/","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"password","value":"&fas_12TR","type":"text"},{"key":"email","value":"","type":"text","disabled":true}]},"url":"http://localhost:3000/api/v1/user/create/"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"44"},{"key":"ETag","value":"W/\"2c-ne/kdcoK0Q24Sg6SXAhUKofxkzo\""},{"key":"Date","value":"Thu, 19 Dec 2019 20:29:27 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"messagge\": \"El campo email es obligatorio\"\n}"}],"_postman_id":"99335b48-846f-4bc0-afd8-a33805eb9e5d"},{"name":"Contrato Kuspit","id":"a96938ac-11c0-40f3-b2d6-fd8f0d6e1399","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"gmeo_no@yopmail.com","type":"text"},{"key":"name","value":"Ignacio Gustavo","type":"text"},{"key":"last_name","value":"Meono","type":"text"},{"key":"cellphone_number","value":"5512880210","type":"text"},{"key":"birthdate","value":"19940310","type":"text"},{"key":"curp","value":"MEVG940310HCSXLS03","type":"text"},{"key":"rfc","value":"MEVG9401054W4","type":"text"},{"key":"country","value":"187","type":"text"},{"key":"state","value":"9","type":"text"},{"key":"town","value":"14","type":"text"},{"key":"suburb","value":"18583","type":"text"},{"key":"cp","value":"03810","type":"text"},{"key":"street","value":"Carolina","type":"text"},{"key":"external_number","value":"Chicago","type":"text"},{"key":"internal_number","value":"130","type":"text"},{"key":"birthplace_country","value":"187","type":"text"},{"key":"birthplace_state","value":"9","type":"text"},{"key":"genre","value":"M","type":"text"},{"key":"clabe","value":"646180153500000045","type":"text"},{"key":"monthly_amount","value":"3","type":"text"},{"key":"user_activity","value":"919","type":"text"},{"key":"activity_type","value":"19","type":"text"},{"key":"civil_state","value":"1","type":"text"},{"key":"money_source","value":"1","type":"text"},{"key":"money_procedency","value":"2","type":"text"},{"key":"mother_last_name","value":"Morales","type":"text"},{"key":"job","value":"ingeniero","type":"text"}]},"url":"http://localhost:3000/api/v1/user/contract/","description":"<p>Creación de contrato para kuspit</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","v1","user","contract",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"661f7443-bfa1-4f6e-bc11-236b27c319ce","name":"http://localhost:3000/api/v1/user/contract/","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"gmeo_no@yopmail.com","type":"text"},{"key":"name","value":"Ignacio Gustavo","type":"text"},{"key":"last_name","value":"Meono","type":"text"},{"key":"cellphone_number","value":"5512880210","type":"text"},{"key":"birthdate","value":"19940310","type":"text"},{"key":"curp","value":"MEVG940310HCSXLS03","type":"text"},{"key":"rfc","value":"MEVG9401054W4","type":"text"},{"key":"country","value":"187","type":"text"},{"key":"state","value":"9","type":"text"},{"key":"town","value":"14","type":"text"},{"key":"suburb","value":"18583","type":"text"},{"key":"cp","value":"03810","type":"text"},{"key":"street","value":"Carolina","type":"text"},{"key":"external_number","value":"Chicago","type":"text"},{"key":"internal_number","value":"130","type":"text"},{"key":"birthplace_country","value":"187","type":"text"},{"key":"birthplace_state","value":"9","type":"text"},{"key":"genre","value":"M","type":"text"},{"key":"clabe","value":"646180153500000045","type":"text"},{"key":"monthly_amount","value":"3","type":"text"},{"key":"user_activity","value":"919","type":"text"},{"key":"activity_type","value":"19","type":"text"},{"key":"civil_state","value":"1","type":"text"},{"key":"money_source","value":"1","type":"text"},{"key":"money_procedency","value":"2","type":"text"},{"key":"mother_last_name","value":"Morales","type":"text"},{"key":"job","value":"ingeniero","type":"text"}]},"url":"http://localhost:3000/api/v1/user/contract/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"119"},{"key":"ETag","value":"W/\"77-J07EF8wwtdA3Uk+/CmS6ojxkJlI\""},{"key":"Date","value":"Tue, 24 Dec 2019 21:08:15 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Contrato exitoso\",\n    \"info_kuspit\": {\n        \"clabeKuspit\": \"653180001000080406\",\n        \"idContrato\": \"8040\",\n        \"registro\": \"true\"\n    }\n}"}],"_postman_id":"a96938ac-11c0-40f3-b2d6-fd8f0d6e1399"},{"name":"Retiro de fondos ","id":"1334da19-85c2-4baa-805e-8ab158c281fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"gme_ono_2@yopmail.com","type":"text"},{"key":"amount","value":"250.55","type":"text"}]},"url":"http://localhost:3000/api/v1/movements/withdraw","description":"<p>Retiro de fondos de kuspit</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","v1","movements","withdraw"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1334da19-85c2-4baa-805e-8ab158c281fd"},{"name":"Consulta Saldos","id":"5c902561-b160-4a41-b2b6-7eb51f27fd97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/v1/user/balance/?email=gmeo_no@yopmail.com","description":"<p>Consulta saldos de Kuspit</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","v1","user","balance",""],"host":["localhost"],"query":[{"key":"email","value":"gmeo_no@yopmail.com"}],"variable":[]}},"response":[{"id":"b6c037f0-09d2-4a19-8113-1e5caa049e1d","name":"Consulta Saldos (200)","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://localhost:3000/api/v1/user/balance/?email=gmeo_no@yopmail.com","protocol":"http","host":["localhost"],"port":"3000","path":["api","v1","user","balance",""],"query":[{"key":"email","value":"gmeo_no@yopmail.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"137"},{"key":"ETag","value":"W/\"89-/hoPVxn5VPNa84X6qa9AtMCvJvc\""},{"key":"Date","value":"Wed, 08 Jan 2020 15:38:17 GMT"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"gananciaPerdida\": \"0.000000\",\n        \"rendimientoPortafolio\": \"0\",\n        \"costo\": \"0.000000\",\n        \"posicion\": \"1001478.930000\"\n    },\n    {\n        \"efectivo\": \"1001478.930000\"\n    }\n]"}],"_postman_id":"5c902561-b160-4a41-b2b6-7eb51f27fd97"}]}