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/hyperswitch/API Key/Retrieve 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": "GET",
"header": [
{
"key": "Content-T... | 230 | 4,706 |
hyperswitch | postman/collection-dir/hyperswitch/API Key/Retrieve API Key/event.test.js | .js | // Validate status 2xx
pm.test(
"[GET]::/api_keys/:merchant_id/:api_key_id - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[GET]::/api_keys/:merchant_id/:api_key_id - Content-Type is application/json",
function () {
... | 319 | 4,707 |
hyperswitch | postman/collection-dir/hyperswitch/API Key/Retrieve API Key/response.json | .json | []
| 1 | 4,708 |
hyperswitch | postman/collection-dir/hyperswitch/QuickStart/Refunds - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 237 | 4,709 |
hyperswitch | postman/collection-dir/hyperswitch/QuickStart/Refunds - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/refunds - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/refunds - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
... | 205 | 4,710 |
hyperswitch | postman/collection-dir/hyperswitch/QuickStart/Refunds - Create/response.json | .json | []
| 1 | 4,711 |
hyperswitch | postman/collection-dir/hyperswitch/QuickStart/Refunds - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/refunds/:id",
"host": ["{{baseUrl}}"],
"path": ["refunds", ":id"],
"variable": [
{
"key": "id",
"value": "{{refund_id}}",
"description... | 148 | 4,712 |
hyperswitch | postman/collection-dir/hyperswitch/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 | 4,713 |
hyperswitch | postman/collection-dir/hyperswitch/QuickStart/Refunds - Retrieve/response.json | .json | []
| 1 | 4,714 |
hyperswitch | postman/collection-dir/hyperswitch/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 | 4,715 |
hyperswitch | postman/collection-dir/hyperswitch/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 | 4,716 |
hyperswitch | postman/collection-dir/hyperswitch/QuickStart/API Key - Create/response.json | .json | []
| 1 | 4,717 |
hyperswitch | postman/collection-dir/hyperswitch/QuickStart/Payment Connector - Create/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": "strin... | 2,083 | 4,718 |
hyperswitch | postman/collection-dir/hyperswitch/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 | 4,719 |
hyperswitch | postman/collection-dir/hyperswitch/QuickStart/Payment Connector - Create/response.json | .json | []
| 1 | 4,720 |
hyperswitch | postman/collection-dir/hyperswitch/QuickStart/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id",
"host": ["{{baseUrl}}"],
"path": ["payments", ":id"],
"variable": [
{
"key": "id",
"value": "{{payment_id}}",
"descript... | 145 | 4,721 |
hyperswitch | postman/collection-dir/hyperswitch/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 | 4,722 |
hyperswitch | postman/collection-dir/hyperswitch/QuickStart/Payments - Retrieve/response.json | .json | []
| 1 | 4,723 |
hyperswitch | postman/collection-dir/hyperswitch/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": {
... | 795 | 4,724 |
hyperswitch | postman/collection-dir/hyperswitch/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 | 4,725 |
hyperswitch | postman/collection-dir/hyperswitch/QuickStart/Payments - Create/response.json | .json | []
| 1 | 4,726 |
hyperswitch | postman/collection-dir/hyperswitch/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": ... | 601 | 4,727 |
hyperswitch | postman/collection-dir/hyperswitch/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 | 4,728 |
hyperswitch | postman/collection-dir/hyperswitch/QuickStart/Merchant Account - Create/response.json | .json | []
| 1 | 4,729 |
hyperswitch | postman/collection-dir/braintree/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 | 4,730 |
hyperswitch | postman/collection-dir/braintree/event.prerequest.js | .js | 0 | 4,731 | |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 4 - Create a payment with greater 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 | 4,732 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 4 - Create a payment with greater 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... | 500 | 4,733 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 4 - Create a payment with greater capture/Payments - Retrieve/response.json | .json | []
| 1 | 4,734 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 4 - Create a payment with greater 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": {
... | 703 | 4,735 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 4 - Create a payment with greater 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 | 4,736 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 4 - Create a payment with greater capture/Payments - Create/response.json | .json | []
| 1 | 4,737 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 4 - Create a payment with greater 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": {
... | 225 | 4,738 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 4 - Create a payment with greater capture/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 | 4,739 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 4 - Create a payment with greater capture/Payments - Capture/response.json | .json | []
| 1 | 4,740 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 3 - 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 | 4,741 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 3 - 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(... | 489 | 4,742 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 3 - Void the success_slash_failure payment/Payments - Create/response.json | .json | []
| 1 | 4,743 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 3 - 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 | 4,744 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 3 - 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 | 4,745 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 3 - Void the success_slash_failure payment/Payments - Cancel/response.json | .json | []
| 1 | 4,746 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 2 - 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 | 4,747 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 2 - 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 | 4,748 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 2 - Confirming the payment without PMD/Payments - Create/response.json | .json | []
| 1 | 4,749 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 2 - 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 | 4,750 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 2 - 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 | 4,751 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 2 - Confirming the payment without PMD/Payments - Confirm/response.json | .json | []
| 1 | 4,752 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 1 - 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 | 4,753 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 1 - 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(
... | 541 | 4,754 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 1 - Create payment with Invalid card details/Payments - Create(invalid CVV)/response.json | .json | []
| 1 | 4,755 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 1 - 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": {
... | 705 | 4,756 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 1 - 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(
... | 545 | 4,757 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 1 - Create payment with Invalid card details/Payments - Create(Invalid Exp month)/response.json | .json | []
| 1 | 4,758 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 1 - 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": {
... | 679 | 4,759 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 1 - 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(
... | 540 | 4,760 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 1 - Create payment with Invalid card details/Payments - Create(Invalid card number)/response.json | .json | []
| 1 | 4,761 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 1 - 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": {
... | 706 | 4,762 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 1 - 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(
... | 545 | 4,763 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Variation Cases/Scenario 1 - Create payment with Invalid card details/Payments - Create(Invalid Exp Year)/response.json | .json | []
| 1 | 4,764 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 4 - 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 | 4,765 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 4 - 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... | 513 | 4,766 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 4 - Void the payment/Payments - Retrieve/response.json | .json | []
| 1 | 4,767 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 4 - 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": {
... | 703 | 4,768 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 4 - 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 | 4,769 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 4 - Void the payment/Payments - Create/response.json | .json | []
| 1 | 4,770 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 4 - Void the payment/Payments - Cancel/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 225 | 4,771 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 4 - Void the payment/Payments - Cancel/event.test.js | .js | // Disabling this for now since there's an issue with cancelling a payment in the code
// 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/... | 431 | 4,772 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 4 - Void the payment/Payments - Cancel/response.json | .json | []
| 1 | 4,773 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 1 - 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 | 4,774 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 1 - 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... | 497 | 4,775 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 1 - Create payment with confirm true/Payments - Retrieve/response.json | .json | []
| 1 | 4,776 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 1 - 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 | 4,777 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 1 - 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(... | 489 | 4,778 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 1 - Create payment with confirm true/Payments - Create/response.json | .json | []
| 1 | 4,779 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario5 - Create paypal wallet/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 | 4,780 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario5 - Create paypal wallet/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... | 496 | 4,781 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario5 - Create paypal wallet/Payments - Retrieve/response.json | .json | []
| 1 | 4,782 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario5 - Create paypal wallet/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": {
... | 581 | 4,783 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario5 - Create paypal wallet/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(... | 494 | 4,784 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario5 - Create paypal wallet/Payments - Create/response.json | .json | []
| 1 | 4,785 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario5 - Create paypal wallet/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"... | 403 | 4,786 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario5 - Create paypal wallet/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... | 587 | 4,787 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario5 - Create paypal wallet/Payments - Confirm/response.json | .json | []
| 1 | 4,788 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 2 - 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 | 4,789 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 2 - 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... | 496 | 4,790 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 2 - Create payment with confirm false/Payments - Retrieve/response.json | .json | []
| 1 | 4,791 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 2 - 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": {
... | 705 | 4,792 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 2 - 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 | 4,793 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 2 - Create payment with confirm false/Payments - Create/response.json | .json | []
| 1 | 4,794 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 2 - 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 | 4,795 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 2 - 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... | 510 | 4,796 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 2 - Create payment with confirm false/Payments - Confirm/response.json | .json | []
| 1 | 4,797 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 3 - 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 | 4,798 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 3 - 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... | 496 | 4,799 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 3 - Create payment without PMD/Payments - Retrieve/response.json | .json | []
| 1 | 4,800 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 3 - 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": {
... | 617 | 4,801 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 3 - 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 | 4,802 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 3 - Create payment without PMD/Payments - Create/response.json | .json | []
| 1 | 4,803 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 3 - 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 | 4,804 |
hyperswitch | postman/collection-dir/braintree/Flow Testcases/Happy Cases/Scenario 3 - 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... | 509 | 4,805 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.