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/authorizedotnet/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",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n... | 761 | 6,006 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/payments - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
... | 544 | 6,007 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/response.json | .json | []
| 1 | 6,008 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 6,009 |
hyperswitch | postman/collection-dir/authorizedotnet/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",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n... | 733 | 6,010 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/event.test.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
// 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... | 563 | 6,011 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/response.json | .json | []
| 1 | 6,012 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 6,013 |
hyperswitch | postman/collection-dir/authorizedotnet/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",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n... | 761 | 6,014 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp Year)/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/payments - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
... | 544 | 6,015 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp Year)/response.json | .json | []
| 1 | 6,016 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp Year)/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 6,017 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": ["{{baseUrl}}"],
"path": ["payments", ":id"],
"query": [
{
"key": "force_sync",
"value": "true"
}... | 175 | 6,018 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/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 | 6,019 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Retrieve/response.json | .json | []
| 1 | 6,020 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/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",
"value": "true"
}... | 175 | 6,021 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Retrieve-copy/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 | 6,022 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Retrieve-copy/response.json | .json | []
| 1 | 6,023 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n... | 759 | 6,024 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Create/event.test.js | .js | pm.environment.set("amount", pm.response.json().amount);
// Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.e... | 535 | 6,025 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Create/response.json | .json | []
| 1 | 6,026 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 6,027 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Capture/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"amount_to_capture\": {{amount}},\n \"statement_descriptor_name\": \"Joseph\",\n \"... | 255 | 6,028 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Capture/event.test.js | .js | // Get the value of 'amount' from the environment
const amount = pm.environment.get("amount");
// Validate status 2xx
pm.test("[POST]::/payments/:id/capture - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/payments/:id/... | 673 | 6,029 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Capture/response.json | .json | []
| 1 | 6,030 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario2-Create payment with Manual capture/Payments - Capture/event.prerequest.js | .js | 0 | 6,031 | |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the 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,032 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the 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 | 6,033 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Retrieve/response.json | .json | []
| 1 | 6,034 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/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",
"value": "true"
}... | 175 | 6,035 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/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... | 509 | 6,036 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Retrieve-copy/response.json | .json | []
| 1 | 6,037 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-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",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n... | 759 | 6,038 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the 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 | 6,039 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Create/response.json | .json | []
| 1 | 6,040 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 6,041 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-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,042 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Cancel/event.test.js | .js | // Validate status 2xx or 4xx
pm.test("[POST]::/payments/:id/capture - Status code is 2xx", function () {
pm.expect(pm.response.code).to.be.oneOf([200, 400]);
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/payments/:id/cancel - Content-Type is application/json",
function () {
... | 535 | 6,043 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario4-Void the payment/Payments - Cancel/response.json | .json | []
| 1 | 6,044 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring 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,045 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring 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... | 643 | 6,046 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Retrieve/response.json | .json | []
| 1 | 6,047 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/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",
"value": "true"
}... | 175 | 6,048 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/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... | 643 | 6,049 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Retrieve-copy/response.json | .json | []
| 1 | 6,050 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Recurring 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... | 581 | 6,051 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Recurring Payments - Create/event.test.js | .js | // Validate status 2xx or 4xx
pm.test("[POST]::/payments/:id/capture - Status code is 2xx", function () {
pm.expect(pm.response.code).to.be.oneOf([200, 400]);
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.resp... | 802 | 6,052 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Recurring Payments - Create/response.json | .json | []
| 1 | 6,053 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Recurring Payments - Create/event.prerequest.js | .js | 0 | 6,054 | |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring 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... | 915 | 6,055 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Create/event.test.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
// Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function (... | 666 | 6,056 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Create/response.json | .json | []
| 1 | 6,057 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario10-Create a mandate and recurring payment/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 6,058 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario7-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": {
... | 703 | 6,059 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario7-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(... | 503 | 6,060 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario7-Void the success_slash_failure payment/Payments - Create/response.json | .json | []
| 1 | 6,061 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario7-Void the success_slash_failure payment/Payments - Cancel/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 225 | 6,062 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario7-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,063 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario7-Void the success_slash_failure payment/Payments - Cancel/response.json | .json | []
| 1 | 6,064 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-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",
"value": "true"
}... | 175 | 6,065 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-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,066 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Retrieve/response.json | .json | []
| 1 | 6,067 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Retrieve-copy/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": ["{{baseUrl}}"],
"path": ["payments", ":id"],
"query": [
{
"key": "force_sync",
"value": "true"
}... | 175 | 6,068 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Retrieve-copy/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 498 | 6,069 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Retrieve-copy/response.json | .json | []
| 1 | 6,070 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-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",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n... | 759 | 6,071 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Create/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 () {
p... | 512 | 6,072 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Create/response.json | .json | []
| 1 | 6,073 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-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",
"raw": "{\n \"amount_to_capture\": {{capture_amount}},\n \"statement_descriptor_name\": \"Joseph\... | 226 | 6,074 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Capture/event.test.js | .js | // Get the value of 'amount' from the environment
const capture_amount = parseInt(pm.environment.get("amount")) + 1000;
// Validate status 4xx
pm.test("[POST]::/payments/:id/capture - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test(
... | 600 | 6,075 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario6-Capture greater amount/Payments - Capture/response.json | .json | []
| 1 | 6,076 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/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,077 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Refunds - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/refunds - Status code is 2xx", 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(
... | 293 | 6,078 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Refunds - Create/response.json | .json | []
| 1 | 6,079 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/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,080 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Refunds - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/refunds - Status code is 2xx", 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(
... | 278 | 6,081 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Refunds - Retrieve/response.json | .json | []
| 1 | 6,082 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/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,083 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/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 | 6,084 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Payments - Retrieve/response.json | .json | []
| 1 | 6,085 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/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,086 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/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 | 6,087 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Variation Cases/Scenario8-Refund full payment Copy/Payments - Create/response.json | .json | []
| 1 | 6,088 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": ["{{baseUrl}}"],
"path": ["payments", ":id"],
"query": [
{
"key": "force_sync",
"value": "true"
}... | 175 | 6,089 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/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 | 6,090 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Retrieve/response.json | .json | []
| 1 | 6,091 |
hyperswitch | postman/collection-dir/authorizedotnet/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",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n... | 758 | 6,092 |
hyperswitch | postman/collection-dir/authorizedotnet/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(... | 503 | 6,093 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/response.json | .json | []
| 1 | 6,094 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 6,095 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": ["{{baseUrl}}"],
"path": ["payments", ":id"],
"query": [
{
"key": "force_sync",
"value": "true"
}... | 175 | 6,096 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/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 | 6,097 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Retrieve/response.json | .json | []
| 1 | 6,098 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": false,\... | 658 | 6,099 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(... | 495 | 6,100 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Create/response.json | .json | []
| 1 | 6,101 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 6,102 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
},
{
"key": "in",
"value": "header",
"type"... | 432 | 6,103 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/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 | 6,104 |
hyperswitch | postman/collection-dir/authorizedotnet/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/response.json | .json | []
| 1 | 6,105 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.