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/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/Refunds - Retrieve/response.json | .json | []
| 1 | 5,906 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/Save card 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"... | 546 | 5,907 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/Save card 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... | 585 | 5,908 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/Save card payments - Confirm/response.json | .json | []
| 1 | 5,909 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/Payments - Retrieve Copy/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": [
"{{baseUrl}}"
],
"path": [
"payments",
":id"
],
"query": [
{
"key": "force_sync",
... | 182 | 5,910 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/Payments - Retrieve Copy/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 778 | 5,911 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/Payments - Retrieve Copy/response.json | .json | []
| 1 | 5,912 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/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,069 | 5,913 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/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.inclu... | 456 | 5,914 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/Payments - Create/response.json | .json | []
| 1 | 5,915 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/List payment methods for a Customer/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/customers/:customer_id/payment_methods",
"host": [
"{{baseUrl}}"
],
"path": [
"customers",
":customer_id",
"payment_methods"
],
"que... | 371 | 5,916 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/List payment methods for a Customer/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payment_methods/:customer_id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payment_methods/:customer_id - Content-Type is application/json", function () {
pm.expect(pm.response... | 202 | 5,917 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/Happy Cases/Scenario16-Add card flow/List payment methods for a Customer/response.json | .json | []
| 1 | 5,918 |
hyperswitch | postman/collection-dir/adyen_uk/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 | 5,919 |
hyperswitch | postman/collection-dir/adyen_uk/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 | 5,920 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Refunds - Create/response.json | .json | []
| 1 | 5,921 |
hyperswitch | postman/collection-dir/adyen_uk/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 | 5,922 |
hyperswitch | postman/collection-dir/adyen_uk/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 | 5,923 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Refunds - Retrieve/response.json | .json | []
| 1 | 5,924 |
hyperswitch | postman/collection-dir/adyen_uk/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 | 5,925 |
hyperswitch | postman/collection-dir/adyen_uk/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 | 5,926 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/API Key - Create/response.json | .json | []
| 1 | 5,927 |
hyperswitch | postman/collection-dir/adyen_uk/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... | 2,371 | 5,928 |
hyperswitch | postman/collection-dir/adyen_uk/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 () {
... | 331 | 5,929 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payment Connector - Create/response.json | .json | []
| 1 | 5,930 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payment Connector - Create/event.prerequest.js | .js | 0 | 5,931 | |
hyperswitch | postman/collection-dir/adyen_uk/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 | 5,932 |
hyperswitch | postman/collection-dir/adyen_uk/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 | 5,933 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payments - Retrieve/response.json | .json | []
| 1 | 5,934 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payouts - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payouts/:id",
"host": ["{{baseUrl}}"],
"path": ["payouts", ":id"],
"variable": [
{
"key": "id",
"value": "{{payout_id}}",
"description... | 150 | 5,935 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payouts - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payouts/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payouts/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.incl... | 343 | 5,936 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payouts - Retrieve/response.json | .json | []
| 1 | 5,937 |
hyperswitch | postman/collection-dir/adyen_uk/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": {
... | 888 | 5,938 |
hyperswitch | postman/collection-dir/adyen_uk/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 | 5,939 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payments - Create/response.json | .json | []
| 1 | 5,940 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payments - Create/event.prerequest.js | .js | 0 | 5,941 | |
hyperswitch | postman/collection-dir/adyen_uk/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": ... | 646 | 5,942 |
hyperswitch | postman/collection-dir/adyen_uk/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 | 5,943 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Merchant Account - Create/response.json | .json | []
| 1 | 5,944 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Merchant Account - Create/event.prerequest.js | .js | 0 | 5,945 | |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payout 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... | 437 | 5,946 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payout 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 () {
... | 335 | 5,947 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payout Connector - Create/response.json | .json | []
| 1 | 5,948 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payout Connector - Create/event.prerequest.js | .js | 0 | 5,949 | |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payouts - 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": {
... | 565 | 5,950 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payouts - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payouts/create - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/payouts/create - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.get("Content-... | 413 | 5,951 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payouts - Create/response.json | .json | []
| 1 | 5,952 |
hyperswitch | postman/collection-dir/adyen_uk/Flow Testcases/QuickStart/Payouts - Create/event.prerequest.js | .js | 0 | 5,953 | |
hyperswitch | postman/collection-dir/adyen_uk/Health check/New Request/request.json | .json | {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/health",
"host": ["{{baseUrl}}"],
"path": ["health"]
}
}
| 47 | 5,954 |
hyperswitch | postman/collection-dir/adyen_uk/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 | 5,955 |
hyperswitch | postman/collection-dir/adyen_uk/Health check/New Request/response.json | .json | []
| 1 | 5,956 |
hyperswitch | postman/collection-dir/authorizedotnet/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 | 5,957 |
hyperswitch | postman/collection-dir/authorizedotnet/event.prerequest.js | .js | 0 | 5,958 | |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario9-Refund exceeds amount/Refunds - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 238 | 5,959 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario9-Refund exceeds amount/Refunds - Create/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/refunds - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test("[POST]::/refunds - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
... | 334 | 5,960 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario9-Refund exceeds amount/Refunds - Create/response.json | .json | []
| 1 | 5,961 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario9-Refund exceeds amount/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": ["{{baseUrl}}"],
"path": ["payments", ":id"],
"query": [
{
"key": "force_sync",
"value": "true"
}... | 175 | 5,962 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario9-Refund exceeds amount/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(... | 503 | 5,963 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario9-Refund exceeds amount/Payments - Retrieve/response.json | .json | []
| 1 | 5,964 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario9-Refund exceeds amount/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 703 | 5,965 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario9-Refund exceeds 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(... | 503 | 5,966 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario9-Refund exceeds amount/Payments - Create/response.json | .json | []
| 1 | 5,967 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario5-Capture the succeeded 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 | 5,968 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario5-Capture the succeeded payment/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(... | 523 | 5,969 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario5-Capture the succeeded payment/Payments - Retrieve/response.json | .json | []
| 1 | 5,970 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario5-Capture the succeeded payment/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n... | 759 | 5,971 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario5-Capture the succeeded payment/Payments - Create/event.test.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
// Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
... | 546 | 5,972 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario5-Capture the succeeded payment/Payments - Create/response.json | .json | []
| 1 | 5,973 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario5-Capture the succeeded payment/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 5,974 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario5-Capture the succeeded payment/Payments - Capture/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 225 | 5,975 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario5-Capture the succeeded payment/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... | 570 | 5,976 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario5-Capture the succeeded payment/Payments - Capture/response.json | .json | []
| 1 | 5,977 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario3-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",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": false,\... | 658 | 5,978 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario3-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 | 5,979 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario3-Confirming the payment without PMD/Payments - Create/response.json | .json | []
| 1 | 5,980 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario3-Confirming the payment without PMD/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 5,981 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario3-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 | 5,982 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario3-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 | 5,983 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario3-Confirming the payment without PMD/Payments - Confirm/response.json | .json | []
| 1 | 5,984 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario11-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 | 5,985 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario11-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... | 643 | 5,986 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario11-Create a recurring payment with greater mandate amount/Payments - Retrieve/response.json | .json | []
| 1 | 5,987 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario11-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 | 5,988 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario11-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 | 5,989 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario11-Create a recurring payment with greater mandate amount/Recurring Payments - Create/response.json | .json | []
| 1 | 5,990 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario11-Create a recurring payment with greater mandate 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": {
... | 1,001 | 5,991 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario11-Create a recurring payment with greater mandate amount/Payments - Create/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 643 | 5,992 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario11-Create a recurring payment with greater mandate amount/Payments - Create/response.json | .json | []
| 1 | 5,993 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario12-Failed case for wrong api keys/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw_json_formatted": {
"amount": 7003,
"currency": "USD",
"confirm": true,
... | 690 | 5,994 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario12-Failed case for wrong api keys/Payments - Create/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... | 700 | 5,995 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario12-Failed case for wrong api keys/Payments - Create/response.json | .json | []
| 1 | 5,996 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario12-Failed case for wrong api keys/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 5,997 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario12-Failed case for wrong api keys/Payment Connector - Update/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... | 416 | 5,998 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario12-Failed case for wrong api keys/Payment Connector - Update/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 | 5,999 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario12-Failed case for wrong api keys/Payment Connector - Update/response.json | .json | []
| 1 | 6,000 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario12-Failed case for wrong api keys/Payment Connector - Update/event.prerequest.js | .js | 0 | 6,001 | |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n... | 751 | 6,002 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/payments - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
... | 538 | 6,003 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/response.json | .json | []
| 1 | 6,004 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 6,005 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.