Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
chore(postman): update Postman collection files
github-actions407c70cb1515
diff --git a/postman/collection-json/paypal.postman_collection.json b/postman/collection-json/paypal.postman_collection.jsonindex e6eab06d80..b4309b2b4a 100644--- a/postman/collection-json/paypal.postman_collection.json+++ b/postman/collection-json/paypal.postman_collection.json@@ -1027,9 +1027,9 @@" \"[POST]::/payments/:id/capture - Content-Type is application/json\","," function () {"," pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(",- " \"application/json\",",+ " \"application/json\""," );",- " },",+ " }",");","","// Validate if response has JSON Body",@@ -1048,11 +1048,11 @@" pm.collectionVariables.set(\"payment_id\", jsonData.payment_id);"," console.log("," \"- use {{payment_id}} as collection variable for value\",",- " jsonData.payment_id,",+ " jsonData.payment_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\",",+ " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\""," );","}","",@@ -1061,11 +1061,11 @@" pm.collectionVariables.set(\"mandate_id\", jsonData.mandate_id);"," console.log("," \"- use {{mandate_id}} as collection variable for value\",",- " jsonData.mandate_id,",+ " jsonData.mandate_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\",",+ " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\""," );","}","",@@ -1074,21 +1074,21 @@" pm.collectionVariables.set(\"client_secret\", jsonData.client_secret);"," console.log("," \"- use {{client_secret}} as collection variable for value\",",- " jsonData.client_secret,",+ " jsonData.client_secret"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\",",+ " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\""," );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"partially_captured\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]:://payments/:id/capture - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]:://payments/:id/capture - Content check if value for 'status' matches 'partially_captured'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"partially_captured\");",+ " }"," );","}","",@@ -1103,7 +1103,7 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount' matches '6540'\","," function () {"," pm.expect(jsonData.amount).to.eql(6540);",- " },",+ " }"," );","}","",@@ -1113,7 +1113,7 @@" \"[POST]::/payments:id/capture - Content check if value for 'amount_received' matches '6000'\","," function () {"," pm.expect(jsonData.amount_received).to.eql(6000);",- " },",+ " }"," );","}","",@@ -1123,16 +1123,19 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 6550\","," function () {"," pm.expect(jsonData.amount_capturable).to.eql(6550);",- " },",+ " }"," );","}","","// Response body should have a valid surcharge_details field\"",- "pm.test(\"Check if valid 'surcharge_details' is present in the response\", function () {",- " pm.response.to.have.jsonBody('surcharge_details');",- " pm.expect(jsonData.surcharge_details.surcharge_amount).to.eql(5);",- " pm.expect(jsonData.surcharge_details.tax_amount).to.eql(5);",- "});",+ "pm.test(",+ " \"Check if valid 'surcharge_details' is present in the response\",",+ " function () {",+ " pm.response.to.have.jsonBody(\"surcharge_details\");",+ " pm.expect(jsonData.surcharge_details.surcharge_amount).to.eql(5);",+ " pm.expect(jsonData.surcharge_details.tax_amount).to.eql(5);",+ " }",+ ");",""],"type": "text/javascript"@@ -1197,7 +1200,7 @@"// 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.include(",- " \"application/json\",",+ " \"application/json\""," );","});","",@@ -1217,11 +1220,11 @@" pm.collectionVariables.set(\"payment_id\", jsonData.payment_id);"," console.log("," \"- use {{payment_id}} as collection variable for value\",",- " jsonData.payment_id,",+ " jsonData.payment_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\",",+ " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\""," );","}","",@@ -1230,11 +1233,11 @@" pm.collectionVariables.set(\"mandate_id\", jsonData.mandate_id);"," console.log("," \"- use {{mandate_id}} as collection variable for value\",",- " jsonData.mandate_id,",+ " jsonData.mandate_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\",",+ " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\""," );","}","",@@ -1243,21 +1246,21 @@" pm.collectionVariables.set(\"client_secret\", jsonData.client_secret);"," console.log("," \"- use {{client_secret}} as collection variable for value\",",- " jsonData.client_secret,",+ " jsonData.client_secret"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\",",+ " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\""," );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"partially_captured\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]::/payments - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]::/payments - Content check if value for 'status' matches 'partially_captured'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"partially_captured\");",+ " }"," );","}","",@@ -1272,7 +1275,7 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount' matches '6540'\","," function () {"," pm.expect(jsonData.amount).to.eql(6540);",- " },",+ " }"," );","}","",@@ -1282,7 +1285,7 @@" \"[POST]::/payments:id/capture - Content check if value for 'amount_received' matches '6000'\","," function () {"," pm.expect(jsonData.amount_received).to.eql(6000);",- " },",+ " }"," );","}","",@@ -1292,16 +1295,19 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 'amount - 6550'\","," function () {"," pm.expect(jsonData.amount_capturable).to.eql(6550);",- " },",+ " }"," );","}","","// Response body should have a valid surcharge_details field\"",- "pm.test(\"Check if valid 'surcharge_details' is present in the response\", function () {",- " pm.response.to.have.jsonBody('surcharge_details');",- " pm.expect(jsonData.surcharge_details.surcharge_amount).to.eql(5);",- " pm.expect(jsonData.surcharge_details.tax_amount).to.eql(5);",- "});",+ "pm.test(",+ " \"Check if valid 'surcharge_details' is present in the response\",",+ " function () {",+ " pm.response.to.have.jsonBody(\"surcharge_details\");",+ " pm.expect(jsonData.surcharge_details.surcharge_amount).to.eql(5);",+ " pm.expect(jsonData.surcharge_details.tax_amount).to.eql(5);",+ " }",+ ");",""],"type": "text/javascript"@@ -1417,13 +1423,13 @@" );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"succeeded\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]::/payments - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]::/payments - Content check if value for 'status' matches 'succeeded'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"succeeded\");",+ " }"," );","}","",@@ -1566,13 +1572,13 @@" );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"succeeded\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]::/payments/:id - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]::/payments/:id - Content check if value for 'status' matches 'succeeded'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"succeeded\");",+ " }"," );","}","",@@ -1861,13 +1867,13 @@" );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"succeeded\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]::/payments/:id/confirm - Content check if value for 'status' matches 'succeeded'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"succeeded\");",+ " }"," );","}","",@@ -2033,13 +2039,13 @@" );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"succeeded\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]::/payments:id - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]::/payments:id - Content check if value for 'status' matches 'succeeded'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"succeeded\");",+ " }"," );","}","",@@ -2333,13 +2339,13 @@" );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"succeeded\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]::/payments:id/confirm - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]::/payments:id/confirm - Content check if value for 'status' matches 'succeeded'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"succeeded\");",+ " }"," );","}","",@@ -2505,13 +2511,13 @@" );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"succeeded\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]::/payments:id - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]::/payments:id - Content check if value for 'status' matches 'succeeded'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"succeeded\");",+ " }"," );","}","",@@ -2989,13 +2995,13 @@" );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"partially_captured\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]:://payments/:id/capture - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]:://payments/:id/capture - Content check if value for 'status' matches 'partially_captured'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"partially_captured\");",+ " }"," );","}","",@@ -3097,7 +3103,7 @@"// 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.include(",- " \"application/json\",",+ " \"application/json\""," );","});","",@@ -3117,11 +3123,11 @@" pm.collectionVariables.set(\"payment_id\", jsonData.payment_id);"," console.log("," \"- use {{payment_id}} as collection variable for value\",",- " jsonData.payment_id,",+ " jsonData.payment_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\",",+ " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\""," );","}","",@@ -3130,11 +3136,11 @@" pm.collectionVariables.set(\"mandate_id\", jsonData.mandate_id);"," console.log("," \"- use {{mandate_id}} as collection variable for value\",",- " jsonData.mandate_id,",+ " jsonData.mandate_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\",",+ " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\""," );","}","",@@ -3143,21 +3149,21 @@" pm.collectionVariables.set(\"client_secret\", jsonData.client_secret);"," console.log("," \"- use {{client_secret}} as collection variable for value\",",- " jsonData.client_secret,",+ " jsonData.client_secret"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\",",+ " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\""," );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"partially_captured\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]::/payments - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]::/payments - Content check if value for 'status' matches 'partially_captured'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"partially_captured\");",+ " }"," );","}","",@@ -3172,7 +3178,7 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount' matches '6540'\","," function () {"," pm.expect(jsonData.amount).to.eql(6540);",- " },",+ " }"," );","}","",@@ -3182,7 +3188,7 @@" \"[POST]::/payments:id/capture - Content check if value for 'amount_received' matches '6000'\","," function () {"," pm.expect(jsonData.amount_received).to.eql(6000);",- " },",+ " }"," );","}","",@@ -3192,7 +3198,7 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 'amount - 6540'\","," function () {"," pm.expect(jsonData.amount_capturable).to.eql(6540);",- " },",+ " }"," );","}",""@@ -3411,9 +3417,9 @@" \"[POST]::/payments/:id/capture - Content-Type is application/json\","," function () {"," pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(",- " \"application/json\",",+ " \"application/json\""," );",- " },",+ " }",");","","// Validate if response has JSON Body",@@ -3432,11 +3438,11 @@" pm.collectionVariables.set(\"payment_id\", jsonData.payment_id);"," console.log("," \"- use {{payment_id}} as collection variable for value\",",- " jsonData.payment_id,",+ " jsonData.payment_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\",",+ " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\""," );","}","",@@ -3445,11 +3451,11 @@" pm.collectionVariables.set(\"mandate_id\", jsonData.mandate_id);"," console.log("," \"- use {{mandate_id}} as collection variable for value\",",- " jsonData.mandate_id,",+ " jsonData.mandate_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\",",+ " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\""," );","}","",@@ -3458,21 +3464,21 @@" pm.collectionVariables.set(\"client_secret\", jsonData.client_secret);"," console.log("," \"- use {{client_secret}} as collection variable for value\",",- " jsonData.client_secret,",+ " jsonData.client_secret"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\",",+ " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\""," );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"succeeded\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]:://payments/:id/capture - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]:://payments/:id/capture - Content check if value for 'status' matches 'succeeded'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"succeeded\");",+ " }"," );","}","",@@ -3487,17 +3493,17 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount' matches '6540'\","," function () {"," pm.expect(jsonData.amount).to.eql(6540);",- " },",+ " }"," );","}","",- "// Response body should have value \"6000\" for \"amount_received\"",+ "// Response body should have value \"6540\" for \"amount_received\"","if (jsonData?.amount_received) {"," pm.test(",- " \"[POST]::/payments:id/capture - Content check if value for 'amount_received' matches '6000'\",",+ " \"[POST]::/payments:id/capture - Content check if value for 'amount_received' matches '6540'\","," function () {"," pm.expect(jsonData.amount_received).to.eql(6540);",- " },",+ " }"," );","}","",@@ -3507,19 +3513,10 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 6540\","," function () {"," pm.expect(jsonData.amount_capturable).to.eql(6540);",- " },",+ " }"," );","}","",- "// Response body should have value \"0\" for \"amount_received\"",- "if (jsonData?.amount_received) {",- " pm.test(",- " \"[post]:://payments/:id/capture - Content check if value for 'amount_received' matches 0\",",- " function () {",- " pm.expect(jsonData.amount_received).to.eql(0);",- " },",- " );",- "}",""],"type": "text/javascript"@@ -3584,7 +3581,7 @@"// 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.include(",- " \"application/json\",",+ " \"application/json\""," );","});","",@@ -3604,11 +3601,11 @@" pm.collectionVariables.set(\"payment_id\", jsonData.payment_id);"," console.log("," \"- use {{payment_id}} as collection variable for value\",",- " jsonData.payment_id,",+ " jsonData.payment_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\",",+ " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\""," );","}","",@@ -3617,11 +3614,11 @@" pm.collectionVariables.set(\"mandate_id\", jsonData.mandate_id);"," console.log("," \"- use {{mandate_id}} as collection variable for value\",",- " jsonData.mandate_id,",+ " jsonData.mandate_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\",",+ " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\""," );","}","",@@ -3630,21 +3627,21 @@" pm.collectionVariables.set(\"client_secret\", jsonData.client_secret);"," console.log("," \"- use {{client_secret}} as collection variable for value\",",- " jsonData.client_secret,",+ " jsonData.client_secret"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\",",+ " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\""," );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"succeeded\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]::/payments - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]::/payments - Content check if value for 'status' matches 'succeeded'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"succeeded\");",+ " }"," );","}","",@@ -3659,7 +3656,7 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount' matches '6540'\","," function () {"," pm.expect(jsonData.amount).to.eql(6540);",- " },",+ " }"," );","}","",@@ -3669,7 +3666,7 @@" \"[POST]::/payments:id/capture - Content check if value for 'amount_received' matches '6000'\","," function () {"," pm.expect(jsonData.amount_received).to.eql(6540);",- " },",+ " }"," );","}","",@@ -3679,7 +3676,7 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 'amount - 6540'\","," function () {"," pm.expect(jsonData.amount_capturable).to.eql(6540);",- " },",+ " }"," );","}",""@@ -3898,9 +3895,9 @@" \"[POST]::/payments/:id/capture - Content-Type is application/json\","," function () {"," pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(",- " \"application/json\",",+ " \"application/json\""," );",- " },",+ " }",");","","// Validate if response has JSON Body",@@ -3919,11 +3916,11 @@" pm.collectionVariables.set(\"payment_id\", jsonData.payment_id);"," console.log("," \"- use {{payment_id}} as collection variable for value\",",- " jsonData.payment_id,",+ " jsonData.payment_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\",",+ " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\""," );","}","",@@ -3932,11 +3929,11 @@" pm.collectionVariables.set(\"mandate_id\", jsonData.mandate_id);"," console.log("," \"- use {{mandate_id}} as collection variable for value\",",- " jsonData.mandate_id,",+ " jsonData.mandate_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\",",+ " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\""," );","}","",@@ -3945,21 +3942,21 @@" pm.collectionVariables.set(\"client_secret\", jsonData.client_secret);"," console.log("," \"- use {{client_secret}} as collection variable for value\",",- " jsonData.client_secret,",+ " jsonData.client_secret"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\",",+ " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\""," );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"partially_captured\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]:://payments/:id/capture - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]:://payments/:id/capture - Content check if value for 'status' matches 'partially_captured'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"partially_captured\");",+ " }"," );","}","",@@ -3974,7 +3971,7 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount' matches '6540'\","," function () {"," pm.expect(jsonData.amount).to.eql(6540);",- " },",+ " }"," );","}","",@@ -3984,7 +3981,7 @@" \"[POST]::/payments:id/capture - Content check if value for 'amount_received' matches '6000'\","," function () {"," pm.expect(jsonData.amount_received).to.eql(6000);",- " },",+ " }"," );","}","",@@ -3994,7 +3991,7 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 6540\","," function () {"," pm.expect(jsonData.amount_capturable).to.eql(6540);",- " },",+ " }"," );","}",""@@ -4061,7 +4058,7 @@"// 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.include(",- " \"application/json\",",+ " \"application/json\""," );","});","",@@ -4081,11 +4078,11 @@" pm.collectionVariables.set(\"payment_id\", jsonData.payment_id);"," console.log("," \"- use {{payment_id}} as collection variable for value\",",- " jsonData.payment_id,",+ " jsonData.payment_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\",",+ " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\""," );","}","",@@ -4094,11 +4091,11 @@" pm.collectionVariables.set(\"mandate_id\", jsonData.mandate_id);"," console.log("," \"- use {{mandate_id}} as collection variable for value\",",- " jsonData.mandate_id,",+ " jsonData.mandate_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\",",+ " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\""," );","}","",@@ -4107,21 +4104,21 @@" pm.collectionVariables.set(\"client_secret\", jsonData.client_secret);"," console.log("," \"- use {{client_secret}} as collection variable for value\",",- " jsonData.client_secret,",+ " jsonData.client_secret"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\",",+ " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\""," );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"partially_captured\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]::/payments - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]::/payments - Content check if value for 'status' matches 'partially_captured'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"partially_captured\");",+ " }"," );","}","",@@ -4136,7 +4133,7 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount' matches '6540'\","," function () {"," pm.expect(jsonData.amount).to.eql(6540);",- " },",+ " }"," );","}","",@@ -4146,7 +4143,7 @@" \"[POST]::/payments:id/capture - Content check if value for 'amount_received' matches '6000'\","," function () {"," pm.expect(jsonData.amount_received).to.eql(6000);",- " },",+ " }"," );","}","",@@ -4156,7 +4153,7 @@" \"[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 'amount - 6540'\","," function () {"," pm.expect(jsonData.amount_capturable).to.eql(6540);",- " },",+ " }"," );","}",""@@ -6731,13 +6728,13 @@" );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"succeeded\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]::/payments - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]::/payments - Content check if value for 'status' matches 'succeeded'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"succeeded\");",+ " }"," );","}",""@@ -6938,7 +6935,7 @@"// 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(",- " \"application/json\",",+ " \"application/json\""," );","});","",@@ -6958,11 +6955,11 @@" pm.collectionVariables.set(\"payment_id\", jsonData.payment_id);"," console.log("," \"- use {{payment_id}} as collection variable for value\",",- " jsonData.payment_id,",+ " jsonData.payment_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\",",+ " \"INFO - Unable to assign variable {{payment_id}}, as jsonData.payment_id is undefined.\""," );","}","",@@ -6971,11 +6968,11 @@" pm.collectionVariables.set(\"mandate_id\", jsonData.mandate_id);"," console.log("," \"- use {{mandate_id}} as collection variable for value\",",- " jsonData.mandate_id,",+ " jsonData.mandate_id"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\",",+ " \"INFO - Unable to assign variable {{mandate_id}}, as jsonData.mandate_id is undefined.\""," );","}","",@@ -6984,21 +6981,21 @@" pm.collectionVariables.set(\"client_secret\", jsonData.client_secret);"," console.log("," \"- use {{client_secret}} as collection variable for value\",",- " jsonData.client_secret,",+ " jsonData.client_secret"," );","} else {"," console.log(",- " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\",",+ " \"INFO - Unable to assign variable {{client_secret}}, as jsonData.client_secret is undefined.\""," );","}","",- "// Response body should have value \"processing\" for \"status\"",+ "// Response body should have value \"succeeded\" for \"status\"","if (jsonData?.status) {"," pm.test(",- " \"[POST]::/payments - Content check if value for 'status' matches 'processing'\",",+ " \"[POST]::/payments - Content check if value for 'status' matches 'succeeded'\","," function () {",- " pm.expect(jsonData.status).to.eql(\"processing\");",- " },",+ " pm.expect(jsonData.status).to.eql(\"succeeded\");",+ " }"," );","}",""