Created
September 8, 2018 07:21
-
-
Save shahryarjb/93ea9c6b98fb9df3c054403eadc705aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"info": { | |
"_postman_id": "7a1ee87d-9682-de69-071f-9c5e83957ce7", | |
"name": "PG Rest", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "PaymentRequest", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"MerchantID\" : \"5344db9c-c398-4b62-9c69-03525ee8a9d4\",\n \"Amount\" : \"100\",\n \"CallbackURL\" : \"http://www.example.com\",\n \"Description\" : \"توضیحات تراکنش\",\n \"Email\" : \"dev@example.com\",\n \"Mobile\" : \"09000000000\"\n}" | |
}, | |
"url": { | |
"raw": "https://www.zarinpal.com/pg/rest/WebGate/PaymentRequest.json", | |
"protocol": "https", | |
"host": [ | |
"www", | |
"zarinpal", | |
"com" | |
], | |
"path": [ | |
"pg", | |
"rest", | |
"WebGate", | |
"PaymentRequest.json" | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"id": "b3f4633e-8f38-4d88-ab18-b2fd703133cb", | |
"name": "test", | |
"originalRequest": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Cache-Control", | |
"name": "Cache-Control", | |
"value": "no-cache" | |
}, | |
{ | |
"key": "Postman-Token", | |
"name": "Postman-Token", | |
"value": "17f9bbd6-c3c3-1aa9-f7ab-49a287ba5c97" | |
} | |
], | |
"body": { | |
"mode": "formdata", | |
"formdata": [ | |
"{", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"M", | |
"e", | |
"r", | |
"c", | |
"h", | |
"a", | |
"n", | |
"t", | |
"I", | |
"D", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"5", | |
"0", | |
"6", | |
"f", | |
"d", | |
"7", | |
"5", | |
"9", | |
"-", | |
"5", | |
"6", | |
"d", | |
"4", | |
"-", | |
"4", | |
"c", | |
"b", | |
"d", | |
"-", | |
"a", | |
"6", | |
"a", | |
"a", | |
"-", | |
"3", | |
"b", | |
"3", | |
"3", | |
"5", | |
"e", | |
"e", | |
"8", | |
"a", | |
"e", | |
"b", | |
"5", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"A", | |
"m", | |
"o", | |
"u", | |
"n", | |
"t", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"1", | |
"0", | |
"0", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"C", | |
"a", | |
"l", | |
"l", | |
"b", | |
"a", | |
"c", | |
"k", | |
"U", | |
"R", | |
"L", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"t", | |
"e", | |
"s", | |
"t", | |
".", | |
"c", | |
"o", | |
"m", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"D", | |
"e", | |
"s", | |
"c", | |
"r", | |
"i", | |
"p", | |
"t", | |
"i", | |
"o", | |
"n", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"ت", | |
"و", | |
"ض", | |
"ی", | |
"ح", | |
"ا", | |
"ت", | |
" ", | |
"ت", | |
"ر", | |
"ا", | |
"ک", | |
"ن", | |
"ش", | |
" ", | |
"ت", | |
"س", | |
"ت", | |
"ی", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"E", | |
"m", | |
"a", | |
"i", | |
"l", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"i", | |
"n", | |
"f", | |
"o", | |
".", | |
"d", | |
"a", | |
"v", | |
"a", | |
"r", | |
"i", | |
"+", | |
"z", | |
"a", | |
"r", | |
"i", | |
"n", | |
"p", | |
"a", | |
"l", | |
"_", | |
"t", | |
"e", | |
"s", | |
"t", | |
"@", | |
"g", | |
"m", | |
"a", | |
"i", | |
"l", | |
".", | |
"c", | |
"o", | |
"m", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"M", | |
"o", | |
"b", | |
"i", | |
"l", | |
"e", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"0", | |
"9", | |
"3", | |
"5", | |
"1", | |
"3", | |
"0", | |
"9", | |
"6", | |
"2", | |
"6", | |
"\"", | |
"\n", | |
"\n", | |
"}" | |
] | |
}, | |
"url": { | |
"raw": "http://pg.zarinpal.app/pg/wabGateRest/PaymentRequest", | |
"protocol": "http", | |
"host": [ | |
"pg", | |
"zarinpal", | |
"app" | |
], | |
"path": [ | |
"pg", | |
"wabGateRest", | |
"PaymentRequest" | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "javascript", | |
"header": [ | |
{ | |
"name": "Cache-Control", | |
"key": "Cache-Control", | |
"value": "no-cache", | |
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds" | |
}, | |
{ | |
"name": "Connection", | |
"key": "Connection", | |
"value": "close", | |
"description": "Options that are desired for the connection" | |
}, | |
{ | |
"name": "Content-Length", | |
"key": "Content-Length", | |
"value": "65", | |
"description": "The length of the response body in octets (8-bit bytes)" | |
}, | |
{ | |
"name": "Content-Type", | |
"key": "Content-Type", | |
"value": "application/json", | |
"description": "The mime type of this content" | |
}, | |
{ | |
"name": "Date", | |
"key": "Date", | |
"value": "Mon, 14 Mar 2016 07:55:58 GMT", | |
"description": "The date and time that the message was sent" | |
}, | |
{ | |
"name": "Server", | |
"key": "Server", | |
"value": "Apache/2.4.10 (Debian)", | |
"description": "A name for the server" | |
} | |
], | |
"cookie": [], | |
"body": "{\"Status\":100,\"Authority\":\"000000000000000000000000000000000025\"}" | |
} | |
] | |
}, | |
{ | |
"name": "PaymentRequestWithExtra", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"MerchantID\" : \"faede780-5eb3-11e6-9de2-000c295eb8fc\",\n \"Amount\" : \"100\",\n \"CallbackURL\" : \"http://www.example.com\",\n \"Description\" : \"توضیحات تراکنش\",\n \"Email\" : \"dev@example.com\",\n \"Mobile\" : \"09000000000\",\n \"AdditionalData\" : {\n \"Wages\": \n {\n \"ZP.1.1\":{\n \"Amount\":10.6,\n \"Description\":\"درآمد حاصل از فروش فایل با عنوان «Test»\"\n }\n }\n }\n\n}" | |
}, | |
"url": { | |
"raw": "https://www.zarinpal.com/pg/rest/WebGate/PaymentRequestWithExtra.json", | |
"protocol": "https", | |
"host": [ | |
"www", | |
"zarinpal", | |
"com" | |
], | |
"path": [ | |
"pg", | |
"rest", | |
"WebGate", | |
"PaymentRequestWithExtra.json" | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"id": "7b65f137-31a5-4b19-b9dc-723265a04a00", | |
"name": "test", | |
"originalRequest": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Cache-Control", | |
"name": "Cache-Control", | |
"value": "no-cache" | |
}, | |
{ | |
"key": "Postman-Token", | |
"name": "Postman-Token", | |
"value": "baaa54b1-a636-a0ea-73dd-200427fc8b1b" | |
} | |
], | |
"body": { | |
"mode": "formdata", | |
"formdata": [ | |
"{", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"M", | |
"e", | |
"r", | |
"c", | |
"h", | |
"a", | |
"n", | |
"t", | |
"I", | |
"D", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"5", | |
"0", | |
"6", | |
"f", | |
"d", | |
"7", | |
"5", | |
"9", | |
"-", | |
"5", | |
"6", | |
"d", | |
"4", | |
"-", | |
"4", | |
"c", | |
"b", | |
"d", | |
"-", | |
"a", | |
"6", | |
"a", | |
"a", | |
"-", | |
"3", | |
"b", | |
"3", | |
"3", | |
"5", | |
"e", | |
"e", | |
"8", | |
"a", | |
"e", | |
"b", | |
"5", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"A", | |
"m", | |
"o", | |
"u", | |
"n", | |
"t", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"1", | |
"0", | |
"0", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"C", | |
"a", | |
"l", | |
"l", | |
"b", | |
"a", | |
"c", | |
"k", | |
"U", | |
"R", | |
"L", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"t", | |
"e", | |
"s", | |
"t", | |
".", | |
"c", | |
"o", | |
"m", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"D", | |
"e", | |
"s", | |
"c", | |
"r", | |
"i", | |
"p", | |
"t", | |
"i", | |
"o", | |
"n", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"ت", | |
"و", | |
"ض", | |
"ی", | |
"ح", | |
"ا", | |
"ت", | |
" ", | |
"ت", | |
"ر", | |
"ا", | |
"ک", | |
"ن", | |
"ش", | |
" ", | |
"ت", | |
"س", | |
"ت", | |
"ی", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"E", | |
"m", | |
"a", | |
"i", | |
"l", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"i", | |
"n", | |
"f", | |
"o", | |
".", | |
"d", | |
"a", | |
"v", | |
"a", | |
"r", | |
"i", | |
"+", | |
"z", | |
"a", | |
"r", | |
"i", | |
"n", | |
"p", | |
"a", | |
"l", | |
"_", | |
"t", | |
"e", | |
"s", | |
"t", | |
"@", | |
"g", | |
"m", | |
"a", | |
"i", | |
"l", | |
".", | |
"c", | |
"o", | |
"m", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"M", | |
"o", | |
"b", | |
"i", | |
"l", | |
"e", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"0", | |
"9", | |
"3", | |
"5", | |
"1", | |
"3", | |
"0", | |
"9", | |
"6", | |
"2", | |
"6", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"A", | |
"d", | |
"d", | |
"i", | |
"t", | |
"i", | |
"o", | |
"n", | |
"a", | |
"l", | |
"D", | |
"a", | |
"t", | |
"a", | |
"\"", | |
" ", | |
":", | |
" ", | |
"{", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"W", | |
"a", | |
"g", | |
"e", | |
"s", | |
"\"", | |
":", | |
" ", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
"{", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"Z", | |
"P", | |
".", | |
"1", | |
".", | |
"1", | |
"\"", | |
":", | |
"{", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"A", | |
"m", | |
"o", | |
"u", | |
"n", | |
"t", | |
"\"", | |
":", | |
"1", | |
"0", | |
".", | |
"6", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"D", | |
"e", | |
"s", | |
"c", | |
"r", | |
"i", | |
"p", | |
"t", | |
"i", | |
"o", | |
"n", | |
"\"", | |
":", | |
"\"", | |
"د", | |
"ر", | |
"آ", | |
"م", | |
"د", | |
" ", | |
"ح", | |
"ا", | |
"ص", | |
"ل", | |
" ", | |
"ا", | |
"ز", | |
" ", | |
"ف", | |
"ر", | |
"و", | |
"ش", | |
" ", | |
"ف", | |
"ا", | |
"ی", | |
"ل", | |
" ", | |
"ب", | |
"ا", | |
" ", | |
"ع", | |
"ن", | |
"و", | |
"ا", | |
"ن", | |
" ", | |
"«", | |
"T", | |
"e", | |
"s", | |
"t", | |
"»", | |
"\"", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
"}", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"Z", | |
"P", | |
".", | |
"1", | |
"0", | |
"7", | |
"5", | |
"7", | |
".", | |
"1", | |
"\"", | |
":", | |
"{", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"A", | |
"m", | |
"o", | |
"u", | |
"n", | |
"t", | |
"\"", | |
":", | |
"1", | |
"0", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"D", | |
"e", | |
"s", | |
"c", | |
"r", | |
"i", | |
"p", | |
"t", | |
"i", | |
"o", | |
"n", | |
"\"", | |
":", | |
"\"", | |
"د", | |
"ر", | |
"آ", | |
"م", | |
"د", | |
" ", | |
"ح", | |
"ا", | |
"ص", | |
"ل", | |
" ", | |
"ا", | |
"ز", | |
" ", | |
"ف", | |
"ر", | |
"و", | |
"ش", | |
" ", | |
"ف", | |
"ا", | |
"ی", | |
"ل", | |
" ", | |
"ب", | |
"ا", | |
" ", | |
"ع", | |
"ن", | |
"و", | |
"ا", | |
"ن", | |
" ", | |
"«", | |
"T", | |
"e", | |
"s", | |
"t", | |
"»", | |
"\"", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
"}", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
" ", | |
"}", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"}", | |
"\n", | |
"\n", | |
"}" | |
] | |
}, | |
"url": { | |
"raw": "http://pg.zarinpal.app/pg/wabGateRest/PaymentRequestWithExtra", | |
"protocol": "http", | |
"host": [ | |
"pg", | |
"zarinpal", | |
"app" | |
], | |
"path": [ | |
"pg", | |
"wabGateRest", | |
"PaymentRequestWithExtra" | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "javascript", | |
"header": [ | |
{ | |
"name": "Cache-Control", | |
"key": "Cache-Control", | |
"value": "no-cache", | |
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds" | |
}, | |
{ | |
"name": "Connection", | |
"key": "Connection", | |
"value": "close", | |
"description": "Options that are desired for the connection" | |
}, | |
{ | |
"name": "Content-Length", | |
"key": "Content-Length", | |
"value": "65", | |
"description": "The length of the response body in octets (8-bit bytes)" | |
}, | |
{ | |
"name": "Content-Type", | |
"key": "Content-Type", | |
"value": "application/json", | |
"description": "The mime type of this content" | |
}, | |
{ | |
"name": "Date", | |
"key": "Date", | |
"value": "Mon, 14 Mar 2016 08:10:40 GMT", | |
"description": "The date and time that the message was sent" | |
}, | |
{ | |
"name": "Server", | |
"key": "Server", | |
"value": "Apache/2.4.10 (Debian)", | |
"description": "A name for the server" | |
} | |
], | |
"cookie": [], | |
"body": "{\"Status\":100,\"Authority\":\"000000000000000000000000000000000027\"}" | |
} | |
] | |
}, | |
{ | |
"name": "PaymentVerification", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"MerchantID\" : \"5344db9c-c398-4b62-9c69-03525ee8a9d4\",\n \"Amount\" : \"100\",\n \"Authority\": \"000000000000000000000000000000005839\"\n}" | |
}, | |
"url": { | |
"raw": "https://www.zarinpal.com/pg/rest/WebGate/PaymentVerification.json", | |
"protocol": "https", | |
"host": [ | |
"www", | |
"zarinpal", | |
"com" | |
], | |
"path": [ | |
"pg", | |
"rest", | |
"WebGate", | |
"PaymentVerification.json" | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"id": "447159a6-9565-4a38-8760-e09fa43cc69d", | |
"name": "test", | |
"originalRequest": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Cache-Control", | |
"name": "Cache-Control", | |
"value": "no-cache" | |
}, | |
{ | |
"key": "Postman-Token", | |
"name": "Postman-Token", | |
"value": "d80fc2eb-a401-3cdb-a6d4-09712b41c1be" | |
} | |
], | |
"body": { | |
"mode": "formdata", | |
"formdata": [ | |
"{", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"M", | |
"e", | |
"r", | |
"c", | |
"h", | |
"a", | |
"n", | |
"t", | |
"I", | |
"D", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"5", | |
"0", | |
"6", | |
"f", | |
"d", | |
"7", | |
"5", | |
"9", | |
"-", | |
"5", | |
"6", | |
"d", | |
"4", | |
"-", | |
"4", | |
"c", | |
"b", | |
"d", | |
"-", | |
"a", | |
"6", | |
"a", | |
"a", | |
"-", | |
"3", | |
"b", | |
"3", | |
"3", | |
"5", | |
"e", | |
"e", | |
"8", | |
"a", | |
"e", | |
"b", | |
"5", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"A", | |
"m", | |
"o", | |
"u", | |
"n", | |
"t", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"1", | |
"0", | |
"0", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"A", | |
"u", | |
"t", | |
"h", | |
"o", | |
"r", | |
"i", | |
"t", | |
"y", | |
"\"", | |
":", | |
" ", | |
"\"", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"3", | |
"0", | |
"\"", | |
"\n", | |
"}" | |
] | |
}, | |
"url": { | |
"raw": "http://pg.zarinpal.app/pg/wabGateRest/PaymentVerification", | |
"protocol": "http", | |
"host": [ | |
"pg", | |
"zarinpal", | |
"app" | |
], | |
"path": [ | |
"pg", | |
"wabGateRest", | |
"PaymentVerification" | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "javascript", | |
"header": [ | |
{ | |
"name": "Cache-Control", | |
"key": "Cache-Control", | |
"value": "no-cache", | |
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds" | |
}, | |
{ | |
"name": "Connection", | |
"key": "Connection", | |
"value": "close", | |
"description": "Options that are desired for the connection" | |
}, | |
{ | |
"name": "Content-Length", | |
"key": "Content-Length", | |
"value": "33", | |
"description": "The length of the response body in octets (8-bit bytes)" | |
}, | |
{ | |
"name": "Content-Type", | |
"key": "Content-Type", | |
"value": "application/json", | |
"description": "The mime type of this content" | |
}, | |
{ | |
"name": "Date", | |
"key": "Date", | |
"value": "Mon, 14 Mar 2016 09:23:37 GMT", | |
"description": "The date and time that the message was sent" | |
}, | |
{ | |
"name": "Server", | |
"key": "Server", | |
"value": "Apache/2.4.10 (Debian)", | |
"description": "A name for the server" | |
} | |
], | |
"cookie": [], | |
"body": "{\"Status\":100,\"RefID\":2363000234}" | |
} | |
] | |
}, | |
{ | |
"name": "PaymentVerificationWithExtra", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"MerchantID\" : \"4ced0a1e-4ad8-4309-9668-3ea3ae8e8897\",\n \"Amount\" : \"5000\",\n \"Authority\": \"000000000000000000000000000071213069\"\n}" | |
}, | |
"url": { | |
"raw": "https://www.zarinpal.com/pg/rest/WebGate/PaymentVerificationWithExtra.json", | |
"protocol": "https", | |
"host": [ | |
"www", | |
"zarinpal", | |
"com" | |
], | |
"path": [ | |
"pg", | |
"rest", | |
"WebGate", | |
"PaymentVerificationWithExtra.json" | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"id": "c5953e03-dd93-4cc1-bf36-0b2b15059ac8", | |
"name": "test", | |
"originalRequest": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Cache-Control", | |
"name": "Cache-Control", | |
"value": "no-cache" | |
}, | |
{ | |
"key": "Postman-Token", | |
"name": "Postman-Token", | |
"value": "274d3304-6e87-6add-402c-384e08c73eff" | |
} | |
], | |
"body": { | |
"mode": "formdata", | |
"formdata": [ | |
"{", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"M", | |
"e", | |
"r", | |
"c", | |
"h", | |
"a", | |
"n", | |
"t", | |
"I", | |
"D", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"5", | |
"0", | |
"6", | |
"f", | |
"d", | |
"7", | |
"5", | |
"9", | |
"-", | |
"5", | |
"6", | |
"d", | |
"4", | |
"-", | |
"4", | |
"c", | |
"b", | |
"d", | |
"-", | |
"a", | |
"6", | |
"a", | |
"a", | |
"-", | |
"3", | |
"b", | |
"3", | |
"3", | |
"5", | |
"e", | |
"e", | |
"8", | |
"a", | |
"e", | |
"b", | |
"5", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"A", | |
"m", | |
"o", | |
"u", | |
"n", | |
"t", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"1", | |
"0", | |
"0", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"A", | |
"u", | |
"t", | |
"h", | |
"o", | |
"r", | |
"i", | |
"t", | |
"y", | |
"\"", | |
":", | |
" ", | |
"\"", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"3", | |
"0", | |
"\"", | |
"\n", | |
"}" | |
] | |
}, | |
"url": { | |
"raw": "http://pg.zarinpal.app/pg/wabGateRest/PaymentVerificationWithExtra", | |
"protocol": "http", | |
"host": [ | |
"pg", | |
"zarinpal", | |
"app" | |
], | |
"path": [ | |
"pg", | |
"wabGateRest", | |
"PaymentVerificationWithExtra" | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "javascript", | |
"header": [ | |
{ | |
"name": "Cache-Control", | |
"key": "Cache-Control", | |
"value": "no-cache", | |
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds" | |
}, | |
{ | |
"name": "Connection", | |
"key": "Connection", | |
"value": "close", | |
"description": "Options that are desired for the connection" | |
}, | |
{ | |
"name": "Content-Length", | |
"key": "Content-Length", | |
"value": "154", | |
"description": "The length of the response body in octets (8-bit bytes)" | |
}, | |
{ | |
"name": "Content-Type", | |
"key": "Content-Type", | |
"value": "application/json", | |
"description": "The mime type of this content" | |
}, | |
{ | |
"name": "Date", | |
"key": "Date", | |
"value": "Mon, 14 Mar 2016 09:25:41 GMT", | |
"description": "The date and time that the message was sent" | |
}, | |
{ | |
"name": "Server", | |
"key": "Server", | |
"value": "Apache/2.4.10 (Debian)", | |
"description": "A name for the server" | |
} | |
], | |
"cookie": [], | |
"body": "{\"Status\":101,\"RefID\":2363000234,\"ExtraDetail\":\"{\\\"Transaction\\\":{\\\"CardPanHash\\\":\\\"840EB81E22FBD3ECEDE7FF2436E7C92357F76D29C2219458BD204B29BC077D88\\\"}}\"}" | |
} | |
] | |
}, | |
{ | |
"name": "UnverifiedTransactions", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"MerchantID\" : \"c9d6990e-fdb3-11e6-9f78-005056a205be\"\n}" | |
}, | |
"url": { | |
"raw": "https://www.zarinpal.com/pg/rest/WebGate/UnverifiedTransactions.json", | |
"protocol": "https", | |
"host": [ | |
"www", | |
"zarinpal", | |
"com" | |
], | |
"path": [ | |
"pg", | |
"rest", | |
"WebGate", | |
"UnverifiedTransactions.json" | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"id": "c75e2514-2c34-4662-8055-23f006027a05", | |
"name": "test", | |
"originalRequest": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Cache-Control", | |
"name": "Cache-Control", | |
"value": "no-cache" | |
}, | |
{ | |
"key": "Postman-Token", | |
"name": "Postman-Token", | |
"value": "aa7c99ed-2654-b73a-f8a9-21063e94bbe0" | |
} | |
], | |
"body": { | |
"mode": "formdata", | |
"formdata": [ | |
"{", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"M", | |
"e", | |
"r", | |
"c", | |
"h", | |
"a", | |
"n", | |
"t", | |
"I", | |
"D", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"5", | |
"0", | |
"6", | |
"f", | |
"d", | |
"7", | |
"5", | |
"9", | |
"-", | |
"5", | |
"6", | |
"d", | |
"4", | |
"-", | |
"4", | |
"c", | |
"b", | |
"d", | |
"-", | |
"a", | |
"6", | |
"a", | |
"a", | |
"-", | |
"3", | |
"b", | |
"3", | |
"3", | |
"5", | |
"e", | |
"e", | |
"8", | |
"a", | |
"e", | |
"b", | |
"5", | |
"\"", | |
"\n", | |
"}" | |
] | |
}, | |
"url": { | |
"raw": "http://pg.zarinpal.app/pg/wabGateRest/UnverifiedTransactions", | |
"protocol": "http", | |
"host": [ | |
"pg", | |
"zarinpal", | |
"app" | |
], | |
"path": [ | |
"pg", | |
"wabGateRest", | |
"UnverifiedTransactions" | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "javascript", | |
"header": [ | |
{ | |
"name": "Cache-Control", | |
"key": "Cache-Control", | |
"value": "no-cache", | |
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds" | |
}, | |
{ | |
"name": "Connection", | |
"key": "Connection", | |
"value": "close", | |
"description": "Options that are desired for the connection" | |
}, | |
{ | |
"name": "Content-Length", | |
"key": "Content-Length", | |
"value": "33", | |
"description": "The length of the response body in octets (8-bit bytes)" | |
}, | |
{ | |
"name": "Content-Type", | |
"key": "Content-Type", | |
"value": "application/json", | |
"description": "The mime type of this content" | |
}, | |
{ | |
"name": "Date", | |
"key": "Date", | |
"value": "Mon, 14 Mar 2016 09:27:25 GMT", | |
"description": "The date and time that the message was sent" | |
}, | |
{ | |
"name": "Server", | |
"key": "Server", | |
"value": "Apache/2.4.10 (Debian)", | |
"description": "A name for the server" | |
} | |
], | |
"cookie": [], | |
"body": "{\"Status\":100,\"Authorities\":\"[]\"}" | |
}, | |
{ | |
"id": "e725e830-9ab2-40f5-aedb-83cdadf2b52f", | |
"name": "test1", | |
"originalRequest": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Cache-Control", | |
"name": "Cache-Control", | |
"value": "no-cache" | |
}, | |
{ | |
"key": "Postman-Token", | |
"name": "Postman-Token", | |
"value": "ccb8ebc6-6b66-e77a-c193-0d3d81dcf82c" | |
} | |
], | |
"body": { | |
"mode": "formdata", | |
"formdata": [ | |
"{", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"M", | |
"e", | |
"r", | |
"c", | |
"h", | |
"a", | |
"n", | |
"t", | |
"I", | |
"D", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"5", | |
"0", | |
"6", | |
"f", | |
"d", | |
"7", | |
"5", | |
"9", | |
"-", | |
"5", | |
"6", | |
"d", | |
"4", | |
"-", | |
"4", | |
"c", | |
"b", | |
"d", | |
"-", | |
"a", | |
"6", | |
"a", | |
"a", | |
"-", | |
"3", | |
"b", | |
"3", | |
"3", | |
"5", | |
"e", | |
"e", | |
"8", | |
"a", | |
"e", | |
"b", | |
"5", | |
"\"", | |
"\n", | |
"}" | |
] | |
}, | |
"url": { | |
"raw": "http://pg.zarinpal.app/pg/wabGateRest/UnverifiedTransactions", | |
"protocol": "http", | |
"host": [ | |
"pg", | |
"zarinpal", | |
"app" | |
], | |
"path": [ | |
"pg", | |
"wabGateRest", | |
"UnverifiedTransactions" | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "javascript", | |
"header": [ | |
{ | |
"name": "Cache-Control", | |
"key": "Cache-Control", | |
"value": "no-cache", | |
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds" | |
}, | |
{ | |
"name": "Connection", | |
"key": "Connection", | |
"value": "close", | |
"description": "Options that are desired for the connection" | |
}, | |
{ | |
"name": "Content-Length", | |
"key": "Content-Length", | |
"value": "680", | |
"description": "The length of the response body in octets (8-bit bytes)" | |
}, | |
{ | |
"name": "Content-Type", | |
"key": "Content-Type", | |
"value": "application/json", | |
"description": "The mime type of this content" | |
}, | |
{ | |
"name": "Date", | |
"key": "Date", | |
"value": "Mon, 14 Mar 2016 09:33:22 GMT", | |
"description": "The date and time that the message was sent" | |
}, | |
{ | |
"name": "Server", | |
"key": "Server", | |
"value": "Apache/2.4.10 (Debian)", | |
"description": "A name for the server" | |
} | |
], | |
"cookie": [], | |
"body": "{\"Status\":100,\"Authorities\":[{\"Authority\":\"000000000000000000000000000000000024\",\"Amount\":\"100\",\"Channel\":\"WebGate\",\"Referer\":\"http:\\/\\/pg.zarinpal.app:81\\/zarinpal_test\\/\",\"Email\":\"info.davari+zarinpal_test@gmail.com\",\"CellPhone\":\"09195523234\",\"Date\":\"2016-03-14 12:58:50\"},{\"Authority\":\"000000000000000000000000000000000030\",\"Amount\":\"100\",\"Channel\":\"WebGate\",\"Referer\":\"\",\"Email\":\"info.davari+zarinpal_test@gmail.com\",\"CellPhone\":\"09351309626\",\"Date\":\"2016-03-14 12:58:48\"},{\"Authority\":\"000000000000000000000000000000000030\",\"Amount\":\"100\",\"Channel\":\"WebGate\",\"Referer\":\"\",\"Email\":\"info.davari+zarinpal_test@gmail.com\",\"CellPhone\":\"09351309626\",\"Date\":\"2016-03-14 12:59:42\"}]}" | |
} | |
] | |
}, | |
{ | |
"name": "RefreshAuthority", | |
"request": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"value": "application/json" | |
} | |
], | |
"body": { | |
"mode": "raw", | |
"raw": "{\n \"MerchantID\" : \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n \"Authority\": \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\",\n \"ExpireIn\" : 1800\n}" | |
}, | |
"url": { | |
"raw": "https://www.zarinpal.com/pg/rest/WebGate/RefreshAuthority.json", | |
"protocol": "https", | |
"host": [ | |
"www", | |
"zarinpal", | |
"com" | |
], | |
"path": [ | |
"pg", | |
"rest", | |
"WebGate", | |
"RefreshAuthority.json" | |
] | |
} | |
}, | |
"response": [ | |
{ | |
"id": "33bfdfe2-949b-4266-bc24-bfbfebb66000", | |
"name": "test", | |
"originalRequest": { | |
"method": "POST", | |
"header": [ | |
{ | |
"key": "Content-Type", | |
"name": "Content-Type", | |
"value": "application/json" | |
}, | |
{ | |
"key": "Cache-Control", | |
"name": "Cache-Control", | |
"value": "no-cache" | |
}, | |
{ | |
"key": "Postman-Token", | |
"name": "Postman-Token", | |
"value": "b8ae5db8-4d75-fa77-4a76-d2c968dfcefd" | |
} | |
], | |
"body": { | |
"mode": "formdata", | |
"formdata": [ | |
"{", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"M", | |
"e", | |
"r", | |
"c", | |
"h", | |
"a", | |
"n", | |
"t", | |
"I", | |
"D", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"5", | |
"0", | |
"6", | |
"f", | |
"d", | |
"7", | |
"5", | |
"9", | |
"-", | |
"5", | |
"6", | |
"d", | |
"4", | |
"-", | |
"4", | |
"c", | |
"b", | |
"d", | |
"-", | |
"a", | |
"6", | |
"a", | |
"a", | |
"-", | |
"3", | |
"b", | |
"3", | |
"3", | |
"5", | |
"e", | |
"e", | |
"8", | |
"a", | |
"e", | |
"b", | |
"5", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"A", | |
"u", | |
"t", | |
"h", | |
"o", | |
"r", | |
"i", | |
"t", | |
"y", | |
"\"", | |
" ", | |
":", | |
" ", | |
"\"", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"0", | |
"3", | |
"1", | |
"\"", | |
",", | |
"\n", | |
" ", | |
" ", | |
" ", | |
" ", | |
"\"", | |
"E", | |
"x", | |
"p", | |
"i", | |
"r", | |
"e", | |
"I", | |
"n", | |
"\"", | |
" ", | |
":", | |
" ", | |
"1", | |
"9", | |
"0", | |
"0", | |
"\n", | |
"}" | |
] | |
}, | |
"url": { | |
"raw": "http://pg.zarinpal.app/pg/wabGateRest/RefreshAuthority", | |
"protocol": "http", | |
"host": [ | |
"pg", | |
"zarinpal", | |
"app" | |
], | |
"path": [ | |
"pg", | |
"wabGateRest", | |
"RefreshAuthority" | |
] | |
} | |
}, | |
"status": "OK", | |
"code": 200, | |
"_postman_previewlanguage": "javascript", | |
"header": [ | |
{ | |
"name": "Cache-Control", | |
"key": "Cache-Control", | |
"value": "no-cache", | |
"description": "Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds" | |
}, | |
{ | |
"name": "Connection", | |
"key": "Connection", | |
"value": "close", | |
"description": "Options that are desired for the connection" | |
}, | |
{ | |
"name": "Content-Length", | |
"key": "Content-Length", | |
"value": "14", | |
"description": "The length of the response body in octets (8-bit bytes)" | |
}, | |
{ | |
"name": "Content-Type", | |
"key": "Content-Type", | |
"value": "application/json", | |
"description": "The mime type of this content" | |
}, | |
{ | |
"name": "Date", | |
"key": "Date", | |
"value": "Mon, 14 Mar 2016 09:36:42 GMT", | |
"description": "The date and time that the message was sent" | |
}, | |
{ | |
"name": "Server", | |
"key": "Server", | |
"value": "Apache/2.4.10 (Debian)", | |
"description": "A name for the server" | |
} | |
], | |
"cookie": [], | |
"body": "{\"Status\":100}" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment