repo
stringclasses
4 values
file_path
stringlengths
6
193
extension
stringclasses
30 values
content
stringlengths
0
5.21M
token_count
int64
0
3.8M
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario12-Failed case for wrong api keys/Payment Connector - Update/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario12-Failed case for wrong api keys/Payment Connector - Update/event.prerequest.js
.js
0
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n...
751
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/event.test.js
.js
// Validate status 4xx pm.test("[POST]::/payments - Status code is 4xx", function () { pm.response.to.be.error; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include( ...
538
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/event.prerequest.js
.js
pm.environment.set("random_number", _.random(1000, 100000));
23
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n...
761
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/event.test.js
.js
// Validate status 4xx pm.test("[POST]::/payments - Status code is 4xx", function () { pm.response.to.be.error; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include( ...
544
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/event.prerequest.js
.js
pm.environment.set("random_number", _.random(1000, 100000));
23
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n...
733
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/event.test.js
.js
pm.environment.set("random_number", _.random(1000, 100000)); // Validate status 4xx pm.test("[POST]::/payments - Status code is 4xx", function () { pm.response.to.be.error; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm...
563
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/event.prerequest.js
.js
pm.environment.set("random_number", _.random(1000, 100000));
23
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp Year)/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n...
761
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp Year)/event.test.js
.js
// Validate status 4xx pm.test("[POST]::/payments - Status code is 4xx", function () { pm.response.to.be.error; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include( ...
544
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp Year)/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp Year)/event.prerequest.js
.js
pm.environment.set("random_number", _.random(1000, 100000));
23
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Retrieve/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/payments/:id?force_sync=true", "host": ["{{baseUrl}}"], "path": ["payments", ":id"], "query": [ { "key": "force_sync", "value": "true" }...
175
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Retrieve/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/payments - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include(...
523
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Retrieve/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Retrieve-copy/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/payments/:id?force_sync=true", "host": ["{{baseUrl}}"], "path": ["payments", ":id"], "query": [ { "key": "force_sync", "value": "true" }...
175
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Retrieve-copy/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/payments - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include(...
503
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Retrieve-copy/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Create/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n...
759
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Create/event.test.js
.js
pm.environment.set("amount", pm.response.json().amount); // Validate status 2xx pm.test("[POST]::/payments - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.e...
535
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Create/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Create/event.prerequest.js
.js
pm.environment.set("random_number", _.random(1000, 100000));
23
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Capture/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount_to_capture\": {{amount}},\n \"statement_descriptor_name\": \"Joseph\",\n \"...
255
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Capture/event.test.js
.js
// Get the value of 'amount' from the environment const amount = pm.environment.get("amount"); // Validate status 2xx pm.test("[POST]::/payments/:id/capture - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test( "[POST]::/payments/:id/...
673
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Capture/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Capture/event.prerequest.js
.js
0
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Retrieve/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/payments/:id?force_sync=true", "host": ["{{baseUrl}}"], "path": ["payments", ":id"], "query": [ { "key": "force_sync", "value": "true" }...
175
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Retrieve/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/payments - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include(...
523
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Retrieve/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Retrieve-copy/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/payments/:id?force_sync=true", "host": ["{{baseUrl}}"], "path": ["payments", ":id"], "query": [ { "key": "force_sync", "value": "true" }...
175
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Retrieve-copy/event.test.js
.js
// Validate status 2xx pm.test("[GET]::/payments/:id - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[GET]::/payments/:id - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.in...
509
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Retrieve-copy/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Create/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n...
759
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Create/event.test.js
.js
pm.environment.set("random_number", _.random(1000, 100000)); // Validate status 2xx pm.test("[POST]::/payments - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { ...
546
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Create/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Create/event.prerequest.js
.js
pm.environment.set("random_number", _.random(1000, 100000));
23
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Cancel/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
225
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Cancel/event.test.js
.js
// Validate status 2xx or 4xx pm.test("[POST]::/payments/:id/capture - Status code is 2xx", function () { pm.expect(pm.response.code).to.be.oneOf([200, 400]); }); // Validate if response header has matching content-type pm.test( "[POST]::/payments/:id/cancel - Content-Type is application/json", function () { ...
535
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Cancel/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Retrieve/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/payments/:id?force_sync=true", "host": ["{{baseUrl}}"], "path": ["payments", ":id"], "query": [ { "key": "force_sync", "value": "true" }...
175
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Retrieve/event.test.js
.js
// Validate status 2xx pm.test("[GET]::/payments/:id - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[GET]::/payments/:id - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.in...
643
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Retrieve/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Retrieve-copy/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/payments/:id?force_sync=true", "host": ["{{baseUrl}}"], "path": ["payments", ":id"], "query": [ { "key": "force_sync", "value": "true" }...
175
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Retrieve-copy/event.test.js
.js
// Validate status 2xx pm.test("[GET]::/payments/:id - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[GET]::/payments/:id - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.in...
643
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Retrieve-copy/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Recurring Payments - Create/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n...
581
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Recurring Payments - Create/event.test.js
.js
// Validate status 2xx or 4xx pm.test("[POST]::/payments/:id/capture - Status code is 2xx", function () { pm.expect(pm.response.code).to.be.oneOf([200, 400]); }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.resp...
802
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Recurring Payments - Create/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Recurring Payments - Create/event.prerequest.js
.js
0
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Create/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n...
915
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Create/event.test.js
.js
pm.environment.set("random_number", _.random(1000, 100000)); // Validate status 2xx pm.test("[GET]::/payments/:id - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[GET]::/payments/:id - Content-Type is application/json", function (...
666
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Create/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Create/event.prerequest.js
.js
pm.environment.set("random_number", _.random(1000, 100000));
23
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario7-Void the success_slash_failure payment/Payments - Create/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
703
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario7-Void the success_slash_failure payment/Payments - Create/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/payments - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include(...
503
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario7-Void the success_slash_failure payment/Payments - Create/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario7-Void the success_slash_failure payment/Payments - Cancel/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
225
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario7-Void the success_slash_failure payment/Payments - Cancel/event.test.js
.js
// Validate status 4xx pm.test("[POST]::/payments/:id/cancel - Status code is 4xx", function () { pm.response.to.be.error; }); // Validate if response header has matching content-type pm.test( "[POST]::/payments/:id/cancel - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("...
469
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario7-Void the success_slash_failure payment/Payments - Cancel/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Retrieve/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/payments/:id?force_sync=true", "host": ["{{baseUrl}}"], "path": ["payments", ":id"], "query": [ { "key": "force_sync", "value": "true" }...
175
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Retrieve/event.test.js
.js
// Validate status 2xx pm.test("[GET]::/payments/:id - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[GET]::/payments/:id - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.in...
498
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Retrieve/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Retrieve-copy/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/payments/:id?force_sync=true", "host": ["{{baseUrl}}"], "path": ["payments", ":id"], "query": [ { "key": "force_sync", "value": "true" }...
175
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Retrieve-copy/event.test.js
.js
// Validate status 2xx pm.test("[GET]::/payments/:id - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[GET]::/payments/:id - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.in...
498
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Retrieve-copy/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Create/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n...
759
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Create/event.test.js
.js
pm.environment.set("random_number", _.random(100, 100000)); // Validate status 2xx pm.test("[POST]::/payments - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { p...
512
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Create/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Capture/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount_to_capture\": {{capture_amount}},\n \"statement_descriptor_name\": \"Joseph\...
226
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Capture/event.test.js
.js
// Get the value of 'amount' from the environment const capture_amount = parseInt(pm.environment.get("amount")) + 1000; // Validate status 4xx pm.test("[POST]::/payments/:id/capture - Status code is 4xx", function () { pm.response.to.be.error; }); // Validate if response header has matching content-type pm.test( ...
600
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Capture/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Refunds - Create/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
238
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Refunds - Create/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/refunds - Status code is 2xx", function () { pm.response.to.be.error; }); // Validate if response header has matching content-type pm.test("[POST]::/refunds - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include( ...
293
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Refunds - Create/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Refunds - Retrieve/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/refunds/:id", "host": ["{{baseUrl}}"], "path": ["refunds", ":id"], "variable": [ { "key": "id", "value": "{{refund_id}}", "description...
148
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Refunds - Retrieve/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/refunds - Status code is 2xx", function () { pm.response.to.be.error; }); // Validate if response header has matching content-type pm.test("[POST]::/refunds - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include( ...
278
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Refunds - Retrieve/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Payments - Retrieve/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/payments/:id?force_sync=true", "host": ["{{baseUrl}}"], "path": ["payments", ":id"], "query": [ { "key": "force_sync", "value": "true" }...
175
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Payments - Retrieve/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/payments - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include(...
503
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Payments - Retrieve/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Payments - Create/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
703
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Payments - Create/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/payments - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include(...
503
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Payments - Create/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Retrieve/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/payments/:id?force_sync=true", "host": ["{{baseUrl}}"], "path": ["payments", ":id"], "query": [ { "key": "force_sync", "value": "true" }...
175
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Retrieve/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/payments - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include(...
503
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Retrieve/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n...
758
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/payments - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include(...
503
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/event.prerequest.js
.js
pm.environment.set("random_number", _.random(1000, 100000));
23
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Retrieve/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/payments/:id?force_sync=true", "host": ["{{baseUrl}}"], "path": ["payments", ":id"], "query": [ { "key": "force_sync", "value": "true" }...
175
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Retrieve/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/payments - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/payments - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include(...
503
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Retrieve/response.json
.json
[]
1
hyperswitch
postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Create/request.json
.json
{ "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": false,\...
658