{
	"info": {
		"_postman_id": "7517dd80-6db3-4d37-8bbc-5f11c32491e7",
		"name": "Testing Digisave Api",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "User Account",
			"item": [
				{
					"name": "Register User",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"username\": \"cypher\",\r\n    \"email\": \"cypher@digisave.ng\",\r\n    \"phone\": \"024475647474\",\r\n    \"password1\": \"12345678QWERTYUIOP\",\r\n    \"password2\": \"12345678QWERTYUIOP\"\r\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/auth/registration/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"auth",
								"registration",
								""
							]
						},
						"description": "Add new user with username and password set"
					},
					"response": [
						{
							"name": "Default",
							"originalRequest": {
								"method": "POST",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://127.0.0.1:8000/rest-auth/password/change/",
									"protocol": "http",
									"host": [
										"127",
										"0",
										"0",
										"1"
									],
									"port": "8000",
									"path": [
										"rest-auth",
										"password",
										"change",
										""
									]
								}
							},
							"_postman_previewlanguage": "Text",
							"header": [],
							"cookie": [],
							"body": ""
						}
					]
				},
				{
					"name": "Login User",
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \r\n    \"username\": \"cypher@digisave.ng\",\r\n    \"password\": \"12345678QWERTYUIOP\"\r\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/auth/login/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"auth",
								"login",
								""
							]
						},
						"description": "Supply username, email and password for authentication but account must be verified first by mail "
					},
					"response": []
				},
				{
					"name": "Users",
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "GET",
						"header": [
							{
								"warning": "This is a duplicate header and will be overridden by the Authorization header generated by Postman.",
								"key": "Authorization",
								"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
								"type": "text"
							},
							{
								"key": "Proxy-Authorization",
								"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNTU2MTk4NjExLCJlbWFpbCI6ImFkbWluQGRpZ2lzYXZlLm5nIn0.hlbPAZzA9J_en27y6FjQjkDKWG6aWsAKJqUUDuW2ko8",
								"type": "text",
								"disabled": true
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "http://localhost:8000/api/account/users?name=user-list",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"users"
							],
							"query": [
								{
									"key": "name",
									"value": "user-list"
								}
							]
						},
						"description": "list all user in the system "
					},
					"response": []
				},
				{
					"name": "User Details",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlcjVAZGlnaXNhdmUubmciLCJleHAiOjQ1NTY2ODUwMzcsImVtYWlsIjoiY3lwaGVyNUBkaWdpc2F2ZS5uZyIsIm9yaWdfaWF0IjoxNTU2Njg1MDM3fQ._DTcky_iswCXgcVxeaXLrnh-lTwzvEk0ncpGT6sttqk",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "http://localhost:8000/api/account/users/1",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"users",
								"1"
							]
						},
						"description": "get details with the user id or pk"
					},
					"response": []
				},
				{
					"name": "AddOrUpdate User Details",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlcjVAZGlnaXNhdmUubmciLCJleHAiOjQ1NTY3MzIxOTEsImVtYWlsIjoiY3lwaGVyNUBkaWdpc2F2ZS5uZyIsIm9yaWdfaWF0IjoxNTU2NzMyMTkxfQ.Ryu26wEcKgXbhZy-fks3YPWVLQxS9gc4LJWwBNYltS8",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n       \n        \"first_name\": \"Isaac\",\n        \"last_name\": \"Newton\",\n\t\"othername\": \"\", \n\t \"date_of_birth\":\"2019-2-20\",\n\t  \"gender\": \"MALE\",\n\t  \"phone\":\"+234557577448\",\n\t \"photo_url\": \"\",\n\t  \"address\" : {\n\t \t\"apartment\": \"dkjflsadjfdlfjs\",\n\t \t\"street\": \"dkjfldfjsdlfjsl\", \n\t \t\"city\": \"slkjflsafjs dfkadf\", \n\t \t\"state\": \"kdfjldfjdsfkj\", \n\t \t\"country\": \"88dfd8fdfdfkdjf\", \n\t \t\"postcode\": \"93kjfd9fdfj\",\n\t \t\"zipcode\" : \"dkjflad f9irjifjd\"\n    }\n   \n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/users/1/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"users",
								"1",
								""
							]
						}
					},
					"response": []
				},
				{
					"name": "User Exist ",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNTU2MjA0Mzk3LCJlbWFpbCI6ImFkbWluQGRpZ2lzYXZlLm5nIn0.ICtBuv6cwbj22voMmVbfDF12Sn1vqvhJ0uhO98qXOMY",
								"type": "text",
								"disabled": true
							},
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{ \n\"phone\": \"+2349557577448\",\n\"email\": \"\", \n\"username\": \"\"\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/user-exist",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"user-exist"
							]
						},
						"description": "Check if user exist in the system by unauthenticated user "
					},
					"response": []
				},
				{
					"name": "Reset User Password",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"name\": \"rest_password_reset\",\n\t\"email\": \"cypher1@digisave.ng\"\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/auth/password/reset/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"auth",
								"password",
								"reset",
								""
							]
						},
						"description": "Change existing uesr password "
					},
					"response": []
				},
				{
					"name": "Reset User Password Confirmed ",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"uid\": \"\",\n\"token\": \"\",\n\"new_password1\": \"\",\n \"new_password2\": \"\"\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/auth/password/reset/confirm/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"auth",
								"password",
								"reset",
								"confirm",
								""
							],
							"query": [
								{
									"key": "name",
									"value": "name='rest_password_reset_confirm",
									"disabled": true
								}
							]
						},
						"description": "uid and token are sent in email after calling /password/reset/"
					},
					"response": []
				},
				{
					"name": "Change User Password",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"new_password1\":\"\",\n\t\"new_password2\":\"\",\n\t\"old_password\": \"\"\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/auth/password/change/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"auth",
								"password",
								"change",
								""
							]
						},
						"description": "This happend after the user confirms the passowrd reset email"
					},
					"response": []
				},
				{
					"name": "Logout User",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "http://localhost:8000/api/account/auth/logout/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"auth",
								"logout",
								""
							]
						},
						"description": "send empty request to log user out "
					},
					"response": []
				},
				{
					"name": "Request New Token",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"username\": \"admin\", \n\t\"password\": \"12345678\"\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/auth/token/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"auth",
								"token",
								""
							]
						},
						"description": "post username and pwd to get new token "
					},
					"response": []
				},
				{
					"name": "Refresh User Token",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNTU2MjA5NzM2LCJlbWFpbCI6ImFkbWluQGRpZ2lzYXZlLm5nIn0.4u6YwcoXg10lwlkWBbmi__fWWkkRMddRiKSn4sVdVVI\",\n\t\"orig-iat\": \"\"\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/auth/token/refresh/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"auth",
								"token",
								"refresh",
								""
							]
						},
						"description": "This renew the time for the user token but it blacklist the current one and then generate new token, \nsend existing token in json body"
					},
					"response": []
				},
				{
					"name": "Verify User Token",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNTU2MjA5NzM2LCJlbWFpbCI6ImFkbWluQGRpZ2lzYXZlLm5nIn0.4u6YwcoXg10lwlkWBbmi__fWWkkRMddRiKSn4sVdVVI\",\n\t\"orig-iat\": \"\"\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/auth/token/verify/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"auth",
								"token",
								"verify",
								""
							]
						}
					},
					"response": []
				},
				{
					"name": "Get User Agreements",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlcjVAZGlnaXNhdmUubmciLCJleHAiOjQ1NTY3MTkwNTgsImVtYWlsIjoiY3lwaGVyNUBkaWdpc2F2ZS5uZyIsIm9yaWdfaWF0IjoxNTU2NzE5MDU4fQ.BXiGGLGmc1nDtX5f2yw3uWsg08UQgpKn5Mb6aVS1UQM",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "http://localhost:8000/api/agreements/1/user_agreements/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"agreements",
								"1",
								"user_agreements",
								""
							]
						}
					},
					"response": []
				},
				{
					"name": "Add Agreement",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlcjVAZGlnaXNhdmUubmciLCJleHAiOjQ1NTY3MTkwNTgsImVtYWlsIjoiY3lwaGVyNUBkaWdpc2F2ZS5uZyIsIm9yaWdfaWF0IjoxNTU2NzE5MDU4fQ.BXiGGLGmc1nDtX5f2yw3uWsg08UQgpKn5Mb6aVS1UQM",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"isSign\": \"True\",\n    \"signature\": \"C.Z\",\n    \"message\": \"Agreed to all the terms of the digisave plan account\"\n                   \n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/agreements/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"agreements",
								""
							]
						}
					},
					"response": []
				},
				{
					"name": "Update Agreement",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "Authorization",
								"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlcjVAZGlnaXNhdmUubmciLCJleHAiOjQ1NTY3MTkwNTgsImVtYWlsIjoiY3lwaGVyNUBkaWdpc2F2ZS5uZyIsIm9yaWdfaWF0IjoxNTU2NzE5MDU4fQ.BXiGGLGmc1nDtX5f2yw3uWsg08UQgpKn5Mb6aVS1UQM",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"isSign\": \"True\",\n    \"signature\": \"N.A\",\n    \"message\": \"Agreed to all the terms of the digisave plan account\"\n                   \n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/agreements/1/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"agreements",
								"1",
								""
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete Agreement",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Authorization",
								"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlcjVAZGlnaXNhdmUubmciLCJleHAiOjQ1NTY3MTkwNTgsImVtYWlsIjoiY3lwaGVyNUBkaWdpc2F2ZS5uZyIsIm9yaWdfaWF0IjoxNTU2NzE5MDU4fQ.BXiGGLGmc1nDtX5f2yw3uWsg08UQgpKn5Mb6aVS1UQM",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "http://localhost:8000/api/agreements/1/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"agreements",
								"1",
								""
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "User Group",
			"item": [
				{
					"name": "All Groups",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNTU2MjA0Mzk3LCJlbWFpbCI6ImFkbWluQGRpZ2lzYXZlLm5nIn0.ICtBuv6cwbj22voMmVbfDF12Sn1vqvhJ0uhO98qXOMY",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "http://localhost:8000/api/account/groups?name=group-list",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"groups"
							],
							"query": [
								{
									"key": "name",
									"value": "group-list"
								}
							]
						},
						"description": "get details with the user id or pk"
					},
					"response": []
				},
				{
					"name": "Group Details",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNTU2MjA0Mzk3LCJlbWFpbCI6ImFkbWluQGRpZ2lzYXZlLm5nIn0.ICtBuv6cwbj22voMmVbfDF12Sn1vqvhJ0uhO98qXOMY",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "http://localhost:8000/api/account/groups/1?name=group-detail",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"groups",
								"1"
							],
							"query": [
								{
									"key": "name",
									"value": "group-detail"
								}
							]
						},
						"description": "get group details with id or pk "
					},
					"response": []
				}
			]
		},
		{
			"name": "Social",
			"item": [],
			"description": "Facebook and Twitter social integration. Not recommended for now for security resons "
		},
		{
			"name": "DigisaveAccount ",
			"item": [
				{
					"name": "RewardScheme",
					"item": [
						{
							"name": "List All RewardScheme",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/reward-scheme/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"reward-scheme",
										""
									]
								}
							},
							"response": []
						},
						{
							"name": "List All RewardScheme Copy",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/reward-scheme/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"reward-scheme",
										""
									]
								}
							},
							"response": []
						},
						{
							"name": "Create New RewardScheme",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\"name\":\"6 months bonaza\",\n \"rewardType\": \"BONUS\",\n \"methodOfCalc\": \"REFERAL\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/reward-scheme/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"reward-scheme",
										""
									]
								},
								"description": "Add new reward policy that will apply to a customer "
							},
							"response": []
						},
						{
							"name": "Delete Reward Scheme",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/reward-scheme/4/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"reward-scheme",
										"4",
										""
									]
								},
								"description": "This will remove reward policy/scheme. But to delete that ensure that no user is on this policy else deletion wont take effect"
							},
							"response": []
						},
						{
							"name": "Get Reward Scheme By Id",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/reward-scheme/4/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"reward-scheme",
										"4",
										""
									]
								}
							},
							"response": []
						},
						{
							"name": "Update Existing Reward Scheme",
							"request": {
								"method": "PATCH",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\"name\":\"10 months bonaza\",\n \"rewardType\": \"BONUS\",\n \"methodOfCalc\": \"REFERAL\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/reward-scheme/4/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"reward-scheme",
										"4",
										""
									]
								},
								"description": "Altering the reward scheme by its id, pk is reward scheme id"
							},
							"response": []
						},
						{
							"name": "Add Customer To Reward Scheme",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"customer_id\":\"2\",\n\t\"scheme_id\": \"4\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/reward-scheme/add_customer/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"reward-scheme",
										"add_customer",
										""
									]
								},
								"description": "Reward a customer by adding the customer to a policy"
							},
							"response": []
						},
						{
							"name": "Remove Customer from Reward Scheme",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"customer_id\":\"2\",\n\t\"scheme_id\": \"4\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/reward-scheme/remove_customer/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"reward-scheme",
										"remove_customer",
										""
									]
								},
								"description": "Reward a customer by adding the customer to a policy"
							},
							"response": []
						}
					],
					"description": "Contains the queries require to reward a customer and also apply save and apply rewardscheme/policies",
					"_postman_isSubFolder": true
				},
				{
					"name": "Customer",
					"item": [
						{
							"name": "Create customer",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODkxOSwiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODkxOX0.ryGtIMGip3kZP44jB4OWOl26a9CtY-hhLnxgmx8H9tk",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"emergency_phone\": \"023675647464\", \n    \"home_phone\": \"0974746566\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/customer/1/create_customer/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"customer",
										"1",
										"create_customer",
										""
									]
								},
								"description": "Change regular user to a custome,"
							},
							"response": []
						},
						{
							"name": "List All Customers",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODkxOSwiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODkxOX0.ryGtIMGip3kZP44jB4OWOl26a9CtY-hhLnxgmx8H9tk",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/customer",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"customer"
									]
								},
								"description": "Display all the customers in the system. Pagination is advised"
							},
							"response": []
						},
						{
							"name": "Delete Customer",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/customer/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"customer",
										"1",
										""
									]
								},
								"description": "Delete customer does not affect the user, but only revoke his customer privileges to regular user"
							},
							"response": []
						},
						{
							"name": "Update customer details ",
							"request": {
								"method": "PATCH",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"emergency_phone\": \"023675647464\", \n    \"home_phone\": \"\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/customer/2/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"customer",
										"2",
										""
									]
								},
								"description": "Alter details of a customer, pk is the customer id not the user id"
							},
							"response": []
						},
						{
							"name": "Find Customer By User Id",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/customer/1/get_customer/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"customer",
										"1",
										"get_customer",
										""
									]
								},
								"description": "Lookup for customer details by user id, pk is userid not customer id"
							},
							"response": []
						},
						{
							"name": "Get customer by id",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/customer/2",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"customer",
										"2"
									]
								},
								"description": "Lookup for customer by customer id not User id"
							},
							"response": []
						}
					],
					"_postman_isSubFolder": true
				},
				{
					"name": "Account",
					"item": [
						{
							"name": "Create Account",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODkxOSwiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODkxOX0.ryGtIMGip3kZP44jB4OWOl26a9CtY-hhLnxgmx8H9tk",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"accountNumber\":\"45453EDF34asfdfdfs\",\n\t\"accountType\":\"CORE_ACCOUNT\",\n\t\n\t\"customer_id\": 1,\n\t\"withdrawalScheme_id\": 1\n     \n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/digisaver-account/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"digisaver-account",
										""
									]
								},
								"description": "Create a new account setting the account type to core account in which every customer is entitle to one. Any other account would be savings plan "
							},
							"response": []
						},
						{
							"name": "Update Account",
							"request": {
								"method": "PATCH",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"withdrawalScheme_id\":2\n     \n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/digisaver-account/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"digisaver-account",
										"1",
										""
									]
								},
								"description": "Create a new account setting the account type to core account in which every customer is entitle to one. Any other account would be savings plan "
							},
							"response": []
						},
						{
							"name": "Update Account By Reporting Policy",
							"request": {
								"method": "PATCH",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"report_schemes\":[1]\n     \n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/digisaver-account/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"digisaver-account",
										"1",
										""
									]
								},
								"description": "Create a new account setting the account type to core account in which every customer is entitle to one. Any other account would be savings plan "
							},
							"response": []
						},
						{
							"name": "Delete Account",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"accountNumber\":\"454534asfdfdfs\",\n\t\"accountType\":\"CORE_ACCOUNT\",\n\t\n\t\"customer_id\": 2\n     \n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/digisaver-account/2/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"digisaver-account",
										"2",
										""
									]
								},
								"description": "Remove an account from  a customer"
							},
							"response": []
						},
						{
							"name": "List All Accounts",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEwMzY0NSwiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEwMzY0NX0.KLf9VHYPqn2DMOcuCr09-6pAUupXHuNaEF0UdyxeFQs",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/digisaver-account/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"digisaver-account",
										""
									],
									"query": [
										{
											"key": "",
											"value": ""
										}
									]
								},
								"description": "This get all the account in the system, whether its a core, savings plan, or anything similar"
							},
							"response": []
						},
						{
							"name": "List All Core Accounts",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/digisaver-account?accountType=CORE_ACCOUNT",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"digisaver-account"
									],
									"query": [
										{
											"key": "accountType",
											"value": "CORE_ACCOUNT"
										},
										{
											"key": "accountNumber",
											"value": "454534asfdfdfs",
											"disabled": true
										}
									]
								},
								"description": "Get all core account created by the users "
							},
							"response": []
						},
						{
							"name": "List All Accounts Created By Staff",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/digisaver-account?createdBy=1",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"digisaver-account"
									],
									"query": [
										{
											"key": "createdBy",
											"value": "1"
										}
									]
								},
								"description": "list all accounts a staff created"
							},
							"response": []
						},
						{
							"name": "List All Savings Plans",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/digisaver-account?accountType=SAVINGS_PLAN",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"digisaver-account"
									],
									"query": [
										{
											"key": "accountType",
											"value": "SAVINGS_PLAN"
										},
										{
											"key": "accountNumber",
											"value": "454534asfdfdfs",
											"disabled": true
										}
									]
								},
								"description": "Get all core account created by the users "
							},
							"response": []
						},
						{
							"name": "Get Account By Account Number",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/digisaver-account?accountNumber=454534asfdfdfs",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"digisaver-account"
									],
									"query": [
										{
											"key": "accountType",
											"value": "CORE_ACCOUNT",
											"disabled": true
										},
										{
											"key": "accountNumber",
											"value": "454534asfdfdfs"
										}
									]
								},
								"description": "Get all core account created by the users "
							},
							"response": []
						},
						{
							"name": "List All Savings Plans ",
							"request": {
								"method": "GET",
								"header": [],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": ""
								},
								"description": "Get all savings plans ever created in the system"
							},
							"response": []
						},
						{
							"name": "List All Locked Accounts ",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/digisaver-account?status=LOCKED",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"digisaver-account"
									],
									"query": [
										{
											"key": "",
											"value": "",
											"disabled": true
										},
										{
											"key": "status",
											"value": "LOCKED"
										}
									]
								},
								"description": "List accounts with status LOCKED"
							},
							"response": []
						},
						{
							"name": "Get Accounts by Customer Id",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/digisaver-account?customer_id=1",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"digisaver-account"
									],
									"query": [
										{
											"key": "",
											"value": "",
											"disabled": true
										},
										{
											"key": "customer_id",
											"value": "1"
										}
									]
								},
								"description": "Get All Accounts of a customer"
							},
							"response": []
						}
					],
					"description": "API endpoint for the management of a digi-save account\nfilter queries with keys {accountNumber, status, accountType, createdBy, customer_id}\nTheir combinations is also allowed, eg. \n/api/digsaver-account?accountNumber=\"\"&accountType=\"\"",
					"event": [
						{
							"listen": "prerequest",
							"script": {
								"id": "b1770d76-c463-4ae1-a617-853d100acd89",
								"type": "text/javascript",
								"exec": [
									""
								]
							}
						},
						{
							"listen": "test",
							"script": {
								"id": "96f3a3b9-84ab-4e02-b34e-9ac9ad67dde7",
								"type": "text/javascript",
								"exec": [
									""
								]
							}
						}
					],
					"_postman_isSubFolder": true
				},
				{
					"name": "WitthdrawalScheme",
					"item": [
						{
							"name": "List All Withdrawal policies",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/withdrawal-scheme/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"withdrawal-scheme",
										""
									]
								},
								"description": "Update existing withdrawal policy. And the policy will apply to all accounts bound to it"
							},
							"response": []
						},
						{
							"name": "List Withdrawal with filter",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/withdrawal-scheme?pk=2",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"withdrawal-scheme"
									],
									"query": [
										{
											"key": "pk",
											"value": "2"
										}
									]
								},
								"description": "This get specific  withdrawal policies based on the specified filer, keys = {\"name\", \"totalAllowedWithdrawals\", \"maxAmountAllowed\"}"
							},
							"response": []
						},
						{
							"name": "Get Withdrawal policy by id",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/withdrawal-scheme/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"withdrawal-scheme",
										"1",
										""
									]
								}
							},
							"response": []
						},
						{
							"name": "List all accounts on withdrawal policy",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/withdrawal-scheme/2/accounts",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"withdrawal-scheme",
										"2",
										"accounts"
									]
								}
							},
							"response": []
						},
						{
							"name": "Update Withdrawal policy",
							"request": {
								"method": "PATCH",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"name\": \"free_withdrawals\",\n    \"totalAllowedWithdrawals\": \"6\",\n    \"allowedDates\": \"1/2/2019,1/4/2019\",\n    \"penaltyRate\": \"0.5\",\n    \"maxAmountAllowed\": \"1000\",\n    \"emergencyAllowedWithdrawals\": \"2\",\n    \"withdrawalInterval\": \"6\",\n    \"withdrawalIntervalUnit\": \"WEEKS\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/withdrawal-scheme/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"withdrawal-scheme",
										"1",
										""
									]
								},
								"description": "Adds new scheme to the system."
							},
							"response": []
						},
						{
							"name": "Create new withdrawal policy",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"name\": \"No Charges\",\n    \"totalAllowedWithdrawals\": \"6\",\n    \"allowedDates\": \"1/2/2019,1/4/2019\",\n    \"penaltyRate\": \"0.5\",\n    \"maxAmountAllowed\": \"30000\",\n    \"emergencyAllowedWithdrawals\": \"2\",\n    \"withdrawalInterval\": \"6\",\n    \"withdrawalIntervalUnit\": \"MONTHS\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/withdrawal-scheme/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"withdrawal-scheme",
										""
									]
								},
								"description": "Adds new scheme to the system."
							},
							"response": []
						},
						{
							"name": "Delete a policy",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"name\": \"free_withdrawals\",\n    \"totalAllowedWithdrawals\": \"6\",\n    \"allowedDates\": \"1/2/2019,1/4/2019\",\n    \"penaltyRate\": \"0.5\",\n    \"maxAmountAllowed\": \"1000\",\n    \"emergencyAllowedWithdrawals\": \"2\",\n    \"withdrawalInterval\": \"6\",\n    \"withdrawalIntervalUnit\": \"WEEKS\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/withdrawal-scheme/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"withdrawal-scheme",
										"1",
										""
									]
								},
								"description": "Removes a withdrawal policy only if there is no account bound to it. Make sure no accounts used this policy before removing it"
							},
							"response": []
						}
					],
					"description": "Policies to control how frequency, interval,  a customer can withdraw from his/her account, \nFiters that can be apply to this api point {\"name\", \"totalAllowedWithdrawals\", \"maxAmountAllowed\"}\neg. /digisaver-acccount/withdrawal-scheme?name=\"\"\nTo delete a policy, make sure that policy is not used by any account. This indicate that first all the account using the policy must be update to use the new policy before the old policy can be delete. There is no api endpoint that specify how to remove policy from account because withdrawal policy is required by all accounts",
					"event": [
						{
							"listen": "prerequest",
							"script": {
								"id": "09d8090b-58ac-4ce9-8e2d-a9e7d9e18f67",
								"type": "text/javascript",
								"exec": [
									""
								]
							}
						},
						{
							"listen": "test",
							"script": {
								"id": "6569b3b7-09b2-4461-8807-e22d3dc0435e",
								"type": "text/javascript",
								"exec": [
									""
								]
							}
						}
					],
					"_postman_isSubFolder": true
				},
				{
					"name": "Savings Scheme",
					"item": [
						{
							"name": "Create new savings policy",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"name\":\"Wholesales deposits\",\n\t\"miniPrincipal\":\"1000\",\n\t\"minLumpsum\":\"2000\",\n\t\"savingsType\":\"SMART_SAVE\",\n    \"savingsFrequency\":\"WEEKLY\",\n    \"allowSwiftSave\":\"False\",\n    \"allowESave\":\"False\",\n    \"allowMultiple\":\"True\",\n    \"allowInterest\":\"True\",\n    \"minimumInvestPeriod\":\"2\",\n    \"minimumInvestPeriodUnit\":\"YEARS\"\n   \n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/savings-scheme/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"savings-scheme",
										""
									]
								},
								"description": "Adds new savings scheme to the system."
							},
							"response": []
						},
						{
							"name": "Update  savings policy",
							"request": {
								"method": "PATCH",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"name\":\"Tip coins deposits\",\n\t\"miniPrincipal\":\"1000\",\n\t\"minLumpsum\":\"2000\",\n\t\"savingsType\":\"SMART_SAVE\",\n    \"savingsFrequency\":\"WEEKLY\",\n    \"allowSwiftSave\":\"False\",\n    \"allowESave\":\"False\",\n    \"allowMultiple\":\"True\",\n    \"allowInterest\":\"True\",\n    \"minimumInvestPeriod\":\"2\",\n    \"minimumInvestPeriodUnit\":\"YEARS\",\n    \"interestScheme\": {\n    \t\"pk\":1\n    }\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/savings-scheme/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"savings-scheme",
										"1",
										""
									]
								},
								"description": "update existing savings scheme to the system."
							},
							"response": []
						},
						{
							"name": "List All Savings Scheme",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/savings-scheme/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"savings-scheme",
										""
									]
								},
								"description": "Fetch all savings schemes provided in the system"
							},
							"response": []
						},
						{
							"name": "Get Savings Scheme by Id",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/savings-scheme/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"savings-scheme",
										"1",
										""
									]
								},
								"description": "Fetch all savings schemes provided in the system"
							},
							"response": []
						},
						{
							"name": "Delete a Savings policy",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/savings-scheme/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"savings-scheme",
										"1",
										""
									]
								},
								"description": "Removes a savings policy only if there is no account bound to it. Make sure no accounts used this policy before removing it"
							},
							"response": []
						},
						{
							"name": "List All Savings Scheme with filter",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/savings-scheme?name=Tip coins deposits",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"savings-scheme"
									],
									"query": [
										{
											"key": "name",
											"value": "Tip coins deposits"
										}
									]
								},
								"description": "Fetch savings schemes by applying fiters with keys like {\"pk\",'name', 'miniPrincipal', 'minLumpsum', 'miniPrincipal', 'allowedCurrencies', 'minLumpsum', 'savingsType','savingsFrequency', 'allowSwiftSave', 'allowESave','allowMultiple', 'allowInterest', 'minimumInvestPeriod','minimumInvestPeriodUnit'}"
							},
							"response": []
						}
					],
					"description": "These are policies that are applied to a savings plan. This distinguishes a savings plan from another plan",
					"_postman_isSubFolder": true
				},
				{
					"name": "Savings Plan",
					"item": [
						{
							"name": "Create new savings plan",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzI1MzY0NCwiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzI1MzY0NH0.1C7xboGlPsqZwJUVrXZGKAiCJKjvZsWku088ximNxms"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"interestAccred\":\"0\",\n\t\"lumpSum\": \"20000\",\n\t\"savingsScheme_id\":1, \n\t\"account_id\":1,\n    \"aim\":{\n    \t\"name\":\"\",\n    \t\"targetDate\":\"2019-7-1\",\n    \t\"calculatedAmount\":\"10000000000\",\n    \t\"savingsFreq\":\"WEEKLY\"\n    },\n    \"plan_fundSource\":[{\n    \t\"sourceType\":\"EXTERNAL_BANK\",\n    \t\"info\":\"Blaaaaah Blaaaaah Blaaaaah\"\n    \t\n    }]\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/savings-plans/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"savings-plans",
										""
									]
								},
								"description": "Adds new savings scheme to the system."
							},
							"response": []
						},
						{
							"name": "Update savings plan",
							"request": {
								"method": "PATCH",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzI1MzY0NCwiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzI1MzY0NH0.1C7xboGlPsqZwJUVrXZGKAiCJKjvZsWku088ximNxms"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"interestAccred\":\"20\",\n\t\"lumpSum\": \"50000\",\n\t\"account_id\":1\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/savings-plans/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"savings-plans",
										"1",
										""
									]
								},
								"description": "Alters existing savings scheme to the system."
							},
							"response": []
						},
						{
							"name": "List all the savings  plan",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/savings-plans/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"savings-plans",
										""
									]
								},
								"description": "Adds new savings scheme to the system."
							},
							"response": []
						},
						{
							"name": "Get Savings Plan by Id",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/savings-plans/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"savings-plans",
										"1",
										""
									]
								},
								"description": "Get a single savings plan with the primary key"
							},
							"response": []
						},
						{
							"name": "Delete Savings Plan by Id",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/savings-plans/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"savings-plans",
										"1",
										""
									]
								},
								"description": "Removes savings plan with the primary key from the system"
							},
							"response": []
						},
						{
							"name": "List the savings  plan with filter",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/savings-plans?interestAccred=20",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"savings-plans"
									],
									"query": [
										{
											"key": "interestAccred",
											"value": "20"
										}
									]
								},
								"description": "Adds new savings scheme to the system."
							},
							"response": []
						}
					],
					"_postman_isSubFolder": true
				},
				{
					"name": "InterestScheme",
					"item": [
						{
							"name": "Create new Interest Calculation Policy",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n          \n            \"name\": \"Test interest\",\n            \"interestRate\": 0.4,\n            \"interestType\": \"SIMPLE_INTEREST\",\n            \"frequency\": \"MONTHLY\"\n        \n        }"
								},
								"url": {
									"raw": "http://localhost:8000/api/interest-scheme/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"interest-scheme",
										""
									]
								},
								"description": "This will create new policy in system"
							},
							"response": []
						},
						{
							"name": "Patch Interest Calculation Policy",
							"request": {
								"method": "PATCH",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n          \n            \"name\": \"Test interest\",\n            \"interestRate\": 0.4,\n            \"interestType\": \"SIMPLE_INTEREST\",\n            \"frequency\": \"MONTHLY\"\n        \n        }"
								},
								"url": {
									"raw": "http://localhost:8000/api/interest-scheme/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"interest-scheme",
										"1",
										""
									]
								},
								"description": "This will update the interest policy"
							},
							"response": []
						},
						{
							"name": "List All Interest Scheme",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"name\":\"Tip coins deposits\",\n\t\"miniPrincipal\":\"1000\",\n\t\"minLumpsum\":\"2000\",\n\t\"savingsType\":\"SMART_SAVE\",\n    \"savingsFrequency\":\"WEEKLY\",\n    \"allowSwiftSave\":\"False\",\n    \"allowESave\":\"False\",\n    \"allowMultiple\":\"True\",\n    \"allowInterest\":\"True\",\n    \"minimumInvestPeriod\":\"2\",\n     \"minimumInvestPeriodUnit\":\"YEARS\",\n    \"insterestScheme_id\":\"\",\n    \"interestScheme\": {\n    \t\"name\":\"micro interest scheme\",\n    \t\"interestRate\":\".4\",\n    \t\"interestType\":\"SIMPLE_INTEREST\",\n    \t\"frequency\":\"MONTHLY\"\n    }\t\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/interest-scheme/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"interest-scheme",
										""
									]
								},
								"description": "Fetch all interest calclation schemes provided in the system"
							},
							"response": []
						},
						{
							"name": "Get Interest Scheme by Id",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/interest-scheme/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"interest-scheme",
										"1",
										""
									]
								},
								"description": "Fetch a interest calclation schemes by the primary key (id)"
							},
							"response": []
						},
						{
							"name": "List All Interest Scheme with filter",
							"protocolProfileBehavior": {
								"disableBodyPruning": true
							},
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT  eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzEzODU5MywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzEzODU5M30.bSYkTiEopJu8m1rtGpdqaoRbDMejD9B6Q7AXsr1ej8A"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/interest-scheme?name=micro interest scheme",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"interest-scheme"
									],
									"query": [
										{
											"key": "name",
											"value": "micro interest scheme"
										}
									]
								},
								"description": "Fetch savings schemes by applying fiters with keys like {'name', 'miniPrincipal', 'minLumpsum', 'miniPrincipal', 'allowedCurrencies', 'minLumpsum', 'savingsType','savingsFrequency', 'allowSwiftSave', 'allowESave','allowMultiple', 'allowInterest', 'minimumInvestPeriod','minimumInvestPeriodUnit'}"
							},
							"response": []
						}
					],
					"description": "Create a interest calculation policy, which will apply to every savings plan. Base on that the interest is calclated by the rate, type and the frequency provided. ",
					"_postman_isSubFolder": true
				},
				{
					"name": "ReportScheme",
					"item": [
						{
							"name": "Create a reporting policy",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"name\":\"Customer Weekly Report Scheme\",\n    \"show_accountId\":\"True\",\n    \"show_accountType\":\"True\",\n    \"show_planType\":\"False\",\n    \"show_accountHolder\":\"True\",\n    \"show_transactions\":\"False\",\n    \"show_currentBalance\":\"True\",\n    \"show_interestScheme\":\"True\",\n    \"show_aim\":\"False\",\n    \"genFrequency\":\"WEEKLY\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/report-scheme/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"report-scheme",
										""
									]
								},
								"description": "Add a new reporting policy to the system"
							},
							"response": []
						},
						{
							"name": "Update reporting policy",
							"request": {
								"method": "PATCH",
								"header": [
									{
										"key": "Authorization",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"name\":\"Customer Weekly Report Scheme\",\n    \"show_accountId\":\"True\",\n    \"show_accountType\":\"True\",\n    \"show_planType\":\"True\",\n    \"show_accountHolder\":\"True\",\n    \"show_transactions\":\"True\",\n    \"show_currentBalance\":\"True\",\n    \"show_interestScheme\":\"True\",\n    \"show_aim\":\"True\",\n    \"genFrequency\":\"WEEKLY\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/report-scheme/3/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"report-scheme",
										"3",
										""
									]
								},
								"description": "Alter a reporting policy to the system"
							},
							"response": []
						},
						{
							"name": "Delete a  reporting policy Copy",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/report-scheme/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"report-scheme",
										"1",
										""
									]
								},
								"description": "Removes areporting policy to the system"
							},
							"response": []
						},
						{
							"name": "List All Report Policies",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/report-scheme/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"report-scheme",
										""
									]
								},
								"description": "get all reports in the system "
							},
							"response": []
						},
						{
							"name": "List Report Policies with filters",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/report-scheme? name=Customer Weekly Report Scheme&show_planType=true",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"report-scheme"
									],
									"query": [
										{
											"key": " name",
											"value": "Customer Weekly Report Scheme"
										},
										{
											"key": "show_planType",
											"value": "true"
										}
									]
								},
								"description": "get report scheme by specifying filters with keys { 'name', 'show_accountId', 'show_accountType', 'show_planType',\n                  'show_accountHolder', 'show_transactions', 'show_currentBalance',\n                  'show_interestScheme', 'show_aim', 'genFrequency', 'dateCreated'}"
							},
							"response": []
						}
					],
					"description": "Reporting policy used to control the information release per report ",
					"_postman_isSubFolder": true
				},
				{
					"name": "Root",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNTU2NTA5MTg2LCJlbWFpbCI6ImFkbWluQGRpZ2lzYXZlLm5nIiwib3JpZ19pYXQiOjE1NTY1MDYxODZ9.bB1SN-lReWoiBTUVSydv0AkCkcnREVWdD4T2dE_psns",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "http://localhost:8000/api/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								""
							]
						}
					},
					"response": []
				},
				{
					"name": "Set Agreement Note",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNTU2NTQyNDA0LCJlbWFpbCI6ImFkbWluQGRpZ2lzYXZlLm5nIiwib3JpZ19pYXQiOjE1NTY1Mzk0MDR9.MbN-8PHvb0Jn2wpH77TauVoSDDCcVSIUQpUTUC909ec",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"isSign\": \"False\",\n\t\"signature\": \"N.A\",\n\t\"message\": \"I agreed to all the terms and conditions\",\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/agreements/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"agreements",
								""
							],
							"query": [
								{
									"key": "",
									"value": ""
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Debugging",
			"item": [
				{
					"name": "Schema",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Authorization",
								"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"value": " application/coreapi+json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/coreapi+json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "http://localhost:8000/schema",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"schema"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Documents",
			"item": [
				{
					"name": "Upload Document",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Authorization",
								"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlcjVAZGlnaXNhdmUubmciLCJleHAiOjQ1NTY3NDAwODUsImVtYWlsIjoiY3lwaGVyNUBkaWdpc2F2ZS5uZyIsIm9yaWdfaWF0IjoxNTU2NzQwMDg1fQ.mv9dMq4NA6wsezRMhBamizf9eODsLV88An7cBx2rC7o",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/x-www-form-urlencoded",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "file",
									"type": "file",
									"src": ""
								},
								{
									"key": "purpose",
									"value": "profile",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "http://localhost:8000/api/files/manage/upload/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"files",
								"manage",
								"upload",
								""
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete Document",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Authorization",
								"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlcjVAZGlnaXNhdmUubmciLCJleHAiOjQ1NTY3NDY4OTAsImVtYWlsIjoiY3lwaGVyNUBkaWdpc2F2ZS5uZyIsIm9yaWdfaWF0IjoxNTU2NzQ2ODkwfQ.jE-rUs41CVEURl3UqlCBWOaMhTVzid1DbFS80bcZMrM",
								"type": "text"
							},
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"file\":\"/media/58PIC58PICa58PIC2xeck0FD9Cpeg_PIC2018.jpg\"\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/files/manage/1/delete_file/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"files",
								"manage",
								"1",
								"delete_file",
								""
							]
						}
					},
					"response": []
				},
				{
					"name": "Add Document Details",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"type": "text",
								"value": "application/json"
							},
							{
								"key": "Authorization",
								"type": "text",
								"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VybmFtZSI6ImN5cGhlcjFAZGlnaXNhdmUubmciLCJleHAiOjQ1NTY3NjA3MjMsImVtYWlsIjoiY3lwaGVyMUBkaWdpc2F2ZS5uZyIsIm9yaWdfaWF0IjoxNTU2NzYwNzIzfQ.oJ2nVLni8N8Lu5IQEIpJXYxlKbKFjBCw8yEFFF0P8jo"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"name\": \"document name\",\n\t\"file_hash\": \"sha $%@#$/fdjf0()*df908d09809\",\n\t\"purpose\": \"passport bio picture\", \n\t\"url\": \"/media/passport_user_1.jpg\"\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/documents/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"documents",
								""
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete Document Details",
					"request": {
						"method": "DELETE",
						"header": [
							{
								"key": "Authorization",
								"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlcjVAZGlnaXNhdmUubmciLCJleHAiOjQ1NTY3NTY0MTQsImVtYWlsIjoiY3lwaGVyNUBkaWdpc2F2ZS5uZyIsIm9yaWdfaWF0IjoxNTU2NzU2NDE0fQ.tRFTZveKQEh77Nd2fJTeTmiAmqgROf0-gmNWMhRrqHg",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": ""
						},
						"url": {
							"raw": "http://localhost:8000/api/account/documents/12/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"documents",
								"12",
								""
							]
						}
					},
					"response": []
				},
				{
					"name": "Update Document Details",
					"request": {
						"method": "PATCH",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Authorization",
								"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlcjVAZGlnaXNhdmUubmciLCJleHAiOjQ1NTY3NTY0MTQsImVtYWlsIjoiY3lwaGVyNUBkaWdpc2F2ZS5uZyIsIm9yaWdfaWF0IjoxNTU2NzU2NDE0fQ.tRFTZveKQEh77Nd2fJTeTmiAmqgROf0-gmNWMhRrqHg",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"name\": \"document name 14\",\n\t\"file_hash\": \"sha $%@#$/fdjf0()*df908d09809\",\n\t\"purpose\": \"passport bio picture\", \n\t\"url\": \"/media/passport_user_1.jpg\"\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/documents/14/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"documents",
								"14",
								""
							]
						}
					},
					"response": []
				},
				{
					"name": "Get User Document details ",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Content-Type",
								"name": "Content-Type",
								"type": "text",
								"value": "application/json"
							},
							{
								"key": "Authorization",
								"type": "text",
								"value": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyLCJ1c2VybmFtZSI6ImN5cGhlcjFAZGlnaXNhdmUubmciLCJleHAiOjQ1NTY3NTkyOTAsImVtYWlsIjoiY3lwaGVyMUBkaWdpc2F2ZS5uZyIsIm9yaWdfaWF0IjoxNTU2NzU5MjkwfQ.GdoI-9MgKaQPfiqi-xGk44cyx37_a3cio3aWEkcs4Bo"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"name\": \"document name\",\n\t\"file_hash\": \"sha $%@#$/fdjf0()*df908d09809\",\n\t\"purpose\": \"passport bio picture\", \n\t\"url\": \"/media/passport_user_1.jpg\"\n}"
						},
						"url": {
							"raw": "http://localhost:8000/api/account/documents/",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "8000",
							"path": [
								"api",
								"account",
								"documents",
								""
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "System",
			"item": [
				{
					"name": "Employee",
					"item": [
						{
							"name": "List all Employees in the system",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/employee/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"employee",
										""
									]
								}
							},
							"response": []
						},
						{
							"name": "List Employees with filter",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/employee?workId=DSE0001",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"employee"
									],
									"query": [
										{
											"key": "workId",
											"value": "DSE0001"
										}
									]
								},
								"description": "Search for employee with filter by keys {'workId', 'type', 'employedDate',}"
							},
							"response": []
						},
						{
							"name": "Create Employee from existing user",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"workId\":\"DSE0001\",\n\t\"user_id\":\"1\",\n\t\"branch_id\":\"1\",\n\t\"type\":\"MANAGER\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/employee/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"employee",
										""
									]
								},
								"description": "The user must be already registered in the system. Employee is created with a default type \"OTHER\".  Other types like MANAGER, ACCOUNTANT AND SALES-PERSON can be specified"
							},
							"response": []
						},
						{
							"name": "Delete Employee",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/employee/1/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"employee",
										"1",
										""
									]
								},
								"description": "Removes employee details from the system, hence reducing priviliges"
							},
							"response": []
						}
					],
					"description": "Api endpoint for employee queries",
					"_postman_isSubFolder": true
				},
				{
					"name": "Branch",
					"item": [
						{
							"name": "List all Digisaver Branches",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/branch/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"branch",
										""
									]
								},
								"description": "List all branches without filter"
							},
							"response": []
						},
						{
							"name": "List Branch with filter",
							"request": {
								"method": "GET",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/branch?name=Lake-Side Branch",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"branch"
									],
									"query": [
										{
											"key": "name",
											"value": "Lake-Side Branch"
										}
									]
								},
								"description": "Search for a branch with filter by keys {\"name\", 'location', 'dateCreated', 'createdBy'}"
							},
							"response": []
						},
						{
							"name": "Create Digisaver Branch",
							"request": {
								"method": "POST",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"name\":\"Ojuola market Branch\",\n\t\"location\":\"Opposite metro airport, Wale st., Ilenu Building\"\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/branch/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"branch",
										""
									]
								},
								"description": "List all branches without filter"
							},
							"response": []
						},
						{
							"name": "Update Branch details",
							"request": {
								"method": "PATCH",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"name\":\"Melani Branch\"\n\t\n}"
								},
								"url": {
									"raw": "http://localhost:8000/api/branch/2/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"branch",
										"2",
										""
									]
								}
							},
							"response": []
						},
						{
							"name": "Delete a Branch",
							"request": {
								"method": "DELETE",
								"header": [
									{
										"key": "Authorization",
										"type": "text",
										"value": "JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJ1c2VybmFtZSI6ImN5cGhlckBkaWdpc2F2ZS5uZyIsImV4cCI6NDU1NzAxNTgwMywiZW1haWwiOiJjeXBoZXJAZGlnaXNhdmUubmciLCJvcmlnX2lhdCI6MTU1NzAxNTgwM30.3vleS332wm0PU6z9hQxOH8EJ25ElJZbtCuOIL677qTo"
									},
									{
										"key": "Content-Type",
										"name": "Content-Type",
										"type": "text",
										"value": "application/json"
									}
								],
								"body": {
									"mode": "raw",
									"raw": ""
								},
								"url": {
									"raw": "http://localhost:8000/api/branch/2/",
									"protocol": "http",
									"host": [
										"localhost"
									],
									"port": "8000",
									"path": [
										"api",
										"branch",
										"2",
										""
									]
								},
								"description": "This delete a branch and its all related data from the system. Please execute this query with care. It removes all accounts, savings plans, and employees from the system. This is due to the cascade deletion of DTO's. Warning: don't ever use this query"
							},
							"response": []
						}
					],
					"description": "Api endpoint for Brach queries",
					"_postman_isSubFolder": true
				}
			],
			"description": "Api point for core system related entities"
		}
	]
}