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/QuickStart/Payment Connector - Create/event.test.js | .js | // Validate status 2xx
pm.test(
"[POST]::/account/:account_id/connectors - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[POST]::/account/:account_id/connectors - Content-Type is application/json",
function () {
... | 238 | 8,506 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Payment Connector - Create/response.json | .json | []
| 1 | 8,507 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": ["{{baseUrl}}"],
"path": ["payments", ":id"],
"query": [
{
"key": "force_sync",
"value": "true"
}... | 176 | 8,508 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/refunds/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/refunds/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.incl... | 209 | 8,509 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Payments - Retrieve/response.json | .json | []
| 1 | 8,510 |
hyperswitch | postman/collection-dir/powertranz/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": {
... | 738 | 8,511 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Payments - Create/event.test.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
// Set the environment variable 'amount' with the value from the response
pm.environment.set("amount", pm.response.json().amount);
// Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Va... | 474 | 8,512 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Payments - Create/response.json | .json | []
| 1 | 8,513 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 | 8,514 |
hyperswitch | postman/collection-dir/powertranz/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": ... | 620 | 8,515 |
hyperswitch | postman/collection-dir/powertranz/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 | 8,516 |
hyperswitch | postman/collection-dir/powertranz/Flow Testcases/QuickStart/Merchant Account - Create/response.json | .json | []
| 1 | 8,517 |
hyperswitch | postman/collection-dir/powertranz/Health check/New Request/request.json | .json | {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/health",
"host": ["{{baseUrl}}"],
"path": ["health"]
}
}
| 47 | 8,518 |
hyperswitch | postman/collection-dir/powertranz/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 | 8,519 |
hyperswitch | postman/collection-dir/powertranz/Health check/New Request/response.json | .json | []
| 1 | 8,520 |
hyperswitch | postman/collection-dir/bankofamerica/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 | 8,521 |
hyperswitch | postman/collection-dir/bankofamerica/event.prerequest.js | .js | 0 | 8,522 | |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Payment Connector - Delete/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": ... | 261 | 8,523 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Payment Connector - Delete/event.test.js | .js | // Validate status 2xx
pm.test(
"[DELETE]::/account/:account_id/connectors/:connector_id - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[DELETE]::/account/:account_id/connectors/:connector_id - Content-Type is applica... | 244 | 8,524 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Payment Connector - Delete/response.json | .json | []
| 1 | 8,525 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Delete API Key/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
}
]
},
"method": "DELETE",
"header": [
{
"key": "Conten... | 235 | 8,526 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Delete API Key/event.test.js | .js | // Validate status 2xx
pm.test(
"[DELETE]::/api_keys/:merchant_id/:api-key - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[DELETE]::/api_keys/:merchant_id/:api-key - Content-Type is application/json",
function () {
... | 108 | 8,527 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Delete API Key/response.json | .json | []
| 1 | 8,528 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Payment Connector - Create/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "strin... | 621 | 8,529 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Payment Connector - Create/event.test.js | .js | // Validate status 2xx
pm.test(
"[POST]::/accounts/:account_id/connectors - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[POST]::/accounts/:account_id/connectors - Content-Type is application/json",
function () {
... | 300 | 8,530 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Payment Connector - Create/response.json | .json | []
| 1 | 8,531 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Payment Connector - Retrieve/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "strin... | 286 | 8,532 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Payment Connector - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test(
"[GET]::/accounts/:account_id/connectors/:connector_id - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[GET]::/accounts/:account_id/connectors/:connector_id - Content-Type is application... | 244 | 8,533 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Payment Connector - Retrieve/response.json | .json | []
| 1 | 8,534 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/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... | 597 | 8,535 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Payment Connector - Update/event.test.js | .js | // Validate status 2xx
pm.test(
"[POST]::/account/:account_id/connectors/:connector_id - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[POST]::/account/:account_id/connectors/:connector_id - Content-Type is application... | 306 | 8,536 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Payment Connector - Update/response.json | .json | []
| 1 | 8,537 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Merchant Account - Delete/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": ... | 232 | 8,538 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Merchant Account - Delete/event.test.js | .js | // Validate status 2xx
pm.test("[DELETE]::/accounts/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test(
"[DELETE]::/accounts/:id - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.get("Content-... | 280 | 8,539 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/Merchant Account - Delete/response.json | .json | []
| 1 | 8,540 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/List Connectors by MID/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Content-Type",
... | 191 | 8,541 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/List Connectors by MID/event.test.js | .js | // Validate status 2xx
pm.test(
"[GET]::/account/:account_id/connectors - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[GET]::/account/:account_id/connectors - Content-Type is application/json",
function () {
pm... | 104 | 8,542 |
hyperswitch | postman/collection-dir/bankofamerica/PaymentConnectors/List Connectors by MID/response.json | .json | []
| 1 | 8,543 |
hyperswitch | postman/collection-dir/bankofamerica/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",
... | 182 | 8,544 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
// pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
// pm.response.to.be.success;
// });
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type... | 566 | 8,545 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Retrieve/response.json | .json | []
| 1 | 8,546 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 924 | 8,547 |
hyperswitch | postman/collection-dir/bankofamerica/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(... | 556 | 8,548 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/response.json | .json | []
| 1 | 8,549 |
hyperswitch | postman/collection-dir/bankofamerica/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",
... | 182 | 8,550 |
hyperswitch | postman/collection-dir/bankofamerica/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... | 501 | 8,551 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Retrieve/response.json | .json | []
| 1 | 8,552 |
hyperswitch | postman/collection-dir/bankofamerica/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",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 637 | 8,553 |
hyperswitch | postman/collection-dir/bankofamerica/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 | 8,554 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Create/response.json | .json | []
| 1 | 8,555 |
hyperswitch | postman/collection-dir/bankofamerica/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"... | 439 | 8,556 |
hyperswitch | postman/collection-dir/bankofamerica/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... | 511 | 8,557 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/response.json | .json | []
| 1 | 8,558 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario3-Create payment without PMD/Payments - Confirm/event.prerequest.js | .js | 0 | 8,559 | |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": [
"{{baseUrl}}"
],
"path": [
"payments",
":id"
],
"query": [
{
"key": "force_sync",
... | 182 | 8,560 |
hyperswitch | postman/collection-dir/bankofamerica/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... | 663 | 8,561 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Retrieve/response.json | .json | []
| 1 | 8,562 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 769 | 8,563 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(... | 492 | 8,564 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Create/response.json | .json | []
| 1 | 8,565 |
hyperswitch | postman/collection-dir/bankofamerica/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"... | 503 | 8,566 |
hyperswitch | postman/collection-dir/bankofamerica/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... | 731 | 8,567 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/response.json | .json | []
| 1 | 8,568 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario2-Create payment with confirm false/Payments - Confirm/event.prerequest.js | .js | 0 | 8,569 | |
hyperswitch | postman/collection-dir/bankofamerica/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",
... | 182 | 8,570 |
hyperswitch | postman/collection-dir/bankofamerica/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... | 497 | 8,571 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Retrieve/response.json | .json | []
| 1 | 8,572 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 921 | 8,573 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(... | 492 | 8,574 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/response.json | .json | []
| 1 | 8,575 |
hyperswitch | postman/collection-dir/bankofamerica/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": {
... | 233 | 8,576 |
hyperswitch | postman/collection-dir/bankofamerica/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,577 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Cancel/response.json | .json | []
| 1 | 8,578 |
hyperswitch | postman/collection-dir/bankofamerica/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",
... | 182 | 8,579 |
hyperswitch | postman/collection-dir/bankofamerica/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... | 507 | 8,580 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve/response.json | .json | []
| 1 | 8,581 |
hyperswitch | postman/collection-dir/bankofamerica/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",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 924 | 8,582 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/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,583 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/response.json | .json | []
| 1 | 8,584 |
hyperswitch | postman/collection-dir/bankofamerica/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",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 233 | 8,585 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/event.test.js | .js | // 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/capture - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.g... | 678 | 8,586 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/response.json | .json | []
| 1 | 8,587 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/QuickStart/API Key - Create/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-... | 275 | 8,588 |
hyperswitch | postman/collection-dir/bankofamerica/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,589 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/QuickStart/API Key - Create/response.json | .json | []
| 1 | 8,590 |
hyperswitch | postman/collection-dir/bankofamerica/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... | 621 | 8,591 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/QuickStart/Payment Connector - Create/event.test.js | .js | // Validate status 2xx
pm.test(
"[POST]::/account/:account_id/connectors - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[POST]::/account/:account_id/connectors - Content-Type is application/json",
function () {
... | 238 | 8,592 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/QuickStart/Payment Connector - Create/response.json | .json | []
| 1 | 8,593 |
hyperswitch | postman/collection-dir/bankofamerica/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": "{{pa... | 152 | 8,594 |
hyperswitch | postman/collection-dir/bankofamerica/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 | 8,595 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/QuickStart/Payments - Retrieve/response.json | .json | []
| 1 | 8,596 |
hyperswitch | postman/collection-dir/bankofamerica/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": {
... | 801 | 8,597 |
hyperswitch | postman/collection-dir/bankofamerica/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 | 8,598 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/QuickStart/Payments - Create/response.json | .json | []
| 1 | 8,599 |
hyperswitch | postman/collection-dir/bankofamerica/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": ... | 634 | 8,600 |
hyperswitch | postman/collection-dir/bankofamerica/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 | 8,601 |
hyperswitch | postman/collection-dir/bankofamerica/Flow Testcases/QuickStart/Merchant Account - Create/response.json | .json | []
| 1 | 8,602 |
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - Retrieve/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": ... | 233 | 8,603 |
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/accounts/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/accounts/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 302 | 8,604 |
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - Retrieve/response.json | .json | []
| 1 | 8,605 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.