repo
stringclasses
4 values
file_path
stringlengths
6
193
extension
stringclasses
23 values
content
stringlengths
0
1.73M
token_count
int64
0
724k
__index_level_0__
int64
0
10.8k
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Refunds - Retrieve/event.test.js
.js
// Validate status 2xx pm.test("[GET]::/refunds/:id - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[GET]::/refunds/:id - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.incl...
353
3,506
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Refunds - Retrieve/response.json
.json
[]
1
3,507
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario9-Refund full 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
3,508
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario9-Refund full 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...
500
3,509
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Payments - Retrieve/response.json
.json
[]
1
3,510
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario9-Refund full 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": { ...
702
3,511
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario9-Refund full 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(...
492
3,512
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Payments - Create/response.json
.json
[]
1
3,513
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario4-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
3,514
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/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
3,515
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve/response.json
.json
[]
1
3,516
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario4-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", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
702
3,517
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/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(...
492
3,518
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/response.json
.json
[]
1
3,519
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario4-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", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
225
3,520
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/event.test.js
.js
// 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/capture - Content-Type is application/json", function () { pm.expect(pm.response.headers.g...
672
3,521
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/response.json
.json
[]
1
3,522
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/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": { ...
237
3,523
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Refunds - Create/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/refunds - Status code is 2xx", function () { pm.response.to.be.success; }); // 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( ...
205
3,524
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Refunds - Create/response.json
.json
[]
1
3,525
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/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
3,526
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Refunds - Retrieve/event.test.js
.js
// Validate status 2xx pm.test("[GET]::/refunds/:id - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[GET]::/refunds/:id - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.incl...
209
3,527
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Refunds - Retrieve/response.json
.json
[]
1
3,528
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/API Key - Create/request.json
.json
{ "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "{{admin_api_key}}", "type": "string" }, { "key": "key", "value": "api-key", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-...
268
3,529
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/API Key - Create/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/api_keys/:merchant_id - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test( "[POST]::/api_keys/:merchant_id - Content-Type is application/json", function () { pm.expect(pm.response.headers...
306
3,530
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/API Key - Create/response.json
.json
[]
1
3,531
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Payment Connector - Create/request.json
.json
{ "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "{{api_key}}", "type": "string" }, { "key": "key", "value": "api-key", "type": "string" }, { "key": "in", "value": "header", "type": "strin...
1,859
3,532
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Payment Connector - Create/event.test.js
.js
// Validate status 2xx pm.test( "[POST]::/account/:account_id/connectors - Status code is 2xx", function () { pm.response.to.be.success; }, ); // Validate if response header has matching content-type pm.test( "[POST]::/account/:account_id/connectors - Content-Type is application/json", function () { ...
238
3,533
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Payment Connector - Create/response.json
.json
[]
1
3,534
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/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
3,535
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/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...
430
3,536
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Payments - Retrieve/response.json
.json
[]
1
3,537
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/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": { ...
701
3,538
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/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(...
424
3,539
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Payments - Create/response.json
.json
[]
1
3,540
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Merchant Account - Create/request.json
.json
{ "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "{{admin_api_key}}", "type": "string" }, { "key": "key", "value": "api-key", "type": "string" }, { "key": "in", "value": "header", "type": ...
620
3,541
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Merchant Account - Create/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/accounts - Status code is 2xx", function () { pm.response.to.be.success; }); // Validate if response header has matching content-type pm.test("[POST]::/accounts - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Type")).to.include(...
391
3,542
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Merchant Account - Create/response.json
.json
[]
1
3,543
hyperswitch
postman/collection-dir/nexinets/Flow Testcases/QuickStart/Merchant Account - Create/event.prerequest.js
.js
0
3,544
hyperswitch
postman/collection-dir/nexinets/Health check/New Request/request.json
.json
{ "method": "GET", "header": [], "url": { "raw": "{{baseUrl}}/health", "host": ["{{baseUrl}}"], "path": ["health"] } }
47
3,545
hyperswitch
postman/collection-dir/nexinets/Health check/New Request/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/accounts - Status code is 2xx", function () { pm.response.to.be.success; });
34
3,546
hyperswitch
postman/collection-dir/nexinets/Health check/New Request/response.json
.json
[]
1
3,547
hyperswitch
postman/collection-dir/nmi/event.test.js
.js
// Set response object as internal variable let jsonData = {}; try { jsonData = pm.response.json(); } catch (e) {} // pm.collectionVariables - Set payment_id as variable for jsonData.payment_id if (jsonData?.payment_id) { pm.collectionVariables.set("payment_id", jsonData.payment_id); console.log("[LOG]::payment_...
101
3,548
hyperswitch
postman/collection-dir/nmi/event.prerequest.js
.js
0
3,549
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario9-Create a mandate 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": { ...
997
3,550
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario9-Create a mandate payment/Payments - Create/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( ...
321
3,551
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario9-Create a mandate payment/Payments - Create/response.json
.json
[]
1
3,552
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario9-Create a mandate payment/Payments - Create/event.prerequest.js
.js
pm.environment.set("random_number", _.random(100, 100000));
22
3,553
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure 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", ...
182
3,554
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure 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...
500
3,555
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Retrieve/response.json
.json
[]
1
3,556
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-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": { ...
699
3,557
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-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(...
490
3,558
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/response.json
.json
[]
1
3,559
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/event.prerequest.js
.js
pm.environment.set("random_number", _.random(100, 100000));
22
3,560
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-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": { ...
232
3,561
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-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
3,562
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Cancel/response.json
.json
[]
1
3,563
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Cancel/event.prerequest.js
.js
0
3,564
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario2-Confirming the 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", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
609
3,565
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/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(...
495
3,566
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Create/response.json
.json
[]
1
3,567
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Create/event.prerequest.js
.js
pm.environment.set("random_number", _.random(100, 100000));
22
3,568
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Confirm/request.json
.json
{ "auth": { "type": "apikey", "apikey": [ { "key": "value", "value": "{{publishable_key}}", "type": "string" }, { "key": "key", "value": "api-key", "type": "string" }, { "key": "in", "value": "header", "type"...
349
3,569
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Confirm/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/:id/confirm - Content-Type is application/json", function () { pm.expect(pm.response.headers.get("Content-Ty...
566
3,570
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Confirm/response.json
.json
[]
1
3,571
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Confirm/event.prerequest.js
.js
0
3,572
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-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", ...
182
3,573
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-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
3,574
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Retrieve/response.json
.json
[]
1
3,575
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-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", ...
182
3,576
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-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
3,577
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Retrieve-copy/response.json
.json
[]
1
3,578
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-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", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
699
3,579
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/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(...
492
3,580
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/response.json
.json
[]
1
3,581
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/event.prerequest.js
.js
pm.environment.set("random_number", _.random(100, 100000));
22
3,582
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-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", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
232
3,583
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-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
3,584
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Capture/response.json
.json
[]
1
3,585
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Capture/event.prerequest.js
.js
0
3,586
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/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": { ...
243
3,587
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Refunds - Create/event.test.js
.js
// Get the value of 'amount' from the environment const refund_amount = parseInt(pm.environment.get("amount") + 100000); // Set 'refund_amount' as an environment variable for the current request pm.environment.set("refund_amount", refund_amount); // Validate status 4xx pm.test("[POST]::/refunds - Status code is 4xx",...
391
3,588
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Refunds - Create/response.json
.json
[]
1
3,589
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Refunds - Create/event.prerequest.js
.js
0
3,590
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds 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", ...
182
3,591
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Retrieve/event.test.js
.js
// Get the value of 'amount' from the environment const amount = parseInt(pm.environment.get("amount")) + 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]::/payment...
531
3,592
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Retrieve/response.json
.json
[]
1
3,593
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/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": { ...
699
3,594
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/event.test.js
.js
// Set the environment variable 'amount' with the value from the response 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("[...
517
3,595
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/response.json
.json
[]
1
3,596
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/event.prerequest.js
.js
pm.environment.set("random_number", _.random(100, 100000));
22
3,597
hyperswitch
postman/collection-dir/nmi/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", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
693
3,598
hyperswitch
postman/collection-dir/nmi/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
3,599
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/response.json
.json
[]
1
3,600
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/event.prerequest.js
.js
0
3,601
hyperswitch
postman/collection-dir/nmi/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", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
703
3,602
hyperswitch
postman/collection-dir/nmi/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
3,603
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/response.json
.json
[]
1
3,604
hyperswitch
postman/collection-dir/nmi/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/event.prerequest.js
.js
0
3,605