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/stripe/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(... | 727 | 7,706 |
hyperswitch | postman/collection-dir/stripe/QuickStart/Payments - Create/response.json | .json | []
| 1 | 7,707 |
hyperswitch | postman/collection-dir/stripe/QuickStart/Payments - Create/event.prerequest.js | .js | 0 | 7,708 | |
hyperswitch | postman/collection-dir/stripe/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": ... | 628 | 7,709 |
hyperswitch | postman/collection-dir/stripe/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(... | 384 | 7,710 |
hyperswitch | postman/collection-dir/stripe/QuickStart/Merchant Account - Create/response.json | .json | []
| 1 | 7,711 |
hyperswitch | postman/collection-dir/stripe/QuickStart/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... | 2,100 | 7,712 |
hyperswitch | postman/collection-dir/stripe/QuickStart/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... | 244 | 7,713 |
hyperswitch | postman/collection-dir/stripe/QuickStart/Payment Connector - Update/response.json | .json | []
| 1 | 7,714 |
hyperswitch | postman/collection-dir/stripe/QuickStart/Payment Connector - Update/event.prerequest.js | .js | 0 | 7,715 | |
hyperswitch | postman/collection-dir/globalpay/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 | 7,716 |
hyperswitch | postman/collection-dir/globalpay/event.prerequest.js | .js | 0 | 7,717 | |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 703 | 7,718 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(... | 492 | 7,719 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Create/response.json | .json | []
| 1 | 7,720 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Cancel/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 225 | 7,721 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Cancel/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/payments/:id/cancel - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/payments/:id/cancel - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.get("... | 469 | 7,722 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario5-Void the success_slash_failure payment/Payments - Cancel/response.json | .json | []
| 1 | 7,723 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 613 | 7,724 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(... | 495 | 7,725 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Create/response.json | .json | []
| 1 | 7,726 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Confirm/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{publishable_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
},
{
"key": "in",
"value": "header",
"type"... | 341 | 7,727 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Confirm/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/payments - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/payments/:id/confirm - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.get("Content-Ty... | 566 | 7,728 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario2-Confirming the payment without PMD/Payments - Confirm/response.json | .json | []
| 1 | 7,729 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": ["{{baseUrl}}"],
"path": ["payments", ":id"],
"query": [
{
"key": "force_sync",
"value": "true"
}... | 175 | 7,730 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 498 | 7,731 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Retrieve/response.json | .json | []
| 1 | 7,732 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 703 | 7,733 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(... | 492 | 7,734 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Create/response.json | .json | []
| 1 | 7,735 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Capture/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 225 | 7,736 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Capture/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/payments/:id/capture - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/payments/:id/capture - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.get... | 570 | 7,737 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario3-Capture greater amount/Payments - Capture/response.json | .json | []
| 1 | 7,738 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": ["{{baseUrl}}"],
"path": ["payments", ":id"],
"query": [
{
"key": "force_sync",
"value": "true"
}... | 175 | 7,739 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 610 | 7,740 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Payments - Retrieve/response.json | .json | []
| 1 | 7,741 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Recurring Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 632 | 7,742 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Recurring Payments - Create/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/payments - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
... | 553 | 7,743 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Recurring Payments - Create/response.json | .json | []
| 1 | 7,744 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 924 | 7,745 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Payments - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(... | 670 | 7,746 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario9-Create a recurring payment with greater mandate amount/Payments - Create/response.json | .json | []
| 1 | 7,747 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Refunds - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 238 | 7,748 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Refunds - Create/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/refunds - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test("[POST]::/refunds - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
... | 334 | 7,749 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Refunds - Create/response.json | .json | []
| 1 | 7,750 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": ["{{baseUrl}}"],
"path": ["payments", ":id"],
"query": [
{
"key": "force_sync",
"value": "true"
}... | 175 | 7,751 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario7-Refund exceeds 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... | 500 | 7,752 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Retrieve/response.json | .json | []
| 1 | 7,753 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 703 | 7,754 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(... | 492 | 7,755 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario7-Refund exceeds amount/Payments - Create/response.json | .json | []
| 1 | 7,756 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 705 | 7,757 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/payments - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
... | 615 | 7,758 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(invalid CVV)/response.json | .json | []
| 1 | 7,759 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 703 | 7,760 |
hyperswitch | postman/collection-dir/globalpay/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(
... | 617 | 7,761 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp month)/response.json | .json | []
| 1 | 7,762 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 684 | 7,763 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/payments - Status code is 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(
... | 609 | 7,764 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid card number)/response.json | .json | []
| 1 | 7,765 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp Year)/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 705 | 7,766 |
hyperswitch | postman/collection-dir/globalpay/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(
... | 618 | 7,767 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario1-Create payment with Invalid card details/Payments - Create(Invalid Exp Year)/response.json | .json | []
| 1 | 7,768 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 703 | 7,769 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded 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 | 7,770 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Create/response.json | .json | []
| 1 | 7,771 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Capture/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 225 | 7,772 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Capture/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/payments/:id/capture - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/payments/:id/capture - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.get... | 570 | 7,773 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario4-Capture the succeeded payment/Payments - Capture/response.json | .json | []
| 1 | 7,774 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Refunds - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 237 | 7,775 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Refunds - Create/event.test.js | .js | // Validate status 4xx
pm.test("[POST]::/refunds - Status code is 4xx", function () {
pm.response.to.be.error;
});
// Validate if response header has matching content-type
pm.test("[POST]::/refunds - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
... | 334 | 7,776 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Refunds - Create/response.json | .json | []
| 1 | 7,777 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful 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 | 7,778 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful 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 | 7,779 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Payments - Retrieve/response.json | .json | []
| 1 | 7,780 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful 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 | 7,781 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful 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 | 7,782 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Variation Cases/Scenario8-Refund for unsuccessful payment/Payments - Create/response.json | .json | []
| 1 | 7,783 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/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 | 7,784 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/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 | 7,785 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/Payments - Retrieve/response.json | .json | []
| 1 | 7,786 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/Payments - Retrieve/event.prerequest.js | .js | setTimeout(function () {}, 300);
| 9 | 7,787 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/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": {
... | 816 | 7,788 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/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 | 7,789 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/Payments - Create/response.json | .json | []
| 1 | 7,790 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/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 | 7,791 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/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 | 7,792 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario16-Bank Redirect-sofort/Payments - Confirm/response.json | .json | []
| 1 | 7,793 |
hyperswitch | postman/collection-dir/globalpay/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 | 7,794 |
hyperswitch | postman/collection-dir/globalpay/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")).to.in... | 500 | 7,795 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Retrieve/response.json | .json | []
| 1 | 7,796 |
hyperswitch | postman/collection-dir/globalpay/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": {
... | 703 | 7,797 |
hyperswitch | postman/collection-dir/globalpay/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(... | 527 | 7,798 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario1-Create payment with confirm true/Payments - Create/response.json | .json | []
| 1 | 7,799 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario15-Bank Redirect-Ideal/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 | 7,800 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario15-Bank Redirect-Ideal/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 | 7,801 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario15-Bank Redirect-Ideal/Payments - Retrieve/response.json | .json | []
| 1 | 7,802 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario15-Bank Redirect-Ideal/Payments - Retrieve/event.prerequest.js | .js | setTimeout(function () {}, 300);
| 9 | 7,803 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario15-Bank Redirect-Ideal/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": {
... | 816 | 7,804 |
hyperswitch | postman/collection-dir/globalpay/Flow Testcases/Happy Cases/Scenario15-Bank Redirect-Ideal/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 | 7,805 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.