Skip to content

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

test(postman): update postman collection files

github-actionsb30d82d9398c
diff --git a/postman/collection-json/paypal.postman_collection.json b/postman/collection-json/paypal.postman_collection.json
index 7088171f71..46cc8dc53a 100644
--- a/postman/collection-json/paypal.postman_collection.json
+++ b/postman/collection-json/paypal.postman_collection.json
@@ -1187,12 +1187,12 @@
" );",
"}",
"",
- "// Response body should have value \"6540\" for \"amount_capturable\"",
+ "// Response body should have value \"0\" for \"amount_capturable\"",
"if (jsonData?.amount) {",
" pm.test(",
" \"[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 'amount - 0'\",",
" function () {",
- " pm.expect(jsonData.amount_capturable).to.eql(6540);",
+ " pm.expect(jsonData.amount_capturable).to.eql(0);",
" },",
" );",
"}",
@@ -1359,12 +1359,12 @@
" );",
"}",
"",
- "// Response body should have value \"6540\" for \"amount_capturable\"",
+ "// Response body should have value \"0\" for \"amount_capturable\"",
"if (jsonData?.amount) {",
" pm.test(",
" \"[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 'amount - 0'\",",
" function () {",
- " pm.expect(jsonData.amount_capturable).to.eql(6540);",
+ " pm.expect(jsonData.amount_capturable).to.eql(0);",
" },",
" );",
"}",
@@ -1659,12 +1659,12 @@
" );",
"}",
"",
- "// Response body should have value \"6540\" for \"amount_capturable\"",
+ "// Response body should have value \"0\" for \"amount_capturable\"",
"if (jsonData?.amount) {",
" pm.test(",
" \"[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 'amount - 0'\",",
" function () {",
- " pm.expect(jsonData.amount_capturable).to.eql(6540);",
+ " pm.expect(jsonData.amount_capturable).to.eql(0);",
" },",
" );",
"}",
@@ -1831,12 +1831,12 @@
" );",
"}",
"",
- "// Response body should have value \"6540\" for \"amount_capturable\"",
+ "// Response body should have value \"0\" for \"amount_capturable\"",
"if (jsonData?.amount) {",
" pm.test(",
" \"[post]:://payments/:id/capture - Content check if value for 'amount_capturable' matches 'amount - 0'\",",
" function () {",
- " pm.expect(jsonData.amount_capturable).to.eql(6540);",
+ " pm.expect(jsonData.amount_capturable).to.eql(0);",
" },",
" );",
"}",