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/multisafepay/Health check/New Request/request.json | .json | {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/health",
"host": ["{{baseUrl}}"],
"path": ["health"]
}
}
| 47 | 4,206 |
hyperswitch | postman/collection-dir/multisafepay/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 | 4,207 |
hyperswitch | postman/collection-dir/multisafepay/Health check/New Request/response.json | .json | []
| 1 | 4,208 |
hyperswitch | postman/collection-dir/nuvei/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 | 4,209 |
hyperswitch | postman/collection-dir/nuvei/event.prerequest.js | .js | 0 | 4,210 | |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Payment Decline scenario/Payments - Create(Do Not Honor)/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,045 | 4,211 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Payment Decline scenario/Payments - Create(Do Not Honor)/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 () {
... | 500 | 4,212 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Payment Decline scenario/Payments - Create(Do Not Honor)/response.json | .json | []
| 1 | 4,213 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Payment Decline scenario/Payments - Create(Decline)/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,044 | 4,214 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Payment Decline scenario/Payments - Create(Decline)/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 () {
... | 497 | 4,215 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Payment Decline scenario/Payments - Create(Decline)/response.json | .json | []
| 1 | 4,216 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Payment Decline scenario/Payments - Create(Insufficient Funds)/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,045 | 4,217 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Payment Decline scenario/Payments - Create(Insufficient Funds)/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 () {
... | 500 | 4,218 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Payment Decline scenario/Payments - Create(Insufficient Funds)/response.json | .json | []
| 1 | 4,219 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Create Payment with Invalid card/Payments - Create(Expired Card)/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": {
... | 971 | 4,220 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Create Payment with Invalid card/Payments - Create(Expired Card)/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 () {
... | 499 | 4,221 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Create Payment with Invalid card/Payments - Create(Expired Card)/response.json | .json | []
| 1 | 4,222 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Create Payment with Invalid card/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": {
... | 971 | 4,223 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Create Payment with Invalid card/Payments - Create(Invalid CVV)/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 () {
... | 500 | 4,224 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Create Payment with Invalid card/Payments - Create(Invalid CVV)/response.json | .json | []
| 1 | 4,225 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Create Payment with Invalid card/Payments - Create(Lost Card)/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,045 | 4,226 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Create Payment with Invalid card/Payments - Create(Lost Card)/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 () {
... | 500 | 4,227 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/Variation Cases/Scenario1- Create Payment with Invalid card/Payments - Create(Lost Card)/response.json | .json | []
| 1 | 4,228 |
hyperswitch | postman/collection-dir/nuvei/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",
"raw": "{\n \"payment_id\": \"{{payment_id}}\",\n \"amount\": {{amount}},\n \"reason\": \"... | 251 | 4,229 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Refunds - Create/event.test.js | .js | // Get the value of 'amount' from the environment
const amount = pm.environment.get("amount");
// 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 app... | 226 | 4,230 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Refunds - Create/response.json | .json | []
| 1 | 4,231 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Refunds - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/refunds/:id?force_sync=true",
"host": [
"{{baseUrl}}"
],
"path": [
"refunds",
":id"
],
"query": [
{
"key": "force_sync",
... | 185 | 4,232 |
hyperswitch | postman/collection-dir/nuvei/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 | 4,233 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Refunds - Retrieve/response.json | .json | []
| 1 | 4,234 |
hyperswitch | postman/collection-dir/nuvei/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-... | 275 | 4,235 |
hyperswitch | postman/collection-dir/nuvei/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 | 4,236 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/API Key - Create/response.json | .json | []
| 1 | 4,237 |
hyperswitch | postman/collection-dir/nuvei/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... | 571 | 4,238 |
hyperswitch | postman/collection-dir/nuvei/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 | 4,239 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Payment Connector - Create/response.json | .json | []
| 1 | 4,240 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Payment Connector - Create/event.prerequest.js | .js | 0 | 4,241 | |
hyperswitch | postman/collection-dir/nuvei/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",
... | 183 | 4,242 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Payments - 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 | 4,243 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Payments - Retrieve/response.json | .json | []
| 1 | 4,244 |
hyperswitch | postman/collection-dir/nuvei/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": {
... | 971 | 4,245 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Payments - Create/event.test.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
// 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;
});
// Va... | 474 | 4,246 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Payments - Create/response.json | .json | []
| 1 | 4,247 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 4,248 |
hyperswitch | postman/collection-dir/nuvei/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": ... | 632 | 4,249 |
hyperswitch | postman/collection-dir/nuvei/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 | 4,250 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Merchant Account - Create/response.json | .json | []
| 1 | 4,251 |
hyperswitch | postman/collection-dir/nuvei/Flow Testcases/QuickStart/Merchant Account - Create/event.prerequest.js | .js | 0 | 4,252 | |
hyperswitch | postman/collection-dir/nuvei/Health check/New Request/request.json | .json | {
"method": "GET",
"header": [
{
"key": "x-feature",
"value": "router-custom",
"type": "text",
"disabled": true
}
],
"url": {
"raw": "{{baseUrl}}/health",
"host": [
"{{baseUrl}}"
],
"path": [
"health"
]
}
}
| 88 | 4,253 |
hyperswitch | postman/collection-dir/nuvei/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 | 4,254 |
hyperswitch | postman/collection-dir/nuvei/Health check/New Request/response.json | .json | []
| 1 | 4,255 |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,256 |
hyperswitch | postman/collection-dir/prophetpay/event.prerequest.js | .js | 0 | 4,257 | |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,258 |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,259 |
hyperswitch | postman/collection-dir/prophetpay/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Retrieve/response.json | .json | []
| 1 | 4,260 |
hyperswitch | postman/collection-dir/prophetpay/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": {
... | 319 | 4,261 |
hyperswitch | postman/collection-dir/prophetpay/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(... | 494 | 4,262 |
hyperswitch | postman/collection-dir/prophetpay/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/response.json | .json | []
| 1 | 4,263 |
hyperswitch | postman/collection-dir/prophetpay/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",
... | 182 | 4,264 |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,265 |
hyperswitch | postman/collection-dir/prophetpay/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Retrieve/response.json | .json | []
| 1 | 4,266 |
hyperswitch | postman/collection-dir/prophetpay/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": {
... | 277 | 4,267 |
hyperswitch | postman/collection-dir/prophetpay/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(... | 495 | 4,268 |
hyperswitch | postman/collection-dir/prophetpay/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/response.json | .json | []
| 1 | 4,269 |
hyperswitch | postman/collection-dir/prophetpay/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/event.prerequest.js | .js | 0 | 4,270 | |
hyperswitch | postman/collection-dir/prophetpay/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"... | 391 | 4,271 |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,272 |
hyperswitch | postman/collection-dir/prophetpay/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/response.json | .json | []
| 1 | 4,273 |
hyperswitch | postman/collection-dir/prophetpay/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/event.prerequest.js | .js | 0 | 4,274 | |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,275 |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,276 |
hyperswitch | postman/collection-dir/prophetpay/Flow Testcases/QuickStart/API Key - Create/response.json | .json | []
| 1 | 4,277 |
hyperswitch | postman/collection-dir/prophetpay/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... | 563 | 4,278 |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,279 |
hyperswitch | postman/collection-dir/prophetpay/Flow Testcases/QuickStart/Payment Connector - Create/response.json | .json | []
| 1 | 4,280 |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,281 |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,282 |
hyperswitch | postman/collection-dir/prophetpay/Flow Testcases/QuickStart/Payments - Retrieve/response.json | .json | []
| 1 | 4,283 |
hyperswitch | postman/collection-dir/prophetpay/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": {
... | 321 | 4,284 |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,285 |
hyperswitch | postman/collection-dir/prophetpay/Flow Testcases/QuickStart/Payments - Create/response.json | .json | []
| 1 | 4,286 |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,287 |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,288 |
hyperswitch | postman/collection-dir/prophetpay/Flow Testcases/QuickStart/Merchant Account - Create/response.json | .json | []
| 1 | 4,289 |
hyperswitch | postman/collection-dir/prophetpay/Health check/New Request/request.json | .json | {
"method": "GET",
"url": {
"raw": "{{baseUrl}}/health",
"host": ["{{baseUrl}}"],
"path": ["health"]
}
}
| 42 | 4,290 |
hyperswitch | postman/collection-dir/prophetpay/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 | 4,291 |
hyperswitch | postman/collection-dir/prophetpay/Health check/New Request/response.json | .json | []
| 1 | 4,292 |
hyperswitch | postman/collection-dir/hyperswitch/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 | 4,293 |
hyperswitch | postman/collection-dir/hyperswitch/event.prerequest.js | .js | 0 | 4,294 | |
hyperswitch | postman/collection-dir/hyperswitch/PaymentConnectors/Payment Connector - Delete/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": ... | 252 | 4,295 |
hyperswitch | postman/collection-dir/hyperswitch/PaymentConnectors/Payment Connector - Delete/event.test.js | .js | // Validate status 2xx
pm.test(
"[DELETE]::/account/:account_id/connectors/:connector_id - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[DELETE]::/account/:account_id/connectors/:connector_id - Content-Type is applica... | 244 | 4,296 |
hyperswitch | postman/collection-dir/hyperswitch/PaymentConnectors/Payment Connector - Delete/response.json | .json | []
| 1 | 4,297 |
hyperswitch | postman/collection-dir/hyperswitch/PaymentConnectors/Delete API Key/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Conten... | 227 | 4,298 |
hyperswitch | postman/collection-dir/hyperswitch/PaymentConnectors/Delete API Key/event.test.js | .js | // Validate status 2xx
pm.test(
"[DELETE]::/api_keys/:merchant_id/:api-key - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[DELETE]::/api_keys/:merchant_id/:api-key - Content-Type is application/json",
function () {
... | 108 | 4,299 |
hyperswitch | postman/collection-dir/hyperswitch/PaymentConnectors/Delete API Key/response.json | .json | []
| 1 | 4,300 |
hyperswitch | postman/collection-dir/hyperswitch/PaymentConnectors/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... | 786 | 4,301 |
hyperswitch | postman/collection-dir/hyperswitch/PaymentConnectors/Payment Connector - Create/event.test.js | .js | // Validate status 2xx
pm.test(
"[POST]::/accounts/:account_id/connectors - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[POST]::/accounts/:account_id/connectors - Content-Type is application/json",
function () {
... | 238 | 4,302 |
hyperswitch | postman/collection-dir/hyperswitch/PaymentConnectors/Payment Connector - Create/response.json | .json | []
| 1 | 4,303 |
hyperswitch | postman/collection-dir/hyperswitch/PaymentConnectors/Payment Connector - Retrieve/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... | 277 | 4,304 |
hyperswitch | postman/collection-dir/hyperswitch/PaymentConnectors/Payment Connector - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test(
"[GET]::/accounts/:account_id/connectors/:connector_id - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[GET]::/accounts/:account_id/connectors/:connector_id - Content-Type is application... | 244 | 4,305 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.