diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 0000000..6d1fd43
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/csv-plugin.xml b/.idea/csv-plugin.xml
new file mode 100644
index 0000000..605c084
--- /dev/null
+++ b/.idea/csv-plugin.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
new file mode 100644
index 0000000..3783dc1
--- /dev/null
+++ b/.idea/jarRepositories.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..aee66f5
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.java-version b/.java-version
new file mode 100644
index 0000000..98d9bcb
--- /dev/null
+++ b/.java-version
@@ -0,0 +1 @@
+17
diff --git a/logs/application.log b/logs/application.log
new file mode 100644
index 0000000..921e9aa
--- /dev/null
+++ b/logs/application.log
@@ -0,0 +1,291 @@
+05/27/22 16:24:01,75: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 17:01:03,649: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:12:37,221: [main] ERROR (ApiClient:1304) - ApiException : 404 Not Found
+05/27/22 17:12:41,01: [main] ERROR (ApiClient:1304) - ApiException : 404 Not Found
+05/27/22 17:12:44,748: [main] ERROR (ApiClient:1304) - ApiException : 404 Not Found
+05/27/22 17:12:49,55: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 17:12:53,361: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 17:13:00,936: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 17:13:18,168: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 17:13:42,978: [main] ERROR (MerchantConfig:391) - ConfigException : Portfolio ID is mandatory
+05/27/22 17:13:53,324: [main] ERROR (MerchantConfig:399) - ConfigException : Client Certificate is mandatory
+05/27/22 17:15:22,874: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 17:15:27,174: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:15:34,850: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:15:57,470: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:16:01,440: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:16:05,856: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:16:29,953: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:16:41,894: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:16:57,901: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:17:02,150: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 17:17:46,516: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 17:17:58,643: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:18:11,864: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 17:19:43,346: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:21:14,536: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 17:21:34,555: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 17:21:39,230: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 17:21:43,475: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 17:22:16,322: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 17:22:28,411: [main] ERROR (ApiClient:1304) - ApiException : 405 Method Not Allowed
+05/27/22 17:22:37,123: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 17:22:49,235: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 17:24:43,637: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 17:24:47,640: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 17:24:51,382: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 17:24:55,357: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 17:25:35,19: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 17:25:38,789: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 17:26:04,487: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:26:19,164: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:27:06,213: [main] ERROR (ApiClient:1304) - ApiException : 409
+05/27/22 17:31:56,143: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:56:57,764: [main] ERROR (ApiClient:1304) - ApiException : 404 Not Found
+05/27/22 17:57:01,525: [main] ERROR (ApiClient:1304) - ApiException : 404 Not Found
+05/27/22 17:57:05,300: [main] ERROR (ApiClient:1304) - ApiException : 404 Not Found
+05/27/22 17:57:09,795: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 17:57:14,235: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 17:57:21,850: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 17:57:39,327: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 17:58:04,243: [main] ERROR (MerchantConfig:391) - ConfigException : Portfolio ID is mandatory
+05/27/22 17:58:14,622: [main] ERROR (MerchantConfig:399) - ConfigException : Client Certificate is mandatory
+05/27/22 17:59:44,181: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 17:59:48,476: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 17:59:56,186: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:00:19,48: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:00:22,978: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:00:27,380: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:00:51,743: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:01:03,747: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:01:19,951: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:01:24,323: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:02:09,367: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:02:21,512: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:02:35,12: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:04:07,151: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:05:39,326: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:05:45,206: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:05:50,139: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:05:59,330: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:06:03,947: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:06:08,244: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:06:40,752: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:06:53,253: [main] ERROR (ApiClient:1304) - ApiException : 405 Method Not Allowed
+05/27/22 18:07:01,871: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:07:14,44: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:09:09,676: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:09:13,796: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:09:17,592: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:09:21,600: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:10:01,831: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:10:05,610: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:10:31,461: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:10:46,384: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:11:34,254: [main] ERROR (ApiClient:1304) - ApiException : 409
+05/27/22 18:24:40,427: [main] ERROR (ApiClient:1304) - ApiException : 404 Not Found
+05/27/22 18:24:44,224: [main] ERROR (ApiClient:1304) - ApiException : 404 Not Found
+05/27/22 18:24:48,34: [main] ERROR (ApiClient:1304) - ApiException : 404 Not Found
+05/27/22 18:24:52,453: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:24:56,962: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:25:04,610: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:25:22,367: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:25:46,951: [main] ERROR (MerchantConfig:391) - ConfigException : Portfolio ID is mandatory
+05/27/22 18:25:57,285: [main] ERROR (MerchantConfig:399) - ConfigException : Client Certificate is mandatory
+05/27/22 18:27:26,605: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:27:30,822: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:27:38,577: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:28:01,206: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:28:05,151: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:28:09,412: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:28:33,503: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:28:45,641: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:29:02,121: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:29:06,412: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:29:51,304: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:30:03,403: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:30:16,667: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:31:49,354: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:33:21,558: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:33:27,456: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:33:32,345: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:33:41,610: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:33:46,389: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:33:50,604: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:34:23,607: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:34:36,102: [main] ERROR (ApiClient:1304) - ApiException : 405 Method Not Allowed
+05/27/22 18:34:44,809: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:34:56,902: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:36:51,930: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:36:55,929: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:36:59,696: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:37:03,773: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:37:44,17: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 18:37:47,836: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:38:14,317: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:38:29,200: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:39:17,756: [main] ERROR (ApiClient:1304) - ApiException : 409
+05/27/22 18:51:05,413: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:51:41,734: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:51:59,586: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 18:52:04,636: [main] ERROR (ApiClient:1304) - ApiException : 404 Not Found
+05/27/22 18:52:08,722: [main] ERROR (ApiClient:1304) - ApiException : 404 Not Found
+05/27/22 18:52:12,490: [main] ERROR (ApiClient:1304) - ApiException : 404 Not Found
+05/27/22 18:52:16,927: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 18:52:21,310: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 18:52:25,87: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 18:52:29,111: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 18:52:46,551: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 18:52:52,93: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:52:52,731: [main] ERROR (MerchantConfig:391) - ConfigException : Portfolio ID is mandatory
+05/27/22 18:53:03,86: [main] ERROR (MerchantConfig:399) - ConfigException : Client Certificate is mandatory
+05/27/22 18:53:51,820: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:54:29,21: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:54:33,342: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 18:54:45,374: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:54:59,106: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:07,391: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:11,341: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:15,831: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:19,748: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:23,652: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:27,543: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:31,443: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:35,399: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:39,404: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:43,408: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:47,278: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:51,135: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:55:55,73: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:56:03,37: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:56:06,928: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:56:11,230: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 18:56:16,77: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:56:20,203: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:56:24,136: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:56:28,97: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:56:32,330: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:56:36,247: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:56:44,519: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:56:52,641: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:56:57,115: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:57:05,456: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:57:09,338: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:57:13,312: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:57:22,859: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:57:27,145: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:57:31,95: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:57:34,992: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:57:43,529: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:57:47,709: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:57:51,719: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:57:56,65: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:58:00,118: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:58:04,116: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:58:08,318: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:58:12,541: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:58:16,493: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:58:21,11: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:58:25,220: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:58:29,337: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:58:33,438: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:58:37,323: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:58:41,542: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:58:45,450: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:58:49,383: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:58:53,367: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:58:57,343: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:59:01,454: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:59:05,372: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:59:09,352: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:59:13,643: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:59:17,634: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 18:59:21,804: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:59:26,68: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:59:30,193: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:59:34,178: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:59:38,352: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:59:42,314: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 18:59:50,525: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 18:59:59,452: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 19:00:03,333: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 19:00:07,589: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:00:11,353: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:00:18,854: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:00:27,67: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:00:31,348: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:00:36,533: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 19:00:37,459: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 19:00:41,568: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 19:00:42,819: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 19:00:44,41: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:00:48,853: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:00:53,102: [main] ERROR (ApiClient:1304) - ApiException : 400
+05/27/22 19:01:05,914: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:01:06,640: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:01:10,409: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:01:14,161: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:01:17,912: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:01:22,132: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:01:26,591: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:01:30,346: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:01:34,556: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:01:39,22: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 19:01:43,457: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 19:01:47,366: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 19:01:51,392: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 19:01:55,849: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 19:01:59,760: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 19:02:03,650: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 19:02:07,633: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 19:02:58,37: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:03:01,772: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:03:05,525: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:03:09,278: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:03:13,19: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:03:13,752: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:03:17,495: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:03:22,107: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 19:03:26,822: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:03:30,566: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:03:31,313: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:03:35,67: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:03:38,814: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:03:42,554: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:03:46,810: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:03:54,491: [main] ERROR (ApiClient:1304) - ApiException : 404
+05/27/22 19:04:15,838: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 19:04:16,783: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 19:04:20,722: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 19:04:24,600: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 19:04:28,530: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 19:04:32,732: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:04:36,493: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:04:40,687: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:04:45,355: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 19:04:46,298: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 19:04:47,477: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 19:04:49,00: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 19:04:50,132: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 19:04:51,224: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 19:04:52,287: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 19:04:54,08: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 19:04:55,132: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 19:04:56,337: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 19:04:57,306: [main] ERROR (ApiClient:1304) - ApiException : 400 Bad Request
+05/27/22 19:05:01,314: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 19:05:02,458: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 19:05:03,659: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:05:07,404: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:05:11,150: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:05:14,884: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:05:18,632: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:05:19,364: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:05:23,122: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:05:26,877: [main] ERROR (ApiClient:1304) - ApiException : 403
+05/27/22 19:21:38,332: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 20:31:33,439: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 20:31:52,382: [main] ERROR (ApiClient:1304) - ApiException : 502 Bad Gateway
+05/27/22 20:32:14,349: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 20:32:30,678: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
+05/27/22 20:32:53,868: [main] ERROR (ApiClient:1304) - ApiException : 500 Internal Server Error
diff --git a/src/main/java/Custom/ProcessPayment.java b/src/main/java/Custom/ProcessPayment.java
new file mode 100644
index 0000000..04bd690
--- /dev/null
+++ b/src/main/java/Custom/ProcessPayment.java
@@ -0,0 +1,87 @@
+package Custom;
+
+import Api.PaymentsApi;
+import Invokers.ApiClient;
+import Model.*;
+import com.cybersource.authsdk.core.MerchantConfig;
+import samples.authentication.Data.Configuration;
+
+import java.util.Properties;
+
+public class ProcessPayment {
+ private static String responseCode = null;
+ private static String status = null;
+ private static Properties merchantProp;
+ public static boolean userCapture = false;
+
+ public static void main(String args[]) throws Exception {
+ run();
+ }
+
+ public static PtsV2PaymentsPost201Response run() {
+
+ CreatePaymentRequest requestObj = new CreatePaymentRequest();
+
+ Ptsv2paymentsClientReferenceInformation clientReferenceInformation = new Ptsv2paymentsClientReferenceInformation();
+ clientReferenceInformation.code("TC50171_4");
+ requestObj.clientReferenceInformation(clientReferenceInformation);
+
+ Ptsv2paymentsProcessingInformation processingInformation = new Ptsv2paymentsProcessingInformation();
+ processingInformation.capture(false);
+ if (userCapture) {
+ processingInformation.capture(true);
+ }
+
+ requestObj.processingInformation(processingInformation);
+
+ Ptsv2paymentsPaymentInformation paymentInformation = new Ptsv2paymentsPaymentInformation();
+ Ptsv2paymentsPaymentInformationCard paymentInformationCard = new Ptsv2paymentsPaymentInformationCard();
+ paymentInformationCard.number("4111111111111111");
+ paymentInformationCard.expirationMonth("12");
+ paymentInformationCard.expirationYear("2031");
+ paymentInformation.card(paymentInformationCard);
+
+ requestObj.paymentInformation(paymentInformation);
+
+ Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
+ Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
+ orderInformationAmountDetails.totalAmount("2222.21");
+ orderInformationAmountDetails.currency("USD");
+ orderInformation.amountDetails(orderInformationAmountDetails);
+
+ Ptsv2paymentsOrderInformationBillTo orderInformationBillTo = new Ptsv2paymentsOrderInformationBillTo();
+ orderInformationBillTo.firstName("John");
+ orderInformationBillTo.lastName("Doe");
+ orderInformationBillTo.address1("1 Market St");
+ orderInformationBillTo.locality("san francisco");
+ orderInformationBillTo.administrativeArea("CA");
+ orderInformationBillTo.postalCode("94105");
+ orderInformationBillTo.country("US");
+ orderInformationBillTo.email("test@cybs.com");
+ orderInformationBillTo.phoneNumber("4158880000");
+ orderInformation.billTo(orderInformationBillTo);
+
+ requestObj.orderInformation(orderInformation);
+
+ PtsV2PaymentsPost201Response result = null;
+ try {
+ merchantProp = Configuration.getMerchantDetails();
+ ApiClient apiClient = new ApiClient();
+ MerchantConfig merchantConfig = new MerchantConfig(merchantProp);
+ apiClient.merchantConfig = merchantConfig;
+
+ PaymentsApi apiInstance = new PaymentsApi(apiClient);
+ result = apiInstance.createPayment(requestObj);
+
+ responseCode = apiClient.responseCode;
+ status = apiClient.status;
+ System.out.println("ResponseCode :" + responseCode);
+ System.out.println("ResponseMessage :" + status);
+ System.out.println(result);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/Custom/RefundPayment.java b/src/main/java/Custom/RefundPayment.java
new file mode 100644
index 0000000..3533020
--- /dev/null
+++ b/src/main/java/Custom/RefundPayment.java
@@ -0,0 +1,69 @@
+package Custom;
+
+import java.*;
+import java.util.*;
+import java.math.BigDecimal;
+import org.joda.time.DateTime;
+import org.joda.time.DateTimeZone;
+import org.joda.time.LocalDate;
+
+import com.google.common.base.Strings;
+import com.cybersource.authsdk.core.MerchantConfig;
+
+import Api.*;
+import Data.Configuration;
+import Invokers.ApiClient;
+import Invokers.ApiException;
+import Model.*;
+import samples.Payments.Payments.SimpleAuthorizationInternet;
+
+public class RefundPayment {
+ private static String responseCode = null;
+ private static String status = null;
+ private static Properties merchantProp;
+
+ public static void main(String args[]) throws Exception {
+ run();
+ }
+
+ public static PtsV2PaymentsRefundPost201Response run() {
+ SimpleAuthorizationInternet.userCapture = true;
+ PtsV2PaymentsPost201Response paymentResponse = SimpleAuthorizationInternet.run();
+ String id = paymentResponse.getId();
+
+ RefundPaymentRequest requestObj = new RefundPaymentRequest();
+
+ Ptsv2paymentsClientReferenceInformation clientReferenceInformation = new Ptsv2paymentsClientReferenceInformation();
+ clientReferenceInformation.code("TEST_OUSSAMA");
+ requestObj.clientReferenceInformation(clientReferenceInformation);
+
+ Ptsv2paymentsidrefundsOrderInformation orderInformation = new Ptsv2paymentsidrefundsOrderInformation();
+ Ptsv2paymentsidcapturesOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsidcapturesOrderInformationAmountDetails();
+ orderInformationAmountDetails.totalAmount("10");
+ orderInformationAmountDetails.currency("USD");
+ orderInformation.amountDetails(orderInformationAmountDetails);
+
+ requestObj.orderInformation(orderInformation);
+
+ PtsV2PaymentsRefundPost201Response result = null;
+ try {
+ merchantProp = Configuration.getMerchantDetails();
+ ApiClient apiClient = new ApiClient();
+ MerchantConfig merchantConfig = new MerchantConfig(merchantProp);
+ apiClient.merchantConfig = merchantConfig;
+
+ RefundApi apiInstance = new RefundApi(apiClient);
+ result = apiInstance.refundPayment(requestObj, id);
+
+ responseCode = apiClient.responseCode;
+ status = apiClient.status;
+ System.out.println("ResponseCode :" + responseCode);
+ System.out.println("ResponseMessage :" + status);
+ System.out.println(result);
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return result;
+ }
+}
diff --git a/src/main/java/Data/Configuration.java b/src/main/java/Data/Configuration.java
index 62343d1..bd30aed 100644
--- a/src/main/java/Data/Configuration.java
+++ b/src/main/java/Data/Configuration.java
@@ -8,7 +8,7 @@ public static Properties getMerchantDetails() {
// HTTP_Signature = http_signature and JWT = jwt
props.setProperty("authenticationType", "http_signature");
- props.setProperty("merchantID", "testrest");
+ props.setProperty("merchantID", "mirakl_slush0001");
props.setProperty("runEnvironment", "apitest.cybersource.com");
props.setProperty("requestJsonPath", "src/main/resources/request.json");
@@ -25,8 +25,10 @@ public static Properties getMerchantDetails() {
props.setProperty("keysDirectory", "src/main/resources");
// HTTP Parameters
- props.setProperty("merchantKeyId", "08c94330-f618-42a3-b09d-e1e43be5efda");
- props.setProperty("merchantsecretKey", "yBJxy6LjM2TmcPGu+GaJrHtkke25fPpUX+UY6/L/1tE=");
+ props.setProperty("merchantKeyId", "fe0c55d7-2525-4809-93bd-9746d10d5923");
+ props.setProperty("merchantsecretKey", "5JP/dtU7sJiZ9UrjQBvCXzOBIQwGlef19AVW90hp1Fs=");
+ props.setProperty("useMetaKey", "false");
+ props.setProperty("enableClientCert", "false");
// Logging to be enabled or not.
props.setProperty("enableLog", "true");
// Log directory Path
diff --git a/src/main/java/samples/Payments/Capture/CapturePayment.java b/src/main/java/samples/Payments/Capture/CapturePayment.java
index 92ed408..5436836 100644
--- a/src/main/java/samples/Payments/Capture/CapturePayment.java
+++ b/src/main/java/samples/Payments/Capture/CapturePayment.java
@@ -33,12 +33,12 @@ public static PtsV2PaymentsCapturesPost201Response run() {
CapturePaymentRequest requestObj = new CapturePaymentRequest();
Ptsv2paymentsClientReferenceInformation clientReferenceInformation = new Ptsv2paymentsClientReferenceInformation();
- clientReferenceInformation.code("TC50171_3");
+ clientReferenceInformation.code("OUSSAMA_TEST");
requestObj.clientReferenceInformation(clientReferenceInformation);
Ptsv2paymentsidcapturesOrderInformation orderInformation = new Ptsv2paymentsidcapturesOrderInformation();
Ptsv2paymentsidcapturesOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsidcapturesOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("103.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationCaptureForTimeoutVoidFlow.java b/src/main/java/samples/Payments/Payments/AuthorizationCaptureForTimeoutVoidFlow.java
index f3c0e6e..6a892fa 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationCaptureForTimeoutVoidFlow.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationCaptureForTimeoutVoidFlow.java
@@ -56,7 +56,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("104.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationForIncrementalAuthorizationFlow.java b/src/main/java/samples/Payments/Payments/AuthorizationForIncrementalAuthorizationFlow.java
index 8143b77..d55fd4e 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationForIncrementalAuthorizationFlow.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationForIncrementalAuthorizationFlow.java
@@ -38,7 +38,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsPaymentInformationCard paymentInformationCard = new Ptsv2paymentsPaymentInformationCard();
paymentInformationCard.number("4111111111111111");
paymentInformationCard.expirationMonth("12");
- paymentInformationCard.expirationYear("2021");
+ paymentInformationCard.expirationYear("2025");
paymentInformationCard.type("001");
paymentInformation.card(paymentInformationCard);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationForTimeoutReversalFlow.java b/src/main/java/samples/Payments/Payments/AuthorizationForTimeoutReversalFlow.java
index 247b923..b5240d8 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationForTimeoutReversalFlow.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationForTimeoutReversalFlow.java
@@ -60,7 +60,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("105.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationWithCaptureSale.java b/src/main/java/samples/Payments/Payments/AuthorizationWithCaptureSale.java
index 641beed..e3feb60 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationWithCaptureSale.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationWithCaptureSale.java
@@ -30,7 +30,7 @@ public static PtsV2PaymentsPost201Response run() {
CreatePaymentRequest requestObj = new CreatePaymentRequest();
Ptsv2paymentsClientReferenceInformation clientReferenceInformation = new Ptsv2paymentsClientReferenceInformation();
- clientReferenceInformation.code("TC50171_3");
+ clientReferenceInformation.code("TC50171_4");
requestObj.clientReferenceInformation(clientReferenceInformation);
Ptsv2paymentsProcessingInformation processingInformation = new Ptsv2paymentsProcessingInformation();
@@ -41,14 +41,14 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsPaymentInformationCard paymentInformationCard = new Ptsv2paymentsPaymentInformationCard();
paymentInformationCard.number("4111111111111111");
paymentInformationCard.expirationMonth("12");
- paymentInformationCard.expirationYear("2031");
+ paymentInformationCard.expirationYear("2032");
paymentInformation.card(paymentInformationCard);
requestObj.paymentInformation(paymentInformation);
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("10002.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerPaymentInstrumentAndShippingAddressTokenId.java b/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerPaymentInstrumentAndShippingAddressTokenId.java
index 836d363..6dd17db 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerPaymentInstrumentAndShippingAddressTokenId.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerPaymentInstrumentAndShippingAddressTokenId.java
@@ -50,7 +50,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("106.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerTokenCreation.java b/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerTokenCreation.java
index 55d6bce..e5039c7 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerTokenCreation.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerTokenCreation.java
@@ -61,7 +61,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("107.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerTokenDefaultPaymentInstrumentAndShippingAddressCreation.java b/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerTokenDefaultPaymentInstrumentAndShippingAddressCreation.java
index 54193df..42e2253 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerTokenDefaultPaymentInstrumentAndShippingAddressCreation.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerTokenDefaultPaymentInstrumentAndShippingAddressCreation.java
@@ -64,7 +64,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("108.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerTokenId.java b/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerTokenId.java
index 05cda9e..25acb2b 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerTokenId.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationWithCustomerTokenId.java
@@ -42,7 +42,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("109.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationWithDMRejectPAEnroll.java b/src/main/java/samples/Payments/Payments/AuthorizationWithDMRejectPAEnroll.java
index c268588..a31ea32 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationWithDMRejectPAEnroll.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationWithDMRejectPAEnroll.java
@@ -54,7 +54,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("110.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationWithDMReviewPAEnroll.java b/src/main/java/samples/Payments/Payments/AuthorizationWithDMReviewPAEnroll.java
index 6027872..31edc6b 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationWithDMReviewPAEnroll.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationWithDMReviewPAEnroll.java
@@ -54,7 +54,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("111.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationWithDecisionManagerBuyerInformation.java b/src/main/java/samples/Payments/Payments/AuthorizationWithDecisionManagerBuyerInformation.java
index f3d818e..1edff79 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationWithDecisionManagerBuyerInformation.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationWithDecisionManagerBuyerInformation.java
@@ -37,7 +37,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsPaymentInformationCard paymentInformationCard = new Ptsv2paymentsPaymentInformationCard();
paymentInformationCard.number("4444444444444448");
paymentInformationCard.expirationMonth("12");
- paymentInformationCard.expirationYear("2020");
+ paymentInformationCard.expirationYear("2025");
paymentInformation.card(paymentInformationCard);
requestObj.paymentInformation(paymentInformation);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationWithInstrumentIdentifierTokenCreation.java b/src/main/java/samples/Payments/Payments/AuthorizationWithInstrumentIdentifierTokenCreation.java
index 1f45b22..e550839 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationWithInstrumentIdentifierTokenCreation.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationWithInstrumentIdentifierTokenCreation.java
@@ -60,7 +60,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("112.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/AuthorizationWithTMSTokenBypassingNetworkToken.java b/src/main/java/samples/Payments/Payments/AuthorizationWithTMSTokenBypassingNetworkToken.java
index 319589b..8e9c161 100644
--- a/src/main/java/samples/Payments/Payments/AuthorizationWithTMSTokenBypassingNetworkToken.java
+++ b/src/main/java/samples/Payments/Payments/AuthorizationWithTMSTokenBypassingNetworkToken.java
@@ -42,7 +42,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("113.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/PaymentWithFlexToken.java b/src/main/java/samples/Payments/Payments/PaymentWithFlexToken.java
index e17fbd9..0f6c4a3 100644
--- a/src/main/java/samples/Payments/Payments/PaymentWithFlexToken.java
+++ b/src/main/java/samples/Payments/Payments/PaymentWithFlexToken.java
@@ -35,7 +35,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("114.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/PaymentWithFlexTokenCreatePermanentTMSToken.java b/src/main/java/samples/Payments/Payments/PaymentWithFlexTokenCreatePermanentTMSToken.java
index a7692c0..f253bd7 100644
--- a/src/main/java/samples/Payments/Payments/PaymentWithFlexTokenCreatePermanentTMSToken.java
+++ b/src/main/java/samples/Payments/Payments/PaymentWithFlexTokenCreatePermanentTMSToken.java
@@ -51,7 +51,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("115.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Payments/SimpleAuthorizationInternet.java b/src/main/java/samples/Payments/Payments/SimpleAuthorizationInternet.java
index dd2880d..39d3f55 100644
--- a/src/main/java/samples/Payments/Payments/SimpleAuthorizationInternet.java
+++ b/src/main/java/samples/Payments/Payments/SimpleAuthorizationInternet.java
@@ -53,7 +53,7 @@ public static PtsV2PaymentsPost201Response run() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("116.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Refund/RefundCapture.java b/src/main/java/samples/Payments/Refund/RefundCapture.java
index 4b8c61d..eea90a6 100644
--- a/src/main/java/samples/Payments/Refund/RefundCapture.java
+++ b/src/main/java/samples/Payments/Refund/RefundCapture.java
@@ -38,7 +38,7 @@ public static PtsV2PaymentsRefundPost201Response run() {
Ptsv2paymentsidrefundsOrderInformation orderInformation = new Ptsv2paymentsidrefundsOrderInformation();
Ptsv2paymentsidcapturesOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsidcapturesOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("2.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/Payments/Reversal/ProcessAuthorizationReversal.java b/src/main/java/samples/Payments/Reversal/ProcessAuthorizationReversal.java
index dc3bfc9..f564e76 100644
--- a/src/main/java/samples/Payments/Reversal/ProcessAuthorizationReversal.java
+++ b/src/main/java/samples/Payments/Reversal/ProcessAuthorizationReversal.java
@@ -38,7 +38,7 @@ public static PtsV2PaymentsReversalsPost201Response run() {
Ptsv2paymentsidreversalsReversalInformation reversalInformation = new Ptsv2paymentsidreversalsReversalInformation();
Ptsv2paymentsidreversalsReversalInformationAmountDetails reversalInformationAmountDetails = new Ptsv2paymentsidreversalsReversalInformationAmountDetails();
- reversalInformationAmountDetails.totalAmount("102.21");
+ reversalInformationAmountDetails.totalAmount("117.21");
reversalInformation.amountDetails(reversalInformationAmountDetails);
reversalInformation.reason("testing");
diff --git a/src/main/java/samples/Payments/Reversal/TimeoutReversal.java b/src/main/java/samples/Payments/Reversal/TimeoutReversal.java
index f32db6b..b9671dc 100644
--- a/src/main/java/samples/Payments/Reversal/TimeoutReversal.java
+++ b/src/main/java/samples/Payments/Reversal/TimeoutReversal.java
@@ -38,7 +38,7 @@ public static PtsV2PaymentsReversalsPost201Response run() {
Ptsv2paymentsidreversalsReversalInformation reversalInformation = new Ptsv2paymentsidreversalsReversalInformation();
Ptsv2paymentsidreversalsReversalInformationAmountDetails reversalInformationAmountDetails = new Ptsv2paymentsidreversalsReversalInformationAmountDetails();
- reversalInformationAmountDetails.totalAmount("102.21");
+ reversalInformationAmountDetails.totalAmount("118.21");
reversalInformation.amountDetails(reversalInformationAmountDetails);
reversalInformation.reason("testing");
diff --git a/src/main/java/samples/Reporting/Reports/RetrieveAvailableReports.java b/src/main/java/samples/Reporting/Reports/RetrieveAvailableReports.java
index 2b98439..c944fb7 100644
--- a/src/main/java/samples/Reporting/Reports/RetrieveAvailableReports.java
+++ b/src/main/java/samples/Reporting/Reports/RetrieveAvailableReports.java
@@ -28,8 +28,8 @@ public static void main(String args[]) throws Exception {
public static ReportingV3ReportsGet200Response run() {
String organizationId = null;
- DateTime startTime = new DateTime("2021-04-01T00:00:00Z").withZone(DateTimeZone.forID("GMT"));
- DateTime endTime = new DateTime("2021-04-03T23:59:59Z").withZone(DateTimeZone.forID("GMT"));
+ DateTime startTime = new DateTime("2022-05-27T00:00:00Z").withZone(DateTimeZone.forID("GMT"));
+ DateTime endTime = new DateTime("2022-05-27T23:59:59Z").withZone(DateTimeZone.forID("GMT"));
String timeQueryType = "executedTime";
String reportMimeType = "application/xml";
String reportFrequency = null;
@@ -47,7 +47,7 @@ public static ReportingV3ReportsGet200Response run() {
result = apiInstance.searchReports(startTime, endTime, timeQueryType, organizationId, reportMimeType, reportFrequency, reportName, null, reportStatus);
responseCode = apiClient.responseCode;
- status = apiClient.status;
+ status = apiClient.respBody;
System.out.println("ResponseCode :" + responseCode);
System.out.println("ResponseMessage :" + status);
System.out.println(result);
diff --git a/src/main/java/samples/authentication/AuthSampleCode/PostGenerateHeaders.java b/src/main/java/samples/authentication/AuthSampleCode/PostGenerateHeaders.java
index 65e4cb5..aa6e56d 100644
--- a/src/main/java/samples/authentication/AuthSampleCode/PostGenerateHeaders.java
+++ b/src/main/java/samples/authentication/AuthSampleCode/PostGenerateHeaders.java
@@ -80,7 +80,7 @@ public class PostGenerateHeaders {
" \"email\": \"test@cybs.com\"\r\n" +
" },\r\n" +
" \"amountDetails\": {\r\n" +
- " \"totalAmount\": \"102.21\",\r\n" +
+ " \"totalAmount\": \"202.21\",\r\n" +
" \"currency\": \"USD\"\r\n" +
" }\r\n" +
" },\r\n" +
diff --git a/src/main/java/samples/authentication/AuthSampleCode/PostMethod.java b/src/main/java/samples/authentication/AuthSampleCode/PostMethod.java
index 6fca6c5..111287f 100644
--- a/src/main/java/samples/authentication/AuthSampleCode/PostMethod.java
+++ b/src/main/java/samples/authentication/AuthSampleCode/PostMethod.java
@@ -27,7 +27,7 @@ public class PostMethod {
private String requestTarget = "/pts/v2/payments/";
private String requestJson = "{\r\n" +
" \"clientReferenceInformation\": {\r\n" +
- " \"code\": \"TC50171_3\"\r\n" +
+ " \"code\": \"TEST_OUSSAMA\"\r\n" +
" },\r\n" +
" \"processingInformation\": {\r\n" +
" \"commerceIndicator\": \"internet\"\r\n" +
@@ -51,7 +51,7 @@ public class PostMethod {
" \"orderInformation\": {\r\n" +
" \"billTo\": {\r\n" +
" \"country\": \"US\",\r\n" +
- " \"lastName\": \"VDP\",\r\n" +
+ " \"lastName\": \"Markad\",\r\n" +
" \"address2\": \"Address 2\",\r\n" +
" \"address1\": \"201 S. Division St.\",\r\n" +
" \"postalCode\": \"48104-2201\",\r\n" +
@@ -65,7 +65,7 @@ public class PostMethod {
" \"email\": \"test@cybs.com\"\r\n" +
" },\r\n" +
" \"amountDetails\": {\r\n" +
- " \"totalAmount\": \"102.21\",\r\n" +
+ " \"totalAmount\": \"2000.21\",\r\n" +
" \"currency\": \"USD\"\r\n" +
" }\r\n" +
" },\r\n" +
diff --git a/src/main/java/samples/authentication/AuthSampleCode/StandAloneMetaKey.java b/src/main/java/samples/authentication/AuthSampleCode/StandAloneMetaKey.java
index 03b32e0..7bc95ef 100644
--- a/src/main/java/samples/authentication/AuthSampleCode/StandAloneMetaKey.java
+++ b/src/main/java/samples/authentication/AuthSampleCode/StandAloneMetaKey.java
@@ -59,7 +59,7 @@ public static PtsV2PaymentsPost201Response SimplePaymentsUsingMetaKey() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("119.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/authentication/AuthSampleCode/StandaloneOAuth.java b/src/main/java/samples/authentication/AuthSampleCode/StandaloneOAuth.java
index 2f492c8..cd4369a 100644
--- a/src/main/java/samples/authentication/AuthSampleCode/StandaloneOAuth.java
+++ b/src/main/java/samples/authentication/AuthSampleCode/StandaloneOAuth.java
@@ -162,7 +162,7 @@ public static PtsV2PaymentsPost201Response SimpleAuthorizationInternet() {
Ptsv2paymentsOrderInformation orderInformation = new Ptsv2paymentsOrderInformation();
Ptsv2paymentsOrderInformationAmountDetails orderInformationAmountDetails = new Ptsv2paymentsOrderInformationAmountDetails();
- orderInformationAmountDetails.totalAmount("102.21");
+ orderInformationAmountDetails.totalAmount("120.21");
orderInformationAmountDetails.currency("USD");
orderInformation.amountDetails(orderInformationAmountDetails);
diff --git a/src/main/java/samples/authentication/Data/Configuration.java b/src/main/java/samples/authentication/Data/Configuration.java
index 5d4b5f5..c30d3a5 100644
--- a/src/main/java/samples/authentication/Data/Configuration.java
+++ b/src/main/java/samples/authentication/Data/Configuration.java
@@ -8,7 +8,7 @@ public static Properties getMerchantDetails() {
// HTTP_Signature and JWT
props.setProperty("authenticationType", "http_signature");
- props.setProperty("merchantID", "testrest");
+ props.setProperty("merchantID", "mirakl_slush0001");
props.setProperty("runEnvironment", "apitest.cybersource.com");
props.setProperty("requestJsonPath", "resources/request.json");
@@ -21,8 +21,10 @@ public static Properties getMerchantDetails() {
props.setProperty("keysDirectory", "resources");
// HTTP Parameters
- props.setProperty("merchantKeyId", "08c94330-f618-42a3-b09d-e1e43be5efda");
- props.setProperty("merchantsecretKey", "yBJxy6LjM2TmcPGu+GaJrHtkke25fPpUX+UY6/L/1tE=");
+ props.setProperty("merchantKeyId", "fe0c55d7-2525-4809-93bd-9746d10d5923");
+ props.setProperty("merchantsecretKey", "5JP/dtU7sJiZ9UrjQBvCXzOBIQwGlef19AVW90hp1Fs=");
+ props.setProperty("useMetaKey", "false");
+ props.setProperty("enableClientCert", "false");
// Logging to be enabled or not.
props.setProperty("enableLog", "true");
// Log directory Path
diff --git a/src/main/java/samples/authentication/Data/PayloadData.java b/src/main/java/samples/authentication/Data/PayloadData.java
index c13c914..6114fc1 100644
--- a/src/main/java/samples/authentication/Data/PayloadData.java
+++ b/src/main/java/samples/authentication/Data/PayloadData.java
@@ -50,7 +50,7 @@ public static String readData() {
billTo.email("test@cybs.com");
AmountDetails amountDetails = new AmountDetails();
- amountDetails.totalAmount("102.21");
+ amountDetails.totalAmount("121.21");
amountDetails.currency("USD");
OrderInformation orderInformation = new OrderInformation(billTo, amountDetails);
@@ -74,4 +74,4 @@ public static String readData() {
}
-}
\ No newline at end of file
+}
diff --git a/src/main/resources/DownloadedReport.xml b/src/main/resources/DownloadedReport.xml
new file mode 100644
index 0000000..c79d812
--- /dev/null
+++ b/src/main/resources/DownloadedReport.xml
@@ -0,0 +1,633 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/resources/authRequest.json b/src/main/resources/authRequest.json
index 2bd8364..11f1daa 100644
--- a/src/main/resources/authRequest.json
+++ b/src/main/resources/authRequest.json
@@ -38,7 +38,7 @@
"email": "test@cybs.com"
},
"amountDetails": {
- "totalAmount": "102.21",
+ "totalAmount": "402.21",
"currency": "USD"
}
},
@@ -51,4 +51,4 @@
"type": "002"
}
}
-}
\ No newline at end of file
+}
diff --git a/src/main/resources/cybs.properties b/src/main/resources/cybs.properties
index 18cef5f..cc5829c 100644
--- a/src/main/resources/cybs.properties
+++ b/src/main/resources/cybs.properties
@@ -1,6 +1,6 @@
#HTTP_Signature and JWT
authenticationType = http_signature
-merchantID = testrest
+merchantID = mirakl_slush0001
runEnvironment = apitest.cybersource.com
# JWT Parameters
keyAlias = testrest
@@ -9,12 +9,12 @@ keyFileName = testrest
#P12 key path. Enter the folder path where the .p12 file is located.
keysDirectory = src/main/resources
# HTTP Parameters
-merchantKeyId = 08c94330-f618-42a3-b09d-e1e43be5efda
-merchantsecretKey = yBJxy6LjM2TmcPGu+GaJrHtkke25fPpUX+UY6/L/1tE=
+merchantKeyId = fe0c55d7-2525-4809-93bd-9746d10d5923
+merchantsecretKey = 5JP/dtU7sJiZ9UrjQBvCXzOBIQwGlef19AVW90hp1Fs=
#Logging to be enabled or not.
enableLog = true
#Log directory Path
logDirectory = log
#Log file size in KB
logMaximumSize = 5M
-logFilename = cybs
\ No newline at end of file
+logFilename = cybs