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/aci/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 705 | 6,606 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/Happy Cases/Scenario5-Void the 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,607 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/response.json | .json | []
| 1 | 6,608 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Cancel/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 225 | 6,609 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Cancel/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments/:id/cancel - Status code is 2xx", function () {
pm.response.to.be.success;
});
// 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... | 409 | 6,610 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Cancel/response.json | .json | []
| 1 | 6,611 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Refunds - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 238 | 6,612 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/Happy Cases/Scenario9-Refund full payment/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(
... | 349 | 6,613 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Refunds - Create/response.json | .json | []
| 1 | 6,614 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/Happy Cases/Scenario9-Refund full payment/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 | 6,615 |
hyperswitch | postman/collection-dir/aci/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 | 6,616 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Refunds - Retrieve/response.json | .json | []
| 1 | 6,617 |
hyperswitch | postman/collection-dir/aci/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 | 6,618 |
hyperswitch | postman/collection-dir/aci/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 | 6,619 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Payments - Retrieve/response.json | .json | []
| 1 | 6,620 |
hyperswitch | postman/collection-dir/aci/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": {
... | 705 | 6,621 |
hyperswitch | postman/collection-dir/aci/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 | 6,622 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Payments - Create/response.json | .json | []
| 1 | 6,623 |
hyperswitch | postman/collection-dir/aci/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 | 6,624 |
hyperswitch | postman/collection-dir/aci/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 | 6,625 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/QuickStart/Refunds - Create/response.json | .json | []
| 1 | 6,626 |
hyperswitch | postman/collection-dir/aci/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 | 6,627 |
hyperswitch | postman/collection-dir/aci/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 | 6,628 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/QuickStart/Refunds - Retrieve/response.json | .json | []
| 1 | 6,629 |
hyperswitch | postman/collection-dir/aci/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,630 |
hyperswitch | postman/collection-dir/aci/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,631 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/QuickStart/API Key - Create/response.json | .json | []
| 1 | 6,632 |
hyperswitch | postman/collection-dir/aci/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,372 | 6,633 |
hyperswitch | postman/collection-dir/aci/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,634 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/QuickStart/Payment Connector - Create/response.json | .json | []
| 1 | 6,635 |
hyperswitch | postman/collection-dir/aci/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,636 |
hyperswitch | postman/collection-dir/aci/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,637 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/QuickStart/Payments - Retrieve/response.json | .json | []
| 1 | 6,638 |
hyperswitch | postman/collection-dir/aci/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": {
... | 703 | 6,639 |
hyperswitch | postman/collection-dir/aci/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,640 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/QuickStart/Payments - Create/response.json | .json | []
| 1 | 6,641 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/QuickStart/Payments - Create/event.prerequest.js | .js | 0 | 6,642 | |
hyperswitch | postman/collection-dir/aci/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,643 |
hyperswitch | postman/collection-dir/aci/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,644 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/QuickStart/Merchant Account - Create/response.json | .json | []
| 1 | 6,645 |
hyperswitch | postman/collection-dir/aci/Flow Testcases/QuickStart/Merchant Account - Create/event.prerequest.js | .js | 0 | 6,646 | |
hyperswitch | postman/collection-dir/aci/Health check/New Request/request.json | .json | {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/health",
"host": ["{{baseUrl}}"],
"path": ["health"]
}
}
| 47 | 6,647 |
hyperswitch | postman/collection-dir/aci/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,648 |
hyperswitch | postman/collection-dir/aci/Health check/New Request/response.json | .json | []
| 1 | 6,649 |
hyperswitch | postman/collection-dir/users/event.test.js | .js | 0 | 6,650 | |
hyperswitch | postman/collection-dir/users/event.prerequest.js | .js | 0 | 6,651 | |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign Up/Connect Account/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Cookie",
"value": "Cookie_1=value"
}
],
"body": {
"mode": "raw",
"raw_json_formatted": {
"email": "{{unique_email}}"
}
},
"url": {
"raw": "{{baseUrl... | 134 | 6,652 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign Up/Connect Account/event.test.js | .js | console.log("[LOG]::x-request-id - " + pm.response.headers.get("x-request-id"));
// Validate status 2xx
pm.test("[POST]::/user/connect_account - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/user/connect_account - Content... | 208 | 6,653 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign Up/Connect Account/response.json | .json | []
| 1 | 6,654 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign Up/Connect Account/event.prerequest.js | .js |
var baseEmail = pm.environment.get('user_base_email_for_signup');
var emailDomain = pm.environment.get("user_domain_for_signup");
// Generate a unique email address
var uniqueEmail = baseEmail + new Date().getTime() + emailDomain;
// Set the unique email address as an environment variable
pm.environment.set('unique_e... | 72 | 6,655 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin Wrong/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Cookie",
"value": "Cookie_1=value"
}
],
"body": {
"mode": "raw",
"raw_json_formatted": {
"email": "{{user_email}}",
"password": "{{wrong_password}}"
}... | 142 | 6,656 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin Wrong/event.test.js | .js | console.log("[LOG]::x-request-id - " + pm.response.headers.get("x-request-id"));
// Validate status code is 4xx Bad Request
pm.test("[POST]::/user/signin - Status code is 401", function () {
pm.response.to.have.status(401);
});
// Validate if response header has matching content-type
pm.test("[POST]::/user/signin -... | 154 | 6,657 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin Wrong/response.json | .json | []
| 1 | 6,658 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin V2 Wrong/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Cookie",
"value": "Cookie_1=value"
}
],
"body": {
"mode": "raw",
"raw_json_formatted": {
"email": "{{user_email}}",
"password": "{{wrong_password}}"
}... | 149 | 6,659 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin V2 Wrong/event.test.js | .js | console.log("[LOG]::x-request-id - " + pm.response.headers.get("x-request-id"));
// Validate status 4xx
pm.test("[POST]::/user/v2/signin - Status code is 401", function () {
pm.response.to.have.status(401);
});
// Validate if response header has matching content-type
pm.test("[POST]::user/v2/signin - Content-Type i... | 154 | 6,660 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin V2 Wrong/response.json | .json | []
| 1 | 6,661 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin V2 - To be deprecated/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Cookie",
"value": "Cookie_1=value"
}
],
"body": {
"mode": "raw",
"raw_json_formatted": {
"email": "{{user_email}}",
"password": "{{user_password}}"
}
... | 149 | 6,662 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin V2 - To be deprecated/event.test.js | .js | console.log("[LOG]::x-request-id - " + pm.response.headers.get("x-request-id"));
// Validate status 2xx
pm.test("[POST]::user/v2/signin - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::user/v2/signin - Content-Type is appli... | 214 | 6,663 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin V2 - To be deprecated/response.json | .json | []
| 1 | 6,664 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Cookie",
"value": "Cookie_1=value"
}
],
"body": {
"mode": "raw",
"raw_json_formatted": {
"email": "{{user_email}}",
"password": "{{user_password}}"
}
... | 142 | 6,665 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin/event.test.js | .js | console.log("[LOG]::x-request-id - " + pm.response.headers.get("x-request-id"));
// Validate status 2xx
pm.test("[POST]::/user/signin - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/user/signin - Content-Type is applicati... | 210 | 6,666 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin/response.json | .json | []
| 1 | 6,667 |
hyperswitch | postman/collection-dir/users/Flow Testcases/Sign In/Signin/event.prerequest.js | .js | 0 | 6,668 | |
hyperswitch | postman/collection-dir/users/Health check/New Request/request.json | .json | {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/health",
"host": [
"{{baseUrl}}"
],
"path": [
"health"
]
}
}
| 53 | 6,669 |
hyperswitch | postman/collection-dir/users/Health check/New Request/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/health - Status code is 2xx", function () {
pm.response.to.be.success;
});
| 34 | 6,670 |
hyperswitch | postman/collection-dir/users/Health check/New Request/response.json | .json | []
| 1 | 6,671 |
hyperswitch | postman/collection-dir/checkout/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,672 |
hyperswitch | postman/collection-dir/checkout/event.prerequest.js | .js | 0 | 6,673 | |
hyperswitch | postman/collection-dir/checkout/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": {
... | 709 | 6,674 |
hyperswitch | postman/collection-dir/checkout/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(... | 489 | 6,675 |
hyperswitch | postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/response.json | .json | []
| 1 | 6,676 |
hyperswitch | postman/collection-dir/checkout/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": {
... | 233 | 6,677 |
hyperswitch | postman/collection-dir/checkout/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,678 |
hyperswitch | postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Cancel/response.json | .json | []
| 1 | 6,679 |
hyperswitch | postman/collection-dir/checkout/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": {
... | 619 | 6,680 |
hyperswitch | postman/collection-dir/checkout/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,681 |
hyperswitch | postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Create/response.json | .json | []
| 1 | 6,682 |
hyperswitch | postman/collection-dir/checkout/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 | 6,683 |
hyperswitch | postman/collection-dir/checkout/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... | 666 | 6,684 |
hyperswitch | postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Confirm/response.json | .json | []
| 1 | 6,685 |
hyperswitch | postman/collection-dir/checkout/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 | 6,686 |
hyperswitch | postman/collection-dir/checkout/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 | 6,687 |
hyperswitch | postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Retrieve/response.json | .json | []
| 1 | 6,688 |
hyperswitch | postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Retrieve/event.prerequest.js | .js | setTimeout(function(){
console.log("Sleeping for 3 seconds before next request.");
}, 3000); | 24 | 6,689 |
hyperswitch | postman/collection-dir/checkout/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": {
... | 696 | 6,690 |
hyperswitch | postman/collection-dir/checkout/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(... | 834 | 6,691 |
hyperswitch | postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/response.json | .json | []
| 1 | 6,692 |
hyperswitch | postman/collection-dir/checkout/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": {
... | 233 | 6,693 |
hyperswitch | postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Capture/event.test.js | .js | // 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(
"[POST]::/payments/:id/capture - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.get... | 656 | 6,694 |
hyperswitch | postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Capture/response.json | .json | []
| 1 | 6,695 |
hyperswitch | postman/collection-dir/checkout/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": {
... | 711 | 6,696 |
hyperswitch | postman/collection-dir/checkout/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(
... | 621 | 6,697 |
hyperswitch | postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/response.json | .json | []
| 1 | 6,698 |
hyperswitch | postman/collection-dir/checkout/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": {
... | 711 | 6,699 |
hyperswitch | postman/collection-dir/checkout/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(
... | 621 | 6,700 |
hyperswitch | postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/response.json | .json | []
| 1 | 6,701 |
hyperswitch | postman/collection-dir/checkout/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": {
... | 691 | 6,702 |
hyperswitch | postman/collection-dir/checkout/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 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(... | 491 | 6,703 |
hyperswitch | postman/collection-dir/checkout/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/response.json | .json | []
| 1 | 6,704 |
hyperswitch | postman/collection-dir/checkout/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": {
... | 711 | 6,705 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.