{
	"info": {
		"_postman_id": "bf22747f-7f9b-41be-8689-2083e2a0274d",
		"name": "Modularity",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "16654022"
	},
	"item": [
		{
			"name": "עסקת חיוב - רגילה",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"pos_id\": \"9041051862\",\r\n    \"currency\": \"376\",\r\n    \"cred_type\": \"1\",\r\n    \"supplier\": \"szmc20201ch7\",\r\n    \"tranmode\": \"A\",\r\n    \"sum\": \"1\"\r\n}"
				},
				"url": {
					"raw": "https://secure5.tranzila.com/cgi-bin/tranzila71mdl.cgi",
					"protocol": "https",
					"host": [
						"secure5",
						"tranzila",
						"com"
					],
					"path": [
						"cgi-bin",
						"tranzila71mdl.cgi"
					]
				}
			},
			"response": []
		},
		{
			"name": "עסקת חיוב - תשלומים",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"name": "Content-Type",
						"type": "text",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"pos_id\": \"012\",\r\n    \"currency\": \"376\",\r\n    \"cred_type\": \"8\",\r\n    \"supplier\": \"elenatestemv\",\r\n    \"tranmode\": \"A\",\r\n    \"sum\": \"180\",\r\n    \"npay\": \"2\",\r\n    \"fpay\": \"60\",\r\n    \"spay\": \"60\",\r\n    \"user_param1\":\"test\"\r\n}\r\n",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://dev.secure5.tranzila.com/cgi-bin/tranzila71mdl.cgi",
					"protocol": "https",
					"host": [
						"dev",
						"secure5",
						"tranzila",
						"com"
					],
					"path": [
						"cgi-bin",
						"tranzila71mdl.cgi"
					]
				}
			},
			"response": []
		},
		{
			"name": "עסקת זיכוי",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"name": "Content-Type",
						"type": "text",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"pos_id\": \"015\",\r\n    \"currency\": \"376\",\r\n    \"cred_type\": \"1\",\r\n    \"supplier\": \"elenatestemv\",\r\n    \"tranmode\": \"C\",\r\n    \"sum\": \"9\",\r\n    \"user_param1\":\"test\"\r\n}\r\n",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://dev.secure5.tranzila.com/cgi-bin/tranzila71mdl.cgi",
					"protocol": "https",
					"host": [
						"dev",
						"secure5",
						"tranzila",
						"com"
					],
					"path": [
						"cgi-bin",
						"tranzila71mdl.cgi"
					]
				}
			},
			"response": []
		},
		{
			"name": "עסקת אילוץ",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var jsonData = JSON.parse(responseBody);",
							"pm.environment.set('authnr', jsonData.ConfirmationCode);",
							"pm.environment.set('source_index', jsonData.index);"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"name": "Content-Type",
						"type": "text",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"pos_id\": \"012\",\r\n    \"currency\": \"376\",\r\n    \"cred_type\": \"1\",\r\n    \"supplier\": \"elenatestemv\",\r\n    \"tranmode\": \"F\",\r\n    \"sum\": \"50\",\r\n    \"user_param1\":\"test\",\r\n    \"source_index\": \"1478\",\r\n    \"authnr\": \"0016468\"\r\n}\r\n",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://dev.secure5.tranzila.com/cgi-bin/tranzila71mdl.cgi",
					"protocol": "https",
					"host": [
						"dev",
						"secure5",
						"tranzila",
						"com"
					],
					"path": [
						"cgi-bin",
						"tranzila71mdl.cgi"
					]
				}
			},
			"response": []
		},
		{
			"name": "עסקת אימות",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"var jsonData = JSON.parse(responseBody);",
							"pm.environment.set('authnr', jsonData.ConfirmationCode);",
							"pm.environment.set('source_index', jsonData.index);"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"name": "Content-Type",
						"type": "text",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"pos_id\": \"012\",\r\n    \"currency\": \"376\",\r\n    \"cred_type\": \"1\",\r\n    \"supplier\": \"elenatestemv\",\r\n    \"tranmode\": \"V\",\r\n    \"sum\": \"3\",\r\n    \"user_param1\":\"test\"\r\n}\r\n",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://dev.secure5.tranzila.com/cgi-bin/tranzila71mdl.cgi",
					"protocol": "https",
					"host": [
						"dev",
						"secure5",
						"tranzila",
						"com"
					],
					"path": [
						"cgi-bin",
						"tranzila71mdl.cgi"
					]
				}
			},
			"response": []
		},
		{
			"name": "עסקת חיוב בקרדיט",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"name": "Content-Type",
						"type": "text",
						"value": "application/json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"pos_id\": \"012\",\r\n    \"currency\": \"376\",\r\n    \"cred_type\": \"6\",\r\n    \"supplier\": \"elenatestemv\",\r\n    \"tranmode\": \"A\",\r\n    \"sum\": \"190\",\r\n    \"npay\": \"3\",\r\n    \"user_param1\":\"test\"\r\n}\r\n",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://dev.secure5.tranzila.com/cgi-bin/tranzila71mdl.cgi",
					"protocol": "https",
					"host": [
						"dev",
						"secure5",
						"tranzila",
						"com"
					],
					"path": [
						"cgi-bin",
						"tranzila71mdl.cgi"
					]
				}
			},
			"response": []
		}
	]
}