{"info":{"_postman_id":"afd76f2a-b971-46fa-9e33-64afb8788b81","name":"Dmoney-Rest-API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"13493263","collectionId":"afd76f2a-b971-46fa-9e33-64afb8788b81","publishedId":"2s935mr4VE","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-02-02T17:57:13.000Z"},"item":[{"name":"Login","item":[{"name":"Login with invalid user account","event":[{"listen":"test","script":{"id":"588fddf5-989c-4825-942f-b94e37873183","exec":["var jsonData=pm.response.json();\r","pm.collectionVariables.set(\"token\",jsonData.token)\r","pm.test(\"If user inputs wrong email, will see validation error\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.message).contains(\"User not found\");\r","});\r","pm.test(\"Status code is 404\", function () {\r","    pm.response.to.have.status(404);\r","});"],"type":"text/javascript"}}],"id":"35309a81-db99-498e-b747-d9921f5e0b5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"salmannn@roadtocareer.net\",\r\n    \"password\":\"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/login","urlObject":{"path":["user","login"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"35309a81-db99-498e-b747-d9921f5e0b5f"},{"name":"Login with invalid password","event":[{"listen":"test","script":{"id":"c3e1c8cb-fd66-4e07-b939-ad9e3ff2567d","exec":["var jsonData=pm.response.json();\r","pm.collectionVariables.set(\"token\",jsonData.token)\r","pm.test(\"Check login with invalid Password\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.message).contains(\"Password incorrect\");\r","});\r","pm.test(\"Status code is 401\", function () {\r","    pm.response.to.have.status(401);\r","});"],"type":"text/javascript"}}],"id":"c4a96991-814d-4d98-acf3-1136a820b6c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"salman@roadtocareer.net\",\r\n    \"password\":\"1254\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/login","urlObject":{"path":["user","login"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"c4a96991-814d-4d98-acf3-1136a820b6c6"},{"name":"User can do login successfully","event":[{"listen":"test","script":{"id":"2bbca25e-c448-4e57-b7b1-04529ccf434a","exec":["var jsonData= pm.response.json()\r","var token= jsonData.token;\r","pm.collectionVariables.set(\"token\",token)\r","pm.environment.set(\"token\",token)\r","\r","pm.test(\"User can login successfully\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.message).to.contains(\"Login successfully\");\r","});\r","pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r",""],"type":"text/javascript"}}],"id":"7541fa2d-11da-4d0f-a186-65c15fac3c51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"salman@roadtocareer.net\",\r\n    \"password\":\"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/login","urlObject":{"path":["user","login"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"5da81ca6-7391-48f5-b19e-84ffbc25ec47","name":"User can do login successfully Copy","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\":\"salman@grr.la\",\r\n    \"password\":\"1234\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"token\": \"abcd\"\n}"}],"_postman_id":"7541fa2d-11da-4d0f-a186-65c15fac3c51"}],"id":"19d706f9-4645-4dcd-9e95-dd57a0cb75ba","_postman_id":"19d706f9-4645-4dcd-9e95-dd57a0cb75ba","description":""},{"name":"Create Agent","item":[{"name":"Admin Create Agent with existing email and phone number","event":[{"listen":"test","script":{"id":"e3fdb963-ce96-4926-ba43-e227c6602393","exec":["\r","pm.test(\"Check if agent can not registration with existing data\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.message).contains(\"User already exists\");\r","});\r","pm.test(\"Status code is 208\", function () {\r","    pm.response.to.have.status(208);\r","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"fe574ff1-acd1-4533-9223-52d7ade61b3b","exec":[""],"type":"text/javascript"}}],"id":"e2d00da7-81c3-4cff-bca4-12e1935a8f5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Majhar Agent\",\r\n    \"email\":\"majhargent@test.com\",\r\n    \"password\":\"1234\",\r\n    \"phone_number\":\"01844995989\",\r\n    \"nid\":\"6002547921\",\r\n    \"role\":\"Agent\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/create","urlObject":{"path":["user","create"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"0c578580-346c-45b7-8902-f83ffef37f6d","name":"Create Agent","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Test Agent 1\",\r\n    \"email\":\"agent46049@test.com\",\r\n    \"password\":\"1234\",\r\n    \"phone_number\":\"{{phoneNumber}}\",\r\n    \"nid\":\"123456789\",\r\n    \"role\":\"Agent\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:31:52 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"10c-tR9Zk19RjTwESofG7uPX2TpP3S8\""},{"key":"Content-Length","value":"268"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User created successfully\",\n    \"user\": {\n        \"id\": 5010,\n        \"name\": \"Test Agent 1\",\n        \"email\": \"agent20202@test.com\",\n        \"password\": \"1234\",\n        \"phone_number\": \"01702614665\",\n        \"nid\": \"123456789\",\n        \"role\": \"Agent\",\n        \"createdAt\": \"2022-09-19T04:31:52.000Z\",\n        \"updatedAt\": \"2022-09-19T04:31:52.000Z\"\n    }\n}"}],"_postman_id":"e2d00da7-81c3-4cff-bca4-12e1935a8f5a"},{"name":"Admin Create Agent with Valid creds","event":[{"listen":"test","script":{"id":"366a55e4-b4a6-48da-9d37-7994ff0c0c6e","exec":["var jsonData= pm.response.json();\r","var id= jsonData.user.id;\r","var phonenumber=jsonData.user.phone_number;\r","pm.collectionVariables.set(\"agentId\",id)\r","pm.collectionVariables.set(\"agent_phone_number\",phonenumber)\r","\r","pm.environment.set(\"agentId\",id)\r","pm.environment.set(\"agent_phone_number\",phonenumber)\r","\r","pm.test(\"Check Agent created Successfully\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.message).contains(\"User created\");\r","});\r","pm.test(\"Status code is 201\", function () {\r","    pm.response.to.have.status(201);\r","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"e3bcbabd-714b-4dad-8c26-c8afea66e2b7","exec":["var randomId=_.random(10000,99999)\r","var phoneNumber=\"0177\"+_.random(1000000,9999999)\r","pm.collectionVariables.set(\"randomId\",randomId)\r","pm.collectionVariables.set(\"randomPhoneNumber\",phoneNumber)\r","\r","pm.environment.set(\"randomId\",randomId)\r","pm.environment.set(\"randomPhoneNumber\",phoneNumber)"],"type":"text/javascript"}}],"id":"583647e9-a030-4506-bc5d-65028cd6e810","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Majhar Agent\",\r\n    \"email\":\"agent46049@test.com\",\r\n    \"password\":\"1234\",\r\n    \"phone_number\":\"01504553549\",\r\n    \"nid\":\"6002547921\",\r\n    \"role\":\"Agent\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/create","urlObject":{"path":["user","create"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"4ddd36ba-7c6f-454f-85ac-1cd4850f9afd","name":"Create Agent","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Test Agent 1\",\r\n    \"email\":\"agent46049@test.com\",\r\n    \"password\":\"1234\",\r\n    \"phone_number\":\"{{phoneNumber}}\",\r\n    \"nid\":\"123456789\",\r\n    \"role\":\"Agent\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:31:52 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"10c-tR9Zk19RjTwESofG7uPX2TpP3S8\""},{"key":"Content-Length","value":"268"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User created successfully\",\n    \"user\": {\n        \"id\": 5010,\n        \"name\": \"Test Agent 1\",\n        \"email\": \"agent20202@test.com\",\n        \"password\": \"1234\",\n        \"phone_number\": \"01702614665\",\n        \"nid\": \"123456789\",\n        \"role\": \"Agent\",\n        \"createdAt\": \"2022-09-19T04:31:52.000Z\",\n        \"updatedAt\": \"2022-09-19T04:31:52.000Z\"\n    }\n}"}],"_postman_id":"583647e9-a030-4506-bc5d-65028cd6e810"}],"id":"fa052aeb-e76a-4245-a6e4-e97aecbd11bb","_postman_id":"fa052aeb-e76a-4245-a6e4-e97aecbd11bb","description":""},{"name":"Create Customer","item":[{"name":"Admin Create Customer_1 with existing email and phone number","event":[{"listen":"test","script":{"id":"6ff48488-5b0d-46b0-9808-73c0c4c7c705","exec":["pm.test(\"Check if customer_1 can not registration with existing data\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.message).to.contains(\"User already exists\");\r","});\r","\r","\r","pm.test(\"Status code is 208\", function () {\r","    pm.response.to.have.status(208);\r","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"25b1e417-dcc0-4154-8d43-ebd4654f488c","exec":["var randomId=_.random(10000,99999)\r","var phoneNumber=\"0150\"+_.random(1000000,9999999)\r","pm.collectionVariables.set(\"randomId\",randomId)\r","pm.collectionVariables.set(\"randomPhoneNumber\",phoneNumber)\r","\r","pm.environment.set(\"randomId\",randomId)\r","pm.environment.set(\"randomPhoneNumber\",phoneNumber)"],"type":"text/javascript"}}],"id":"c6d1e4a0-88da-4ec8-88f1-458f862ad1f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Towsif-1\",\r\n    \"email\":\"customer114186@test.com\",\r\n    \"password\":\"1234\",\r\n    \"phone_number\":\"01775035737\",\r\n    \"nid\":\"123456789\",\r\n    \"role\":\"Customer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/create","urlObject":{"path":["user","create"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"5a6b26cd-0e14-4b23-8aad-11bad9d53d5d","name":"Create Customer","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Test Customer 1\",\r\n    \"email\":\"user46049@test.com\",\r\n    \"password\":\"1234\",\r\n    \"phone_number\":\"{{phoneNumber}}\",\r\n    \"nid\":\"123456789\",\r\n    \"role\":\"Customer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:31:28 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"111-8fYI/ARijojMe+p0bWFKPE5oXTE\""},{"key":"Content-Length","value":"273"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User created successfully\",\n    \"user\": {\n        \"id\": 5009,\n        \"name\": \"Test Customer 1\",\n        \"email\": \"user63728@test.com\",\n        \"password\": \"1234\",\n        \"phone_number\": \"01501972528\",\n        \"nid\": \"123456789\",\n        \"role\": \"Customer\",\n        \"createdAt\": \"2022-09-19T04:31:28.000Z\",\n        \"updatedAt\": \"2022-09-19T04:31:28.000Z\"\n    }\n}"}],"_postman_id":"c6d1e4a0-88da-4ec8-88f1-458f862ad1f6"},{"name":"Admin Create Customer_1 with valid creds","event":[{"listen":"test","script":{"id":"878505f1-245c-4457-9a7c-5ee61bbfb704","exec":["pm.test(\"User1 created successfully\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.message).to.contains(\"User created\");\r","});\r","\r","var jsonData= pm.response.json();\r","var id= jsonData.user.id;\r","var phonenumber=jsonData.user.phone_number;\r","pm.collectionVariables.set(\"Customer_Id1\",id)\r","pm.collectionVariables.set(\"Customer_Phone_number1\",phonenumber)\r","\r","pm.environment.set(\"Customer_Id1\",id)\r","pm.environment.set(\"Customer_Phone_number1\",phonenumber)\r","pm.test(\"Status code is 201\", function () {\r","    pm.response.to.have.status(201);\r","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"a555611a-dd22-40df-9928-6b8f5cc227ee","exec":["var randomId=_.random(10000,99999)\r","var phoneNumber=\"0150\"+_.random(1000000,9999999)\r","pm.collectionVariables.set(\"randomId\",randomId)\r","pm.collectionVariables.set(\"randomPhoneNumber\",phoneNumber)\r","\r","pm.environment.set(\"randomId\",randomId)\r","pm.environment.set(\"randomPhoneNumber\",phoneNumber)"],"type":"text/javascript"}}],"id":"e956f86a-13a7-4c8f-89d3-cedaae65eb49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Towsif Sumon\",\r\n    \"email\":\"customer146049@test.com\",\r\n    \"password\":\"1234\",\r\n    \"phone_number\":\"01504553549\",\r\n    \"nid\":\"123456789\",\r\n    \"role\":\"Customer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/create","urlObject":{"path":["user","create"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"c3bdbc6d-4318-4f83-b95d-859b44369c16","name":"Create Customer","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Test Customer 1\",\r\n    \"email\":\"user46049@test.com\",\r\n    \"password\":\"1234\",\r\n    \"phone_number\":\"{{phoneNumber}}\",\r\n    \"nid\":\"123456789\",\r\n    \"role\":\"Customer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:31:28 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"111-8fYI/ARijojMe+p0bWFKPE5oXTE\""},{"key":"Content-Length","value":"273"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User created successfully\",\n    \"user\": {\n        \"id\": 5009,\n        \"name\": \"Test Customer 1\",\n        \"email\": \"user63728@test.com\",\n        \"password\": \"1234\",\n        \"phone_number\": \"01501972528\",\n        \"nid\": \"123456789\",\n        \"role\": \"Customer\",\n        \"createdAt\": \"2022-09-19T04:31:28.000Z\",\n        \"updatedAt\": \"2022-09-19T04:31:28.000Z\"\n    }\n}"}],"_postman_id":"e956f86a-13a7-4c8f-89d3-cedaae65eb49"},{"name":"Admin Create Customer_2 with existing email and phone number","event":[{"listen":"test","script":{"id":"1331e915-3afd-4239-b9f4-0758104b7f4d","exec":["pm.test(\"Check if customer2 can not registration with existing data\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.message).to.contains(\"User already exists\");\r","});\r","\r","\r","pm.test(\"Status code is 208\", function () {\r","    pm.response.to.have.status(208);\r","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"59e4153f-751f-4af7-bd0e-9c7812beb295","exec":["var randomId=_.random(10000,99999)\r","var phoneNumber=\"0150\"+_.random(1000000,9999999)\r","pm.collectionVariables.set(\"randomId\",randomId)\r","pm.collectionVariables.set(\"randomPhoneNumber\",phoneNumber)\r","\r","pm.environment.set(\"randomId\",randomId)\r","pm.environment.set(\"randomPhoneNumber\",phoneNumber)"],"type":"text/javascript"}}],"id":"ce1c8498-e5ba-4780-9fa3-0b5979f4703a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Twosif-22\",\r\n    \"email\":\"customer283609@test.com\",\r\n    \"password\":\"1234\",\r\n    \"phone_number\":\"01775035737\",\r\n    \"nid\":\"123456789\",\r\n    \"role\":\"Customer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/create","urlObject":{"path":["user","create"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"0589f450-1906-4f80-96d9-d2c91539d12e","name":"Create Customer","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Test Customer 1\",\r\n    \"email\":\"user46049@test.com\",\r\n    \"password\":\"1234\",\r\n    \"phone_number\":\"{{phoneNumber}}\",\r\n    \"nid\":\"123456789\",\r\n    \"role\":\"Customer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:31:28 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"111-8fYI/ARijojMe+p0bWFKPE5oXTE\""},{"key":"Content-Length","value":"273"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User created successfully\",\n    \"user\": {\n        \"id\": 5009,\n        \"name\": \"Test Customer 1\",\n        \"email\": \"user63728@test.com\",\n        \"password\": \"1234\",\n        \"phone_number\": \"01501972528\",\n        \"nid\": \"123456789\",\n        \"role\": \"Customer\",\n        \"createdAt\": \"2022-09-19T04:31:28.000Z\",\n        \"updatedAt\": \"2022-09-19T04:31:28.000Z\"\n    }\n}"}],"_postman_id":"ce1c8498-e5ba-4780-9fa3-0b5979f4703a"},{"name":"Admin Create Customer_2 with valid creds","event":[{"listen":"test","script":{"id":"30535413-ecbf-46b1-9d67-d9dfe43a39d3","exec":["pm.test(\"User2 created successfully\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.message).to.contains(\"User created\");\r","});\r","\r","var jsonData= pm.response.json();\r","var id= jsonData.user.id;\r","var phonenumber=jsonData.user.phone_number;\r","pm.collectionVariables.set(\"Customer_Id2\",id)\r","pm.collectionVariables.set(\"Customer_Phone_number2\",phonenumber)\r","\r","pm.environment.set(\"Customer_Id2\",id)\r","pm.environment.set(\"Customer_Phone_number2\",phonenumber)\r","pm.test(\"Status code is 201\", function () {\r","    pm.response.to.have.status(201);\r","});"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"1e9bb474-3685-433b-ac42-dded20518fd8","exec":["var randomId=_.random(10000,99999)\r","var phoneNumber=\"0184\"+_.random(1000000,9999999)\r","pm.collectionVariables.set(\"randomId\",randomId)\r","pm.collectionVariables.set(\"randomPhoneNumber\",phoneNumber)\r","\r","pm.environment.set(\"randomId\",randomId)\r","pm.environment.set(\"randomPhoneNumber\",phoneNumber)"],"type":"text/javascript"}}],"id":"cea62f12-f3c5-461e-b480-35b497e352fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Towsif-2\",\r\n    \"email\":\"customer246049@test.com\",\r\n    \"password\":\"1234\",\r\n    \"phone_number\":\"01504553549\",\r\n    \"nid\":\"123456789\",\r\n    \"role\":\"Customer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/create","urlObject":{"path":["user","create"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"1d5d56e8-65fd-4159-a404-24912f8131a2","name":"Create Customer","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":\"Test Customer 1\",\r\n    \"email\":\"user46049@test.com\",\r\n    \"password\":\"1234\",\r\n    \"phone_number\":\"{{phoneNumber}}\",\r\n    \"nid\":\"123456789\",\r\n    \"role\":\"Customer\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/user/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:31:28 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"111-8fYI/ARijojMe+p0bWFKPE5oXTE\""},{"key":"Content-Length","value":"273"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User created successfully\",\n    \"user\": {\n        \"id\": 5009,\n        \"name\": \"Test Customer 1\",\n        \"email\": \"user63728@test.com\",\n        \"password\": \"1234\",\n        \"phone_number\": \"01501972528\",\n        \"nid\": \"123456789\",\n        \"role\": \"Customer\",\n        \"createdAt\": \"2022-09-19T04:31:28.000Z\",\n        \"updatedAt\": \"2022-09-19T04:31:28.000Z\"\n    }\n}"}],"_postman_id":"cea62f12-f3c5-461e-b480-35b497e352fd"}],"id":"1108e4a5-c0fd-4069-8993-73afbe348a06","_postman_id":"1108e4a5-c0fd-4069-8993-73afbe348a06","description":""},{"name":"Deposit to Agent","item":[{"name":"Deposit to Invalid Agent","event":[{"listen":"test","script":{"id":"219ec541-cc12-4e0f-9dbb-788e2555bdf4","exec":["\r","pm.test(\"Check if System can not deposit money to invalid  Agent\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.message).contains(\"Account does not exist\");\r","});\r","pm.test(\"Status code is 404\", function () {\r","    pm.response.to.have.status(404);\r","});"],"type":"text/javascript"}}],"id":"0f3b07a0-0a3b-4769-a4e7-2440cbd05ce9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"SYSTEM\",\r\n    \"to_account\":\"01514214061\",\r\n    \"amount\":10000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/deposit","urlObject":{"path":["transaction","deposit"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"a1d0a426-5b88-401c-8a9f-b6faacfc1f1b","name":"Deposit to Agent","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"SYSTEM\",\r\n    \"to_account\":\"01706712818\",\r\n    \"amount\":10000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/deposit"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:00 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"4e-gR131PNXhrMlFiEH4TLek4QKFYo\""},{"key":"Content-Length","value":"78"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deposit successful\",\n    \"trnxId\": \"TXN580576\",\n    \"currentBalance\": 9212000\n}"}],"_postman_id":"0f3b07a0-0a3b-4769-a4e7-2440cbd05ce9"},{"name":"Deposit to Agent with Insufficent balance","event":[{"listen":"test","script":{"id":"4cab7f80-8e04-41c6-8b13-186303a929d0","exec":["pm.test(\"Status code is 404\", function () {\r","    pm.response.to.have.status(404);\r","});\r","pm.test(\"Check System can not deposit money to Agent with insufficient balance\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.message).contains(\"Account does not exist\");\r","});"],"type":"text/javascript"}}],"id":"4f617332-8e4c-437f-80c5-b9527094c520","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"SYSTEM\",\r\n    \"to_account\":\"01706712818\",\r\n    \"amount\":0\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/deposit","urlObject":{"path":["transaction","deposit"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"5dedaa86-c9d0-4b83-8f61-6d13d3caa78f","name":"Deposit to Agent","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"SYSTEM\",\r\n    \"to_account\":\"01706712818\",\r\n    \"amount\":10000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/deposit"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:00 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"4e-gR131PNXhrMlFiEH4TLek4QKFYo\""},{"key":"Content-Length","value":"78"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deposit successful\",\n    \"trnxId\": \"TXN580576\",\n    \"currentBalance\": 9212000\n}"}],"_postman_id":"4f617332-8e4c-437f-80c5-b9527094c520"},{"name":"Deposit to Agent with Sufficent balance","event":[{"listen":"test","script":{"id":"87c51b59-addb-47b4-b085-0861c3730c8c","exec":["pm.test(\"Status code is 404\", function () {\r","    pm.response.to.have.status(404);\r","});\r","pm.test(\"Check System deposit money to Agent\", function () {\r","    var jsonData = pm.response.json();\r","    pm.expect(jsonData.message).contains(\"Account does not exist\");\r","});"],"type":"text/javascript"}}],"id":"c528b9a9-a7a3-469e-ad36-137387e6f84e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"SYSTEM\",\r\n    \"to_account\":\"01706712818\",\r\n    \"amount\":10000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/deposit","urlObject":{"path":["transaction","deposit"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"c8929c21-9d7c-48e1-8ade-ec1585731814","name":"Deposit to Agent","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"SYSTEM\",\r\n    \"to_account\":\"01706712818\",\r\n    \"amount\":10000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/deposit"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:00 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"4e-gR131PNXhrMlFiEH4TLek4QKFYo\""},{"key":"Content-Length","value":"78"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deposit successful\",\n    \"trnxId\": \"TXN580576\",\n    \"currentBalance\": 9212000\n}"}],"_postman_id":"c528b9a9-a7a3-469e-ad36-137387e6f84e"}],"id":"bdf50a78-de21-4714-89a8-8a005d9e0027","_postman_id":"bdf50a78-de21-4714-89a8-8a005d9e0027","description":""},{"name":"Deposti to Customer","item":[{"name":"Deposit to Invalid Customer account","event":[{"listen":"test","script":{"id":"7a89c51d-f12c-400f-b581-bb283e0ba0b3","exec":["pm.test(\"Check if Agent can not deposit money to invalid  Customer\",()=>{\r","    var jsonData= pm.response.json();\r","    var message= jsonData.message;\r","    pm.expect(message).contains(\"Account does not exist\")\r","})\r","pm.test(\"Status code is 404\", function () {\r","    pm.response.to.have.status(404);\r","});"],"type":"text/javascript"}}],"id":"c42bd029-78bb-4ed7-a3ff-cba1ddaff374","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"01706712818\",\r\n    \"to_account\":\"01821542541\",\r\n    \"amount\":2000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/deposit","urlObject":{"path":["transaction","deposit"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"c8a8a40e-d124-4fac-bfd4-e1a1cafe7791","name":"Deposit to Customer","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"01706712818\",\r\n    \"to_account\":\"{{customer_phone_number}}\",\r\n    \"amount\":1000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/deposit"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:16 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"4b-e/3Qx7RQskiPIy3ErlJkaeabZR8\""},{"key":"Content-Length","value":"75"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deposit successful\",\n    \"trnxId\": \"TXN542052\",\n    \"currentBalance\": 9000\n}"}],"_postman_id":"c42bd029-78bb-4ed7-a3ff-cba1ddaff374"},{"name":"Deposit to Customer with Insufficent balance","event":[{"listen":"test","script":{"id":"7767f251-dd30-409a-b785-3892138ee8d8","exec":["pm.test(\"Check Customer can not deposit if agent doesn't have sufficent balance. \",()=>{\r","    var jsonData= pm.response.json();\r","    var message= jsonData.message;\r","    pm.expect(message).contains(\"Minimum deposit amount 10 tk\")\r","})\r","pm.test(\"Status code is 208\", function () {\r","    pm.response.to.have.status(208);\r","});"],"type":"text/javascript"}}],"id":"a003cedc-3def-4fe8-9a19-e1b273101636","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"01706712818\",\r\n    \"to_account\":\"01506410901\",\r\n    \"amount\":0\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/deposit","urlObject":{"path":["transaction","deposit"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"ebf99271-81ab-449e-887b-15c637d3e083","name":"Deposit to Customer","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"01706712818\",\r\n    \"to_account\":\"{{customer_phone_number}}\",\r\n    \"amount\":1000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/deposit"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:16 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"4b-e/3Qx7RQskiPIy3ErlJkaeabZR8\""},{"key":"Content-Length","value":"75"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deposit successful\",\n    \"trnxId\": \"TXN542052\",\n    \"currentBalance\": 9000\n}"}],"_postman_id":"a003cedc-3def-4fe8-9a19-e1b273101636"},{"name":"Deposit to Customer with Sufficent balance","event":[{"listen":"test","script":{"id":"a32c0413-6e48-4575-9ed0-b955056e2168","exec":["pm.test(\"Customer deposit is successful\",()=>{\r","    var jsonData= pm.response.json();\r","    var message= jsonData.message;\r","    pm.expect(message).contains(\"Deposit successful\")\r","})\r","pm.test(\"Status code is 201\", function () {\r","    pm.response.to.have.status(201);\r","});"],"type":"text/javascript"}}],"id":"686d0fb9-c4ca-49b5-8b1c-5dee0fb8172c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"01706712818\",\r\n    \"to_account\":\"01506410901\",\r\n    \"amount\":1000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/deposit","urlObject":{"path":["transaction","deposit"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"d41bebe5-ae85-4b46-9273-d74729bb58d8","name":"Deposit to Customer","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"01706712818\",\r\n    \"to_account\":\"{{customer_phone_number}}\",\r\n    \"amount\":1000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/deposit"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:16 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"4b-e/3Qx7RQskiPIy3ErlJkaeabZR8\""},{"key":"Content-Length","value":"75"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Deposit successful\",\n    \"trnxId\": \"TXN542052\",\n    \"currentBalance\": 9000\n}"}],"_postman_id":"686d0fb9-c4ca-49b5-8b1c-5dee0fb8172c"}],"id":"1e194376-ec6c-4159-84fc-5ebc01c3fac2","_postman_id":"1e194376-ec6c-4159-84fc-5ebc01c3fac2","description":""},{"name":"Withdraw Money by Customer","item":[{"name":"Money withdraw to Invalid Agent","event":[{"listen":"test","script":{"id":"99b000c9-e846-41d5-b6c5-a3dfc87a9f97","exec":["pm.test(\"Check if Customer can not withdraw money to invalid  agent\",()=>{\r","    var jsonData= pm.response.json();\r","    var message= jsonData.message;\r","    pm.expect(message).contains(\"Account does not exist\")\r","})\r","pm.test(\"Status code is 404\", function () {\r","    pm.response.to.have.status(404);\r","});"],"type":"text/javascript"}}],"id":"b375e77a-3a07-47a4-8d2d-c2e926e56a8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"01506410901\",\r\n    \"to_account\":\"01512345677\",\r\n    \"amount\":1000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/withdraw","urlObject":{"path":["transaction","withdraw"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"5a9913b0-17f6-47fa-90b6-e83dd6dd7ea0","name":"Money withdraw by customer","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"{{customer_phone_number}}\",\r\n    \"to_account\":\"01706712818\",\r\n    \"amount\":50\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/withdraw"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:31 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"54-6wO5BkeE0Fegby1Xe3E2R4MBJ38\""},{"key":"Content-Length","value":"84"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Withdraw successful\",\n    \"trnxId\": \"TXN694480\",\n    \"fee\": 10,\n    \"currentBalance\": 940\n}"}],"_postman_id":"b375e77a-3a07-47a4-8d2d-c2e926e56a8a"},{"name":"Money withdraw by customer with Insufficent balance","event":[{"listen":"test","script":{"id":"8b0f4ed9-379f-49f2-a75f-cb1d92fe8c6e","exec":[""],"type":"text/javascript"}}],"id":"e9e138b8-5029-427f-8c8e-e6a8f162d945","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"01506410901\",\r\n    \"to_account\":\"01706712818\",\r\n    \"amount\":0\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/withdraw","urlObject":{"path":["transaction","withdraw"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"b4c28256-4029-4d9c-85df-b3cfced5c2c8","name":"Money withdraw by customer","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"{{customer_phone_number}}\",\r\n    \"to_account\":\"01706712818\",\r\n    \"amount\":50\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/withdraw"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:31 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"54-6wO5BkeE0Fegby1Xe3E2R4MBJ38\""},{"key":"Content-Length","value":"84"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Withdraw successful\",\n    \"trnxId\": \"TXN694480\",\n    \"fee\": 10,\n    \"currentBalance\": 940\n}"}],"_postman_id":"e9e138b8-5029-427f-8c8e-e6a8f162d945"},{"name":"Money withdraw by customer with Sufficent balance","event":[{"listen":"test","script":{"id":"13b230d0-e5e4-4d9e-8074-498cd1d26339","exec":[""],"type":"text/javascript"}}],"id":"6c37c8d1-c3d2-4f2e-9396-8157c474c15f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"01506410901\",\r\n    \"to_account\":\"01706712818\",\r\n    \"amount\":5000\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/withdraw","urlObject":{"path":["transaction","withdraw"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"4f0a8413-a085-4e97-89f9-414e8fa12d30","name":"Money withdraw by customer","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"{{customer_phone_number}}\",\r\n    \"to_account\":\"01706712818\",\r\n    \"amount\":50\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/withdraw"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:31 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"54-6wO5BkeE0Fegby1Xe3E2R4MBJ38\""},{"key":"Content-Length","value":"84"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Withdraw successful\",\n    \"trnxId\": \"TXN694480\",\n    \"fee\": 10,\n    \"currentBalance\": 940\n}"}],"_postman_id":"6c37c8d1-c3d2-4f2e-9396-8157c474c15f"}],"id":"7456ea05-ea01-4a64-a872-696e869924e5","_postman_id":"7456ea05-ea01-4a64-a872-696e869924e5","description":""},{"name":"Send Money by Customer","item":[{"name":"Send money by one customer to another Invalid customer","event":[{"listen":"test","script":{"id":"73a502fe-9e90-461e-9f5f-76f8f3270600","exec":["pm.test(\"Check if one Customer can not send money to another invalid customer\",()=>{\r","    var jsonData= pm.response.json();\r","    var message= jsonData.message;\r","    pm.expect(message).contains(\"From/To Account does not exist\")\r","})\r","pm.test(\"Status code is 404\", function () {\r","    pm.response.to.have.status(404);\r","});"],"type":"text/javascript"}}],"id":"fff38530-81b1-4905-8f57-3cbbce91b0a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"01506410901\",\r\n    \"to_account\":\"01521452878\",\r\n    \"amount\":100\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/sendmoney","urlObject":{"path":["transaction","sendmoney"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"106be258-a527-47c8-a58d-64f309ef6cb2","name":"Send money by newly created customer","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"{{customer_phone_number}}\",\r\n    \"to_account\":\"01686606909\",\r\n    \"amount\":50\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/sendmoney"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:38 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"55-1Uu3FtnQH5SfAOioIrsONgDM1nM\""},{"key":"Content-Length","value":"85"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Send money successful\",\n    \"trnxId\": \"TXN608861\",\n    \"fee\": 5,\n    \"currentBalance\": 885\n}"}],"_postman_id":"fff38530-81b1-4905-8f57-3cbbce91b0a2"},{"name":"Send money by one customer to another customer with insufficent balance","event":[{"listen":"test","script":{"id":"1ac7c42e-f79f-402c-a53d-5c210d6b85aa","exec":["pm.test(\"If insufficent balance Send Money is not successful\",()=>{\r","    var jsonData= pm.response.json();\r","    var message= jsonData.message;\r","    pm.expect(message).contains(\"Minimum amount 10 tk\")\r","})\r","pm.test(\"Status code is 208\", function () {\r","    pm.response.to.have.status(208);\r","});"],"type":"text/javascript"}}],"id":"6793a272-0f05-4d0c-8d8d-204c894e634e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"01506410901\",\r\n    \"to_account\":\"01504553549\",\r\n    \"amount\":0\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/sendmoney","urlObject":{"path":["transaction","sendmoney"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"6c3a3872-551e-4644-9522-8ddda4a348be","name":"Send money by newly created customer","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"{{customer_phone_number}}\",\r\n    \"to_account\":\"01686606909\",\r\n    \"amount\":50\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/sendmoney"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:38 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"55-1Uu3FtnQH5SfAOioIrsONgDM1nM\""},{"key":"Content-Length","value":"85"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Send money successful\",\n    \"trnxId\": \"TXN608861\",\n    \"fee\": 5,\n    \"currentBalance\": 885\n}"}],"_postman_id":"6793a272-0f05-4d0c-8d8d-204c894e634e"},{"name":"Send money by one customer to another customer with sufficent balance","event":[{"listen":"test","script":{"id":"a6e95805-b68b-4fc9-b2c6-0442b413668c","exec":["pm.test(\"Send Money is successful\",()=>{\r","    var jsonData= pm.response.json();\r","    var message= jsonData.message;\r","    pm.expect(message).contains(\"Send money successful\")\r","})\r","pm.test(\"Status code is 201\", function () {\r","    pm.response.to.have.status(201);\r","});"],"type":"text/javascript"}}],"id":"fe344c95-14fd-4c48-815b-1dd084c876bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"01506410901\",\r\n    \"to_account\":\"01504553549\",\r\n    \"amount\":400\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/sendmoney","urlObject":{"path":["transaction","sendmoney"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"cd0bf5ca-1e48-4d77-a0d6-c91e4bf83ae6","name":"Send money by newly created customer","originalRequest":{"method":"POST","header":[{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"from_account\":\"{{customer_phone_number}}\",\r\n    \"to_account\":\"01686606909\",\r\n    \"amount\":50\r\n}","options":{"raw":{"language":"json"}}},"url":"http://dmoney.roadtocareer.net/transaction/sendmoney"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:38 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"55-1Uu3FtnQH5SfAOioIrsONgDM1nM\""},{"key":"Content-Length","value":"85"},{"key":"Status","value":"201 Created"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Send money successful\",\n    \"trnxId\": \"TXN608861\",\n    \"fee\": 5,\n    \"currentBalance\": 885\n}"}],"_postman_id":"fe344c95-14fd-4c48-815b-1dd084c876bc"}],"id":"e2f6790b-17a4-4285-a820-1db7b292a959","_postman_id":"e2f6790b-17a4-4285-a820-1db7b292a959","description":""},{"name":"Get Customer","item":[{"name":"Get Customer with Invalid Id","event":[{"listen":"test","script":{"id":"08dde339-8df8-4791-bbc8-4378e8c06536","exec":[""],"type":"text/javascript"}}],"id":"c3b92fd7-deb0-4810-a5d5-247af28e0589","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/user/search/id=1121144","urlObject":{"path":["user","search","id=1121144"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"92cf257d-a1e4-4d10-aed8-f9908553db7e","name":"Get Customer Id","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":{"raw":"http://dmoney.roadtocareer.net/user/search?id={{userId}}","host":["http://dmoney.roadtocareer.net"],"path":["user","search"],"query":[{"key":"id","value":"{{userId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:31:42 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"eb-KbYZ8DD9+8vtLA2k4VlOb/eoLrs\""},{"key":"Content-Length","value":"235"},{"key":"Status","value":"200 OK"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"user\": {\n        \"id\": 5009,\n        \"name\": \"Test Customer 1\",\n        \"email\": \"user63728@test.com\",\n        \"password\": \"1234\",\n        \"phone_number\": \"01501972528\",\n        \"nid\": \"123456789\",\n        \"role\": \"Customer\",\n        \"createdAt\": \"2022-09-19T04:31:28.000Z\",\n        \"updatedAt\": \"2022-09-19T04:31:28.000Z\"\n    }\n}"}],"_postman_id":"c3b92fd7-deb0-4810-a5d5-247af28e0589"},{"name":"Get Customer with valid Id","event":[{"listen":"test","script":{"id":"63b9ea51-21c7-4c43-9409-0cd01e5a0587","exec":["pm.test(\"Status code is 404\", function () {\r","    pm.response.to.have.status(404);\r","});"],"type":"text/javascript"}}],"id":"4b7b33d0-1fee-4f92-8405-140a7abcb415","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/user/search?id=2466","urlObject":{"path":["user","search"],"host":["http://dmoney.roadtocareer.net"],"query":[{"key":"id","value":"2466"}],"variable":[]}},"response":[{"id":"3b7dde29-1ac9-430e-afb9-d4da1a77857a","name":"Get Customer Id","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":{"raw":"http://dmoney.roadtocareer.net/user/search?id={{userId}}","host":["http://dmoney.roadtocareer.net"],"path":["user","search"],"query":[{"key":"id","value":"{{userId}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:31:42 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"eb-KbYZ8DD9+8vtLA2k4VlOb/eoLrs\""},{"key":"Content-Length","value":"235"},{"key":"Status","value":"200 OK"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"user\": {\n        \"id\": 5009,\n        \"name\": \"Test Customer 1\",\n        \"email\": \"user63728@test.com\",\n        \"password\": \"1234\",\n        \"phone_number\": \"01501972528\",\n        \"nid\": \"123456789\",\n        \"role\": \"Customer\",\n        \"createdAt\": \"2022-09-19T04:31:28.000Z\",\n        \"updatedAt\": \"2022-09-19T04:31:28.000Z\"\n    }\n}"}],"_postman_id":"4b7b33d0-1fee-4f92-8405-140a7abcb415"}],"id":"c256db40-5745-4cca-932b-db0166aeca3f","_postman_id":"c256db40-5745-4cca-932b-db0166aeca3f","description":""},{"name":"Check agent balance","item":[{"name":"Check agent balance with Invalid phone number","event":[{"listen":"test","script":{"id":"e2fe036c-3b9f-49bc-87b8-439cb9ecf0df","exec":[""],"type":"text/javascript"}}],"id":"0a7138a6-7f0d-4514-83ca-35c6b032ed22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/phone_number= 01521332342","urlObject":{"path":["transaction","balance","phone_number= 01521332342"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"a7e7a3bd-8326-40b3-b6f4-e0e7957f0d71","name":"Check agent balance","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/01706712818"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:09 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"2a-1C2l8awSnTKTGG4LspKagTZBmlA\""},{"key":"Content-Length","value":"42"},{"key":"Status","value":"200 OK"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User balance\",\n    \"balance\": 10000\n}"}],"_postman_id":"0a7138a6-7f0d-4514-83ca-35c6b032ed22"},{"name":"Check agent balance with valid phone number","event":[{"listen":"test","script":{"id":"2192680d-5ef0-427b-a89e-2a1b051e5527","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r",""],"type":"text/javascript"}}],"id":"c6eea732-5d77-4a49-9298-11d0ae9854a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/01706712818","urlObject":{"path":["transaction","balance","01706712818"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"17ddc318-add0-4cc0-a5dd-a7304d3c1061","name":"Check agent balance","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/01706712818"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:09 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"2a-1C2l8awSnTKTGG4LspKagTZBmlA\""},{"key":"Content-Length","value":"42"},{"key":"Status","value":"200 OK"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User balance\",\n    \"balance\": 10000\n}"}],"_postman_id":"c6eea732-5d77-4a49-9298-11d0ae9854a7"}],"id":"556fcd83-7e4a-48ad-8832-c11a7212d94d","_postman_id":"556fcd83-7e4a-48ad-8832-c11a7212d94d","description":""},{"name":"Check agent statement","item":[{"name":"Check  agent statement with Invalid phone number","event":[{"listen":"test","script":{"id":"f486ced9-efa8-47a2-81bd-9b694af01259","exec":[""],"type":"text/javascript"}}],"id":"5271197f-1259-4330-aabc-5c6eb90223ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/statement/phone_number= 01521332342","urlObject":{"path":["transaction","statement","phone_number= 01521332342"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"622579b1-7b23-4ae7-a472-cfc1abb55129","name":"Check agent balance","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/01706712818"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:09 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"2a-1C2l8awSnTKTGG4LspKagTZBmlA\""},{"key":"Content-Length","value":"42"},{"key":"Status","value":"200 OK"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User balance\",\n    \"balance\": 10000\n}"}],"_postman_id":"5271197f-1259-4330-aabc-5c6eb90223ca"},{"name":"Check  agent statement","event":[{"listen":"test","script":{"id":"1aa3378a-3242-4a8c-bde7-a6b61822a779","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript"}}],"id":"76f9311f-cf2a-4122-80d1-54848442c381","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/statement/01706712818","urlObject":{"path":["transaction","statement","01706712818"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"7a5e4b77-a534-4bee-8f70-a3d4bd702018","name":"Check agent balance","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/01706712818"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:09 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"2a-1C2l8awSnTKTGG4LspKagTZBmlA\""},{"key":"Content-Length","value":"42"},{"key":"Status","value":"200 OK"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User balance\",\n    \"balance\": 10000\n}"}],"_postman_id":"76f9311f-cf2a-4122-80d1-54848442c381"}],"id":"cae6c57a-6d3a-45bf-97e8-639df3113c02","_postman_id":"cae6c57a-6d3a-45bf-97e8-639df3113c02","description":""},{"name":"Check customer statement","item":[{"name":"Check  Customer statement with Invalid phone number","event":[{"listen":"test","script":{"id":"5d08ef20-6e19-4364-86a2-b99ad1a3d425","exec":[""],"type":"text/javascript"}}],"id":"50f22fec-ed2c-45bb-aa3c-97c3835f0937","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/statement/phone_number= 01521332342","urlObject":{"path":["transaction","statement","phone_number= 01521332342"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"3e003478-b8d2-4850-a710-cb9b0102ff7f","name":"Check agent balance","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/01706712818"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:09 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"2a-1C2l8awSnTKTGG4LspKagTZBmlA\""},{"key":"Content-Length","value":"42"},{"key":"Status","value":"200 OK"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User balance\",\n    \"balance\": 10000\n}"}],"_postman_id":"50f22fec-ed2c-45bb-aa3c-97c3835f0937"},{"name":"Check customer statement with valid phone number","event":[{"listen":"test","script":{"id":"417c0a43-5210-4cef-8220-0df7ab69f42c","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript"}}],"id":"caded5ec-9f0d-4211-8e21-3755c4a57993","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/statement/01506410901","urlObject":{"path":["transaction","statement","01506410901"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"4ea13995-d60a-4cb2-a2fa-b79781d00c4c","name":"Check agent balance","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/01706712818"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:09 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"2a-1C2l8awSnTKTGG4LspKagTZBmlA\""},{"key":"Content-Length","value":"42"},{"key":"Status","value":"200 OK"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User balance\",\n    \"balance\": 10000\n}"}],"_postman_id":"caded5ec-9f0d-4211-8e21-3755c4a57993"}],"id":"99c16e69-eb2e-417c-973d-1378f2fd824e","_postman_id":"99c16e69-eb2e-417c-973d-1378f2fd824e","description":""},{"name":"Check customer balance","item":[{"name":"Check customer balance with Invalid Phone number","event":[{"listen":"test","script":{"id":"6cf6c2c8-66b7-4b0a-b628-50e7086a0b6d","exec":["pm.test(\"Status code is 404\", function () {\r","    pm.response.to.have.status(404);\r","});"],"type":"text/javascript"}}],"id":"a1bbf81c-3591-49c8-b8a1-ac369dc68d94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/phone_number= 01521332342","urlObject":{"path":["transaction","balance","phone_number= 01521332342"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"de10bd9f-c7ee-49c1-a231-54df4b224bd4","name":"Check customer balance","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/{{customer_phone_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:21 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"29-HgNOfMiRMJMhV6I2kJCFZ36KxcA\""},{"key":"Content-Length","value":"41"},{"key":"Status","value":"200 OK"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User balance\",\n    \"balance\": 1000\n}"}],"_postman_id":"a1bbf81c-3591-49c8-b8a1-ac369dc68d94"},{"name":"Check customer balance with Valid Phone number","event":[{"listen":"test","script":{"id":"23051f1c-d437-4ec3-ac0c-c95dd69a760d","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript"}}],"id":"c33adeb8-f75c-4308-8a4b-b70f057d24d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/01506410901","urlObject":{"path":["transaction","balance","01506410901"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"3316342a-5c61-4c38-b2b2-ec5c17be58a8","name":"Check customer balance","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/{{customer_phone_number}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:21 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"29-HgNOfMiRMJMhV6I2kJCFZ36KxcA\""},{"key":"Content-Length","value":"41"},{"key":"Status","value":"200 OK"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User balance\",\n    \"balance\": 1000\n}"}],"_postman_id":"c33adeb8-f75c-4308-8a4b-b70f057d24d2"}],"id":"d0450a60-e1e6-402a-b7ba-2aae59e2f3c7","_postman_id":"d0450a60-e1e6-402a-b7ba-2aae59e2f3c7","description":""},{"name":"Check System balance","item":[{"name":"Check system balance","event":[{"listen":"test","script":{"id":"a068a12c-d3b5-48b4-99b7-20d59e65444d","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript"}}],"id":"db84ee54-2161-4186-8e15-82a7200a19c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/SYSTEM","urlObject":{"path":["transaction","balance","SYSTEM"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"04d388e1-91b7-450d-9410-8328977be360","name":"Check agent balance","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/01706712818"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:09 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"2a-1C2l8awSnTKTGG4LspKagTZBmlA\""},{"key":"Content-Length","value":"42"},{"key":"Status","value":"200 OK"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User balance\",\n    \"balance\": 10000\n}"}],"_postman_id":"db84ee54-2161-4186-8e15-82a7200a19c6"}],"id":"2a7a3d35-0e08-41f7-9c28-cd0a36425064","_postman_id":"2a7a3d35-0e08-41f7-9c28-cd0a36425064","description":""},{"name":"Search by trnx Id","item":[{"name":"Search by trnx Id","event":[{"listen":"test","script":{"id":"e4b94024-2687-465e-9732-e4bc81224bc9","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});"],"type":"text/javascript"}}],"id":"51ca62f0-94c6-4a9f-acf8-d4329af5a799","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/search/TXN126657","urlObject":{"path":["transaction","search","TXN126657"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[{"id":"b7957055-562a-44ad-a350-4679d4acb99f","name":"Check agent balance","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/transaction/balance/01706712818"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 19 Sep 2022 04:32:09 GMT"},{"key":"Server","value":"Apache"},{"key":"X-Powered-By","value":"Express, Phusion Passenger(R) 6.0.14"},{"key":"ETag","value":"W/\"2a-1C2l8awSnTKTGG4LspKagTZBmlA\""},{"key":"Content-Length","value":"42"},{"key":"Status","value":"200 OK"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User balance\",\n    \"balance\": 10000\n}"}],"_postman_id":"51ca62f0-94c6-4a9f-acf8-d4329af5a799"}],"id":"d02a2874-142d-410c-a33b-c160effeea72","_postman_id":"d02a2874-142d-410c-a33b-c160effeea72","description":""},{"name":"Delete","item":[{"name":"Delete Agent","event":[{"listen":"test","script":{"id":"323fd8bc-5b91-4282-9d2a-598f9e35bcec","exec":[""],"type":"text/javascript"}}],"id":"94da9e9d-b1a4-440a-9cb9-24001b9ad7d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/user/delete/2465","urlObject":{"path":["user","delete","2465"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"94da9e9d-b1a4-440a-9cb9-24001b9ad7d8"},{"name":"Delete Customer","event":[{"listen":"test","script":{"id":"460f740c-c33f-46ff-9abe-5920d7e308f2","exec":[""],"type":"text/javascript"}}],"id":"32cc67e1-7849-4df0-805d-dc3ad6ca9951","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU","type":"text"},{"key":"X-AUTH-SECRET-KEY","value":"ROADTOSDET","type":"text"}],"url":"http://dmoney.roadtocareer.net/user/delete/2466","urlObject":{"path":["user","delete","2466"],"host":["http://dmoney.roadtocareer.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"32cc67e1-7849-4df0-805d-dc3ad6ca9951"}],"id":"7ac162cb-356c-4cdb-a74d-3209ae62650b","_postman_id":"7ac162cb-356c-4cdb-a74d-3209ae62650b","description":""}],"event":[{"listen":"prerequest","script":{"id":"eb31d6f6-8bc5-46f6-98fb-6f32b4767c27","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5cc46ca3-61ef-48e4-967d-39490ccc3670","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"http://dmoney.roadtocareer.net","type":"string"},{"key":"token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InNhbG1hbkByb2FkdG9jYXJlZXIubmV0IiwicGFzc3dvcmQiOiIxMjM0IiwiaWF0IjoxNjc0NzAyNDYyLCJleHAiOjE2NzQ3MDQyNjJ9.xboOhFkMzjVu6c3chuys9z4-9aT6YUZviRgyStFesNU"},{"key":"randomId","value":46049},{"key":"secretKey","value":"ROADTOSDET","type":"string"},{"key":"agentId","value":2465},{"key":"agent_phone_number","value":"01706712818"},{"key":"Customer_Id1","value":2466},{"key":"Customer_Phone_number1","value":"01506410901"},{"key":"Customer_Id2","value":2467},{"key":"Customer_Phone_number2","value":"01504553549"},{"key":"randomPhoneNumber","value":"01504553549"}]}