repo stringclasses 4
values | file_path stringlengths 6 193 | extension stringclasses 30
values | content stringlengths 0 5.21M | token_count int64 0 3.8M |
|---|---|---|---|---|
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card 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": {
... | 973 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card 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.inclu... | 521 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Create/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(100, 100000));
| 22 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Refunds - Create Copy/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 242 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Refunds - Create Copy/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/refunds - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/refunds - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
... | 373 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Refunds - Create Copy/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Refunds - Create Copy/event.prerequest.js | .js | 0 | |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/List payment methods for a Customer/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/customers/:customer_id/payment_methods",
"host": [
"{{baseUrl}}"
],
"path": [
"customers",
":customer_id",
"payment_methods"
],
"que... | 371 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/List payment methods for a Customer/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payment_methods/:customer_id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payment_methods/:customer_id - Content-Type is application/json", function () {
pm.expect(pm.response... | 202 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/List payment methods for a Customer/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card 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": {
... | 231 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Capture/event.test.js | .js | // Get the value of 'amount' from the environment
const amount = pm.environment.get("amount");
// Validate status 2xx
pm.test("[POST]::/payments/:id/capture - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/payments/:id/... | 719 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Capture/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario12-Save card payment with manual capture/Payments - Capture/event.prerequest.js | .js | 0 | |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Save card 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": {
... | 696 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Save card 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.inclu... | 456 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Save card payments - Create/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Save card payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(100, 100000));
| 22 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Save card 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"... | 379 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Save card 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... | 582 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Save card payments - Confirm/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Save card payments - Confirm/event.prerequest.js | .js | 0 | |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/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 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/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 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Payments - Retrieve/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/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": {
... | 969 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/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.inclu... | 520 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Payments - Create/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(100, 100000));
| 22 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/List payment methods for a Customer/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/customers/:customer_id/payment_methods",
"host": [
"{{baseUrl}}"
],
"path": [
"customers",
":customer_id",
"payment_methods"
],
"que... | 371 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/List payment methods for a Customer/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payment_methods/:customer_id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payment_methods/:customer_id - Content-Type is application/json", function () {
pm.expect(pm.response... | 202 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario10-Add card flow/List payment methods for a Customer/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/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 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 499 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Retrieve/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Retrieve-copy/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": [
"{{baseUrl}}"
],
"path": [
"payments",
":id"
],
"query": [
{
"key": "force_sync",
... | 182 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Retrieve-copy/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 497 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Retrieve-copy/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/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": {
... | 699 |
hyperswitch | postman/collection-dir/nmi/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 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 |
hyperswitch | postman/collection-dir/nmi/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": {
... | 232 |
hyperswitch | postman/collection-dir/nmi/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 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Cancel/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario5-Void the payment/Payments - Cancel/event.prerequest.js | .js | 0 | |
hyperswitch | postman/collection-dir/nmi/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 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 498 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve-copy/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": [
"{{baseUrl}}"
],
"path": [
"payments",
":id"
],
"query": [
{
"key": "force_sync",
... | 182 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve-copy/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 498 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Retrieve-copy/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/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": {
... | 699 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/event.test.js | .js | pm.environment.set("amount", pm.response.json().amount);
// Validate status 2xx
pm.test("[POST]::/payments - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/payments - Content-Type is application/json", function () {
pm.e... | 504 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 |
hyperswitch | postman/collection-dir/nmi/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": {
... | 231 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/event.test.js | .js | // Get the value of 'amount' from the environment
const amount = pm.environment.get("amount");
// Validate status 2xx
pm.test("[POST]::/payments/:id/capture - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/payments/:id/... | 673 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario4-Create payment with Manual capture/Payments - Capture/event.prerequest.js | .js | 0 | |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create-copy/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 242 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create-copy/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/refunds - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/refunds - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
... | 343 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create-copy/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create-copy/event.prerequest.js | .js | 0 | |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 243 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/refunds - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/refunds - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(
... | 344 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Create/event.prerequest.js | .js | 0 | |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/refunds/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"refunds",
":id"
],
"variable": [
{
"key": "id",
"value": "{{refu... | 155 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/refunds/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/refunds/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.incl... | 351 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Retrieve/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": [
"{{baseUrl}}"
],
"path": [
"payments",
":id"
],
"query": [
{
"key": "force_sync",
... | 182 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 500 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Retrieve/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Retrieve-copy/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/payments/:id?force_sync=true",
"host": [
"{{baseUrl}}"
],
"path": [
"payments",
":id"
],
"query": [
{
"key": "force_sync",
... | 182 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Retrieve-copy/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/payments/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/payments/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.in... | 546 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Retrieve-copy/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/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": {
... | 699 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/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 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Create/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Payments - Create/event.prerequest.js | .js | pm.environment.set("random_number", _.random(1000, 100000));
| 23 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Retrieve-copy/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/refunds/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"refunds",
":id"
],
"variable": [
{
"key": "id",
"value": "{{refu... | 155 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Retrieve-copy/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/refunds/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/refunds/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.incl... | 349 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/Happy Cases/Scenario7-Partial refund/Refunds - Retrieve-copy/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/QuickStart/Refunds - Create/request.json | .json | {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"options": {
"raw": {
"language": "json"
}
},
"raw_json_formatted": {
... | 242 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/QuickStart/Refunds - Create/event.test.js | .js | // Get the value of 'amount' from the environment
const amount = pm.environment.get("amount");
// Validate status 2xx
pm.test("[POST]::/refunds - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/refunds - Content-Type is app... | 226 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/QuickStart/Refunds - Create/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/QuickStart/Refunds - Create/event.prerequest.js | .js | 0 | |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/QuickStart/Refunds - Retrieve/request.json | .json | {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/refunds/:id?force_sync=true",
"host": [
"{{baseUrl}}"
],
"path": [
"refunds",
":id"
],
"query": [
{
"key": "force_sync",
... | 185 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/QuickStart/Refunds - Retrieve/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/refunds/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/refunds/:id - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.incl... | 209 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/QuickStart/Refunds - Retrieve/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/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 |
hyperswitch | postman/collection-dir/nmi/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 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/QuickStart/API Key - Create/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/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... | 737 |
hyperswitch | postman/collection-dir/nmi/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 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/QuickStart/Payment Connector - Create/response.json | .json | []
| 1 |
hyperswitch | postman/collection-dir/nmi/Flow Testcases/QuickStart/Payment Connector - Create/event.prerequest.js | .js | 0 | |
hyperswitch | postman/collection-dir/nmi/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",
... | 183 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.