{"id":24396636,"url":"https://github.com/cloudipsp/java-sdk","last_synced_at":"2026-04-29T04:31:35.696Z","repository":{"id":186065424,"uuid":"651482817","full_name":"cloudipsp/java-sdk","owner":"cloudipsp","description":"java-sdk","archived":false,"fork":false,"pushed_at":"2023-06-09T11:00:06.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-19T21:55:12.404Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudipsp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-09T10:33:45.000Z","updated_at":"2023-06-09T10:45:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"617cac5f-e8ce-4715-9844-023399e5f328","html_url":"https://github.com/cloudipsp/java-sdk","commit_stats":null,"previous_names":["cloudipsp/java-sdk"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudipsp%2Fjava-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudipsp%2Fjava-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudipsp%2Fjava-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudipsp%2Fjava-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudipsp","download_url":"https://codeload.github.com/cloudipsp/java-sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243345594,"owners_count":20275869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-19T21:54:52.487Z","updated_at":"2025-12-29T04:49:07.888Z","avatar_url":"https://github.com/cloudipsp.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"cipsplogo\" width=\"200\" height=\"200\" src=\"https://avatars0.githubusercontent.com/u/15383021?s=200\u0026v=4\"\u003e\n\u003c/p\u003e\n\n# CloudIpspSdk[Fondy]\n## Payment service provider\nA payment service provider (PSP) offers shops online services for accepting electronic payments by a variety of payment methods including credit card, bank-based payments such as direct debit, bank transfer, and real-time bank transfer based on online banking. Typically, they use a software as a service model and form a single payment gateway for their clients (merchants) to multiple payment methods.\n[read more](https://en.wikipedia.org/wiki/Payment_service_provider)\n\nRequirements\n------------\n- [Fondy account](https://portal.fondy.eu)\n- Java 8\n\n\n## SDK Installation\n\nIf Maven project, add sdk dependency in \u003cdependencies\u003e section:\n\n```xml\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.cloudipsp.cloudipspsdk\u003c/groupId\u003e\n        \u003cartifactId\u003ejava-cloudipsp-sdk-client\u003c/artifactId\u003e\n        \u003cversion\u003e1.0.0\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n## Simple start\n```java\npublic class Main {\n    public static void main(String[] args) {\n        final Configuration config = new Configuration()\n                .setSecretKey(\"test\")\n                .setMerchantId(1396424);\n        client = new CloudIpspApi(config);\n        pamentApi = client.getPaymentApi(); // Get payment api instance\n        orderApi = client.getOrderApi(); // Get api instance for working with orders\n        /**\n         * Generate payment request\n         */\n        JSONObject payload = new JSONObject();\n        payload.put(\"currency\", \"EUR\");\n        payload.put(\"amount\", 100);\n        payload.put(\"order_id\", \"test123\");\n        BaseApiResponse response = pamentApi.paymentUrl(payload);\n        JSONObject order = response.getParsedResponse();\n        URI checkout_url = response.getCheckoutUrl();\n        /**\n         * Generate capture request\n         */\n        JSONObject payload = new JSONObject();\n        payload.put(\"currency\", \"EUR\");\n        payload.put(\"amount\", 100);\n        payload.put(\"order_id\", \"test123\");\n        BaseApiResponse response = orderApi.Capture(payload);\n        JSONObject order = response.getParsedResponse();\n    }\n}\n```\n**response will be an object with the following getters:**\n\n* `getStatus()` - int HTTP status code\n* `getResponse()` - the response serialized into a JSONObject\n* `getRawResponse()` - the raw JSON String response body\n* `getParsedResponse()` - the response serialized into a JSONObject and converted by version\n* `getUrl()` - the URL for the REST call the SDK calls, for troubleshooting purposes\n* `getRawRequest()` - the JSON request body String sent\n* `getRetries()` - usually 0, but reflects the number of times a request was retried due to throttling or other server-side issue\n* `getDuration()` - duration in milliseconds of SDK function call\n* `isSuccess()` - returns true for a 200\n* `getReportList()` - the response serialized into a JSONList used by getting reports\n* `getCheckoutUrl()` - return URI","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudipsp%2Fjava-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudipsp%2Fjava-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudipsp%2Fjava-sdk/lists"}