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/powertranz/Flow Testcases/Happy Cases/Scenario6-Create 3DS payment with confirm false/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": ["{{baseUrl}}"],
"path": ["payments", ":id"],
"query": [
{
"key": "force_sync",
"value": "true"
}... | 175 | 8,406 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario6-Create 3DS payment with confirm false/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 502 | 8,407 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario6-Create 3DS payment with confirm false/Payments - Retrieve/response.json | .json | []
| 1 | 8,408 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario6-Create 3DS payment with confirm false/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 704 | 8,409 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario6-Create 3DS payment with confirm false/Payments - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(... | 492 | 8,410 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario6-Create 3DS payment with confirm false/Payments - Create/response.json | .json | []
| 1 | 8,411 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario6-Create 3DS payment with confirm false/Payments - Confirm/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
},
{
"key": "in",
"value": "header",
"type"... | 517 | 8,412 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario6-Create 3DS payment with confirm false/Payments - Confirm/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments/:id/confirm - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/payments/:id/confirm - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.g... | 583 | 8,413 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario6-Create 3DS payment with confirm false/Payments - Confirm/response.json | .json | []
| 1 | 8,414 |
hyperswitch | postman/collection-dir/powertranz/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 | 8,415 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 499 | 8,416 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Retrieve/response.json | .json | []
| 1 | 8,417 |
hyperswitch | postman/collection-dir/powertranz/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,\... | 650 | 8,418 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/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... | 517 | 8,419 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Create/response.json | .json | []
| 1 | 8,420 |
hyperswitch | postman/collection-dir/powertranz/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 | 8,421 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments/:id/confirm - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/payments/:id/confirm - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.g... | 512 | 8,422 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/response.json | .json | []
| 1 | 8,423 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create fail 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 | 8,424 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create fail payment with confirm true/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 500 | 8,425 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create fail payment with confirm true/Payments - Retrieve/response.json | .json | []
| 1 | 8,426 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create fail payment with confirm true/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 935 | 8,427 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create fail payment with confirm true/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... | 514 | 8,428 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create fail payment with confirm true/Payments - Create/response.json | .json | []
| 1 | 8,429 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": ["{{baseUrl}}"],
"path": ["payments", ":id"],
"query": [
{
"key": "force_sync",
"value": "true"
}... | 175 | 8,430 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 499 | 8,431 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Retrieve/response.json | .json | []
| 1 | 8,432 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": false,\... | 751 | 8,433 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/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... | 514 | 8,434 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/response.json | .json | []
| 1 | 8,435 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
},
{
"key": "in",
"value": "header",
"type"... | 341 | 8,436 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments/:id/confirm - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/payments/:id/confirm - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.g... | 513 | 8,437 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/response.json | .json | []
| 1 | 8,438 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/Refunds - Create-copy/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 | 8,439 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/Refunds - Create-copy/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(
... | 345 | 8,440 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/Refunds - Create-copy/response.json | .json | []
| 1 | 8,441 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/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 | 8,442 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/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(
... | 346 | 8,443 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/Refunds - Create/response.json | .json | []
| 1 | 8,444 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/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 | 8,445 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/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... | 351 | 8,446 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/Refunds - Retrieve/response.json | .json | []
| 1 | 8,447 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/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 | 8,448 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/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 | 8,449 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/Payments - Retrieve/response.json | .json | []
| 1 | 8,450 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/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 | 8,451 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/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... | 546 | 8,452 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/Payments - Retrieve-copy/response.json | .json | []
| 1 | 8,453 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/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... | 751 | 8,454 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/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... | 514 | 8,455 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/Payments - Create/response.json | .json | []
| 1 | 8,456 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/Refunds - Retrieve-copy/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 | 8,457 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/Refunds - Retrieve-copy/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... | 349 | 8,458 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario10-Partial refund/Refunds - Retrieve-copy/response.json | .json | []
| 1 | 8,459 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario5-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 | 8,460 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario5-Void the 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... | 499 | 8,461 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Retrieve/response.json | .json | []
| 1 | 8,462 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario5-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 | 8,463 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario5-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... | 497 | 8,464 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Retrieve-copy/response.json | .json | []
| 1 | 8,465 |
hyperswitch | postman/collection-dir/powertranz/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",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n... | 751 | 8,466 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario5-Void the payment/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... | 514 | 8,467 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/response.json | .json | []
| 1 | 8,468 |
hyperswitch | postman/collection-dir/powertranz/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": {
... | 224 | 8,469 |
hyperswitch | postman/collection-dir/powertranz/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 | 8,470 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Cancel/response.json | .json | []
| 1 | 8,471 |
hyperswitch | postman/collection-dir/powertranz/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",
"raw": "{\n \"payment_id\": \"{{payment_id}}\",\n \"amount\": {{amount}},\n \"reason\": \"... | 245 | 8,472 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Refunds - Create/event.test.js | .js | // Get the value of 'amount' from the environment
const amount = pm.environment.get("amount");
// Validate status 2xx
pm.test("[POST]::/refunds - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/refunds - Content-Type is app... | 364 | 8,473 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Refunds - Create/response.json | .json | []
| 1 | 8,474 |
hyperswitch | postman/collection-dir/powertranz/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 | 8,475 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Refunds - Retrieve/event.test.js | .js | // Get the value of 'amount' from the environment
const refund_amount = pm.environment.get("amount");
// 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 - Conten... | 370 | 8,476 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Refunds - Retrieve/response.json | .json | []
| 1 | 8,477 |
hyperswitch | postman/collection-dir/powertranz/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 | 8,478 |
hyperswitch | postman/collection-dir/powertranz/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 | 8,479 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Payments - Retrieve/response.json | .json | []
| 1 | 8,480 |
hyperswitch | postman/collection-dir/powertranz/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",
"raw": "{\n \"amount\": {{random_number}},\n \"currency\": \"USD\",\n \"confirm\": true,\n... | 751 | 8,481 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Payments - Create/event.test.js | .js | pm.environment.set("random_number", _.random(100, 100000));
// Set the environment variable 'amount' with the value from the response
pm.environment.set("amount", pm.response.json().amount);
// Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Vali... | 541 | 8,482 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario9-Refund full payment/Payments - Create/response.json | .json | []
| 1 | 8,483 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario4-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 | 8,484 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/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 | 8,485 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve/response.json | .json | []
| 1 | 8,486 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario4-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 | 8,487 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/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 | 8,488 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve-copy/response.json | .json | []
| 1 | 8,489 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario4-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... | 751 | 8,490 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/event.test.js | .js | pm.environment.set("random_number", _.random(100, 100000));
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]::/paymen... | 526 | 8,491 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/response.json | .json | []
| 1 | 8,492 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario4-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 \"... | 225 | 8,493 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario4-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/... | 675 | 8,494 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/response.json | .json | []
| 1 | 8,495 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Refunds - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"payment_id\": \"{{payment_id}}\",\n \"amount\": {{amount}},\n \"reason\": \"... | 245 | 8,496 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Refunds - Create/event.test.js | .js | // Get the value of 'amount' from the environment
const amount = pm.environment.get("amount");
// Validate status 2xx
pm.test("[POST]::/refunds - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/refunds - Content-Type is app... | 226 | 8,497 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Refunds - Create/response.json | .json | []
| 1 | 8,498 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Refunds - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/refunds/:id?force_sync=true",
"host": ["{{baseUrl}}"],
"path": ["refunds", ":id"],
"query": [
{
"key": "force_sync",
"value": "true"
}
... | 178 | 8,499 |
hyperswitch | postman/collection-dir/powertranz/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 | 8,500 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Refunds - Retrieve/response.json | .json | []
| 1 | 8,501 |
hyperswitch | postman/collection-dir/powertranz/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 | 8,502 |
hyperswitch | postman/collection-dir/powertranz/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 | 8,503 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/API Key - Create/response.json | .json | []
| 1 | 8,504 |
hyperswitch | postman/collection-dir/powertranz/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... | 580 | 8,505 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.