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/paypal/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
6,306
hyperswitch
postman/collection-dir/paypal/Health check/New Request/response.json
.json
[]
1
6,307
hyperswitch
postman/collection-dir/zen/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
6,308
hyperswitch
postman/collection-dir/zen/event.prerequest.js
.js
0
6,309
hyperswitch
postman/collection-dir/zen/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": { ...
916
6,310
hyperswitch
postman/collection-dir/zen/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
6,311
hyperswitch
postman/collection-dir/zen/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Create/response.json
.json
[]
1
6,312
hyperswitch
postman/collection-dir/zen/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"...
527
6,313
hyperswitch
postman/collection-dir/zen/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
6,314
hyperswitch
postman/collection-dir/zen/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Confirm/response.json
.json
[]
1
6,315
hyperswitch
postman/collection-dir/zen/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": { ...
701
6,316
hyperswitch
postman/collection-dir/zen/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( ...
541
6,317
hyperswitch
postman/collection-dir/zen/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/response.json
.json
[]
1
6,318
hyperswitch
postman/collection-dir/zen/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": { ...
705
6,319
hyperswitch
postman/collection-dir/zen/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( ...
545
6,320
hyperswitch
postman/collection-dir/zen/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/response.json
.json
[]
1
6,321
hyperswitch
postman/collection-dir/zen/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", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
679
6,322
hyperswitch
postman/collection-dir/zen/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/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( ...
540
6,323
hyperswitch
postman/collection-dir/zen/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/response.json
.json
[]
1
6,324
hyperswitch
postman/collection-dir/zen/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", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
705
6,325
hyperswitch
postman/collection-dir/zen/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( ...
545
6,326
hyperswitch
postman/collection-dir/zen/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp Year)/response.json
.json
[]
1
6,327
hyperswitch
postman/collection-dir/zen/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
6,328
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/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...
503
6,329
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Retrieve/response.json
.json
[]
1
6,330
hyperswitch
postman/collection-dir/zen/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", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
1,043
6,331
hyperswitch
postman/collection-dir/zen/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(...
495
6,332
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/response.json
.json
[]
1
6,333
hyperswitch
postman/collection-dir/zen/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
6,334
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/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...
502
6,335
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Retrieve/response.json
.json
[]
1
6,336
hyperswitch
postman/collection-dir/zen/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", "options": { "raw": { "language": "json" } }, "raw_json_formatted": { ...
916
6,337
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario3-Create 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
6,338
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Create/response.json
.json
[]
1
6,339
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario3-Create 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"...
654
6,340
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/payments/:id/confirm - Status code is 2xx", function () { pm.response.to.be.success; }); // 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.g...
515
6,341
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/response.json
.json
[]
1
6,342
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario5-Create 3DS payment with confirm false/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
6,343
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario5-Create 3DS payment with confirm false/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...
502
6,344
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario5-Create 3DS payment with confirm false/Payments - Retrieve/response.json
.json
[]
1
6,345
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario5-Create 3DS payment with confirm false/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": { ...
1,006
6,346
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario5-Create 3DS payment with confirm false/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
6,347
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario5-Create 3DS payment with confirm false/Payments - Create/response.json
.json
[]
1
6,348
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario5-Create 3DS payment with confirm false/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"...
564
6,349
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario5-Create 3DS payment with confirm false/Payments - Confirm/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/payments/:id/confirm - Status code is 2xx", function () { pm.response.to.be.success; }); // 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.g...
583
6,350
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario5-Create 3DS payment with confirm false/Payments - Confirm/response.json
.json
[]
1
6,351
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario4-Create 3DS 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
6,352
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario4-Create 3DS 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...
503
6,353
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario4-Create 3DS payment/Payments - Retrieve/response.json
.json
[]
1
6,354
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario4-Create 3DS 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": { ...
1,043
6,355
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario4-Create 3DS 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(...
558
6,356
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario4-Create 3DS payment/Payments - Create/response.json
.json
[]
1
6,357
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/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
6,358
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/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...
502
6,359
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Retrieve/response.json
.json
[]
1
6,360
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/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": { ...
922
6,361
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/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
6,362
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/response.json
.json
[]
1
6,363
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/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"...
648
6,364
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/event.test.js
.js
// Validate status 2xx pm.test("[POST]::/payments/:id/confirm - Status code is 2xx", function () { pm.response.to.be.success; }); // 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.g...
516
6,365
hyperswitch
postman/collection-dir/zen/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/response.json
.json
[]
1
6,366
hyperswitch
postman/collection-dir/zen/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
6,367
hyperswitch
postman/collection-dir/zen/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
6,368
hyperswitch
postman/collection-dir/zen/Flow Testcases/QuickStart/API Key - Create/response.json
.json
[]
1
6,369
hyperswitch
postman/collection-dir/zen/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...
534
6,370
hyperswitch
postman/collection-dir/zen/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
6,371
hyperswitch
postman/collection-dir/zen/Flow Testcases/QuickStart/Payment Connector - Create/response.json
.json
[]
1
6,372
hyperswitch
postman/collection-dir/zen/Flow Testcases/QuickStart/Payment Connector - Create/event.prerequest.js
.js
0
6,373
hyperswitch
postman/collection-dir/zen/Flow Testcases/QuickStart/Payments - Retrieve/request.json
.json
{ "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/payments/:id", "host": ["{{baseUrl}}"], "path": ["payments", ":id"], "variable": [ { "key": "id", "value": "{{payment_id}}", "descript...
145
6,374
hyperswitch
postman/collection-dir/zen/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
6,375
hyperswitch
postman/collection-dir/zen/Flow Testcases/QuickStart/Payments - Retrieve/response.json
.json
[]
1
6,376
hyperswitch
postman/collection-dir/zen/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": { ...
1,043
6,377
hyperswitch
postman/collection-dir/zen/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
6,378
hyperswitch
postman/collection-dir/zen/Flow Testcases/QuickStart/Payments - Create/response.json
.json
[]
1
6,379
hyperswitch
postman/collection-dir/zen/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": ...
626
6,380
hyperswitch
postman/collection-dir/zen/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
6,381
hyperswitch
postman/collection-dir/zen/Flow Testcases/QuickStart/Merchant Account - Create/response.json
.json
[]
1
6,382
hyperswitch
postman/collection-dir/zen/Flow Testcases/QuickStart/Merchant Account - Create/event.prerequest.js
.js
0
6,383
hyperswitch
postman/collection-dir/zen/Health check/New Request/request.json
.json
{ "auth": { "type": "noauth" }, "method": "GET", "header": [], "url": { "raw": "{{baseUrl}}/health", "host": ["{{baseUrl}}"], "path": ["health"] } }
62
6,384
hyperswitch
postman/collection-dir/zen/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
6,385
hyperswitch
postman/collection-dir/zen/Health check/New Request/response.json
.json
[]
1
6,386
hyperswitch
postman/collection-dir/aci/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
6,387
hyperswitch
postman/collection-dir/aci/event.prerequest.js
.js
0
6,388
hyperswitch
postman/collection-dir/aci/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": { ...
705
6,389
hyperswitch
postman/collection-dir/aci/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(...
492
6,390
hyperswitch
postman/collection-dir/aci/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/response.json
.json
[]
1
6,391
hyperswitch
postman/collection-dir/aci/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": { ...
225
6,392
hyperswitch
postman/collection-dir/aci/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
6,393
hyperswitch
postman/collection-dir/aci/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Cancel/response.json
.json
[]
1
6,394
hyperswitch
postman/collection-dir/aci/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": { ...
613
6,395
hyperswitch
postman/collection-dir/aci/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
6,396
hyperswitch
postman/collection-dir/aci/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Create/response.json
.json
[]
1
6,397
hyperswitch
postman/collection-dir/aci/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"...
341
6,398
hyperswitch
postman/collection-dir/aci/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
6,399
hyperswitch
postman/collection-dir/aci/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Confirm/response.json
.json
[]
1
6,400
hyperswitch
postman/collection-dir/aci/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate 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
6,401
hyperswitch
postman/collection-dir/aci/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate 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...
610
6,402
hyperswitch
postman/collection-dir/aci/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Payments - Retrieve/response.json
.json
[]
1
6,403
hyperswitch
postman/collection-dir/aci/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Recurring 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": { ...
632
6,404
hyperswitch
postman/collection-dir/aci/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Recurring 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( ...
553
6,405