{"id":22151441,"url":"https://github.com/chainside/webpos-sdk-java","last_synced_at":"2025-03-24T13:21:56.790Z","repository":{"id":36088974,"uuid":"176035063","full_name":"chainside/webpos-sdk-java","owner":"chainside","description":"webpos-sdk-java","archived":false,"fork":false,"pushed_at":"2022-10-05T03:03:56.000Z","size":249,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-29T18:24:27.862Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chainside.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-16T23:19:36.000Z","updated_at":"2020-08-26T11:22:09.000Z","dependencies_parsed_at":"2023-01-16T13:07:09.221Z","dependency_job_id":null,"html_url":"https://github.com/chainside/webpos-sdk-java","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainside%2Fwebpos-sdk-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainside%2Fwebpos-sdk-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainside%2Fwebpos-sdk-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainside%2Fwebpos-sdk-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chainside","download_url":"https://codeload.github.com/chainside/webpos-sdk-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245276110,"owners_count":20588895,"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":"2024-12-02T00:33:11.535Z","updated_at":"2025-03-24T13:21:56.733Z","avatar_url":"https://github.com/chainside.png","language":"Java","readme":"\u003c!--\nNigiri auto-generated file\n--\u003e\n\u003cp\u003e\n\u003cimg src=\"https://www.chainside.net/wp-content/themes/chainside2018/assets/favicon//favicon-192.png\" alt=\"chainside\" width=\"80\"\u003e\n\u003cbr \\\u003e\u003cbr \\\u003e\ndeveloped with :heart: by \u003ca href=\"https://www.chainside.net\"\u003echainside\u003c/a\u003e\n\u003c/p\u003e\n\n\n\u003c!-- START doctoc --\u003e\n\u003c!-- END doctoc  --\u003e\n\n# Introduction\n\nThis project is the **official** SDK library for the integration with the [Chainside Pay]() Platform.\nIt requires jdk1.7 or higher.\n \n# Installation\n\nFollow these steps to install the SDK library into your system:\n\nFollow these steps to install the SDK library into your system. You can install it either using\nthe maven-dependency-plugin, configuring the pom.xml or configuring the gradle.build (for gradle users)\n\nWith Maven plugin:\n\n```bash\nmvn org.apache.maven.plugins:maven-dependency-plugin:2.1:get \n-Dartifact=net.chainside.webpossdk:webpos-sdk-java:1.4.2 \n-DrepoUrl=http://central.maven.org/maven2/\n```\n\nIn pom.xml:\n\n```xml\n\u003cdependency\u003e\n            \u003cgroupId\u003enet.chainside.webpossdk\u003c/groupId\u003e\n            \u003cartifactId\u003ewebpos-sdk-java\u003c/artifactId\u003e\n            \u003cversion\u003e1.4.2\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nIn gradle.build:\n```bash\ncompile 'net.chainside.webpossdk:webpos-sdk-java:1.4.2'\n```\n\n#### TLS version\nIf you are experiencing protocol errors during the download, you might need to upgrade the TLS version used from\nthe dependency manager.\nDepending on the jdk1.7 version used, you might need to enable TLSv1.2 protocol to download dependencies.\nThis can be achieved by passing -Dhttps.protocols=TLSv1.2 to the chosen package manager command\n\n# Structure\n\nThe following sections will describe the high level structure of the\nSDK library.\n\n## Configuration\n\nIn order to be able to configure your SDK client you have to set some\nconfiguration parameters. Here is the list of the configuration parameters\nused by the library:\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| **mode** | _string_ | Yes | `live` | The SDK mode, can be `sandbox` or `live` |\n| **clientId** | _string_ | Yes | `null` | Your WebPos client id |\n| **secret** | _string_ | Yes | `null` | Your WebPos secret |\n| **proxy**  | HashMap | No | `null` | Proxy Configuration\n\n#### Proxy settings \nIf a proxy configuration is given, the requests are sent using the configured proxy. A proxy configuration\nmust be specified as:\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| **hostname** | _string_ | Yes | `null` | Hostname of the proxy server |\n| **port** | _int_ | Yes | `null` | Port of the proxy server |\n| **protocol** | _string_ | Yes | `null` | Proxy server protocol (http , https)|\n| **credentials** | HashMap | No | `null` | Credentials to authenticate on the proxy server\n\nIf the proxy server requires authentication, credentials must be specified in the proxy configuration\nparameters as:\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| **user** | _string_ | Yes | `live` | Username to perform authentication  |\n| **password** | _string_ | Yes | `null` | Proxy server password |\n\nExample:\n\n```java\nimport net.webpossdk.api.ChainsideClient;\nimport net.webpossdk.object.CallbackList;\n\nHashMap\u003cString, Object\u003e config = new HashMap();\nconfig.put(\"mode\", \"live\");\nconfig.put(\"clientId\", WEBPOS_CLIENT_ID);\nconfig.put(\"secret\", WEBPOS_SECRET);\nHashMap\u003cString,String\u003e credentials = new HashMap();\ncredentials.put(\"user\", PROXY_USERNAME);    \ncredentials.put(\"password\", PROXY_PWD);\nHashMap\u003cString,Object\u003e proxyConfig =  new HashMap();\n    proxyConfig.put(\"hostname\", PROXY_HOSTNAME);\n    proxyConfig.put(\"port\", 8000);\n    proxyConfig.put(\"protocol\", \"http\");\n    proxyConfig.put(\"credentials\", credentials);\n\nChainsideClient client = new ChainsideClient(config); \n```\n\n## Client\n\nThe Library exposes a _client_ object which is instantiated with the system configuration and\nprovides an high-level interface to send requests. Client's instances take care of compiling and\nsending http request and parse responses into [SdkObject](#Objects) instances. \n\n## Objects\n\nThe library defines an SdkObject class which is extended by actual objects which represent Chainside-Pay\nAPI requests and response bodies. Every json object defined in the API has a corresponding SdkObject\nclass which is either the input of a _client_ instance method (for creation) or returned (for reading)\n\n## Callbacks\n\nCallbacks are requests sent by the server to your application in order to notify about some events. \nEvery callback is sent **only to HTTPS** webhooks and will be securely signed by the server in order to be verified.\n\n# Usage\n\nThe following sections will describe how to use the SDK library and\nall the detail needed to integrate your business with Chainside Pay.\n\n## Instantiate and use the client\n\nIn order to communicate with our backend first you need to instantiate\nthe client:\n\n```java\nimport net.webpossdk.api.ChainsideClient;\nimport net.webpossdk.object.CallbackList;\n\nHashMap\u003cString, Object\u003e config = new HashMap\u003c\u003e();\nconfig.put(\"mode\", \"live\");\nconfig.put(\"clientId\", \"{webpos_client_id}\");\nconfig.put(\"secret\", \"{webpos_secret}\");\n\nPaymentOrderCreation paymentOrder = new PaymentOrderCreation();\npaymentOrder.setAmount(\"10.00\");\npaymentOrder.setReference(\"#1\");\npaymentOrder.setDetails(\"#1 details\");\npaymentOrder.setRequiredConfirmations(3);\nPaymentOrderCreationResponse resp = client.createPaymentOrder(paymentOrder);\n\nString btcAddress = resp.address // will output the payment order address\n                        \n```\n\n\nOnce the client is instantiated and configured, you can use the following\nmethods to send requests:\n\n\n| Method |\n|--------|\n| `clientCredentialsLogin`(clientcredentials:ClientCredentials) : [ClientCredentialsLoginResponse](#ClientCredentialsLoginResponse)| \n| `deletePaymentOrder`(paymentOrderUuid:uuid) : [PaymentOrderDeletionResponse](#PaymentOrderDeletionResponse)| \n| `getPaymentOrder`(paymentOrderUuid:uuid) : [PaymentOrderRetrieval](#PaymentOrderRetrieval)| \n| `getPaymentOrders`(page:String,pageSize:String,sortBy:String,sortOrder:String,status:String) : [PaymentOrderList](#PaymentOrderList)| \n| `createPaymentOrder`(paymentordercreation:PaymentOrderCreation) : [PaymentOrderCreationResponse](#PaymentOrderCreationResponse)| \n| `getCallbacks`(paymentOrderUuid:uuid) : [CallbackList](#CallbackList)| \n| `paymentReset`(paymentOrderUuid:uuid) : [PaymentOrderRetrieval](#PaymentOrderRetrieval)| \n| `paymentUpdate`(paymentOrderUuid:uuid,paymentupdateobject:PaymentUpdateObject) : [None](#None)| \n\n\n\n## Objects\n\n### ClientCredentials\n\nData required to perform a confidential client login\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| grant_type | _string_ | Yes | Oauth2 Authorization's grant type |\n| scope | _string_ | Yes | Oauth2 scope of the client's authorization |\n\n\n### ClientCredentialsLoginResponse\n\nResponse data for a login performed by a confidential client.\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| access_token | _string_ | Yes | User's access token |\n| scope | _string_ | No | Authorization's scope |\n| token_type | _string_ | Yes | Token's type |\n| expires_in | _integer_ | Yes | Token's expiration time |\n| id_token | _string_ | Yes | Jwt Token containing identity's informations |\n\n\n### PaymentOrderDeletionResponse\n\nPayment order deletion response\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| cancel_url | _string_ | Yes | The URL where the user is redirected upon payment order expiration/cancellation |\n\n\n### PaymentOrderRetrieval\n\nPayment order retrieval data\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| redirect_url | _string_ | No | URL where to redirect the user to perform the payment |\n| dispute_start_date | _string_ | Yes | Time at which either the payment order has been fully paid or is expired |\n| rate | _[RateRetrieval](#rateretrieval)_ | Yes | Crypto/Fiat rate of the payment order |\n| expiration_time | _string_ | Yes | Expiration date of the payment order |\n| currency | _[CurrencyRetrieval](#currencyretrieval)_ | Yes | Fiat currency of the payment order |\n| details | _string_ | No | Payment order's details |\n| transactions | _[[Transaction](#Transaction)]_ | Yes | Transactions paying the payment order |\n| reference | _string_ | Yes | Business' reference for the payment order |\n| resolved_at | _string_ | Yes | Time at which either the payment order has been fully paid or is expired |\n| uri | _string_ | Yes | Bitcoin uri |\n| created_by | _[PaymentOrderCreator](#paymentordercreator)_ | Yes | Data of the pos which created the payment order |\n| chargeback_date | _string_ | Yes | Time at which either the payment order has been fully paid or is expired |\n| uuid | _string_ | Yes | UUID of the payment order |\n| created_at | _string_ | Yes | Creation date of the payment order |\n| address | _string_ | Yes | Bitcoin address of the payment order |\n| state | _[PaymentOrderState](#paymentorderstate)_ | Yes | Current payment state of the payment order |\n| amount | _string_ | Yes | Fiat's amount of the payment order |\n| callback_url | _string_ | No | The URL contacted to send callbacks related to payment status changes |\n| expires_in | _integer_ | Yes |  Expiration time of the payment order |\n| btc_amount | _long_ | Yes |  Bitcoin amount of the payment order |\n| required_confirmations | _integer_ | Yes | Required confirmations for transactions paying the payment order |\n\n\n### RateRetrieval\n\nRate Data\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| created_at | _string_ | Yes | Creation's date of the rate |\n| value | _string_ | Yes | Value of the rate |\n| to | _string_ | No | Target currency for rate calculation |\n| source | _string_ | Yes | Exchange providing the rate |\n| from | _string_ | No | Starting currency for rate calculation |\n\n\n### CurrencyRetrieval\n\nCurrency Data\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| uuid | _string_ | Yes | UUID of the currency |\n| type | _string_ | Yes | Currency's type (fiat/crypto) |\n| name | _string_ | Yes | Name of the currency |\n\n\n### Transaction\n\nBitcoin transaction paying a payment order\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| created_at | _string_ | Yes |  |\n| blockchain_status | _string_ | Yes | Transaction's internal status |\n| status | _string_ | Yes | Transaction's status |\n| normalized_txid | _string_ | Yes | Transaction's normalized id (DEPRECATED) |\n| txid | _string_ | Yes | Transaction's id |\n| outs | _[[Out](#Out)]_ | Yes | Transaction's outputs |\n| outs_sum | _long_ | Yes | Paying amount of the transaction |\n\n\n### Out\n\nTransaction's output\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| amount | _long_ | Yes | Output's amount |\n| n | _integer_ | Yes | Transaction output's index |\n\n\n### PaymentOrderCreator\n\nData of payment order's creator\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| active | _bool_ | No | Wheter the creator active |\n| deposit_account | _[DepositAccountLite](#depositaccountlite)_ | Yes | Deposit account associated to the payment order's creator |\n| uuid | _string_ | Yes | Payment order creator's uuid |\n| type | _string_ | Yes | Payment order creator's type |\n| name | _string_ | Yes | Payment order creator's name |\n\n\n### DepositAccountLite\n\nDeposit account lite object when sent nested in other api objects\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| uuid | _string_ | Yes | Deposit account's uuid |\n| type | _string_ | Yes | Deposit account's type |\n| name | _string_ | Yes | Deposit account's name |\n\n\n### PaymentOrderState\n\nData describing the current state of a payment order\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| paid | _[PaidStatus](#paidstatus)_ | Yes | Payment order's paid amount |\n| in_confirmation | _[PaidStatus](#paidstatus)_ | Yes | Payment order's paid but unconfirmed amount |\n| blockchain_status | _string_ | Yes | Payment order's internal status |\n| unpaid | _[PaidStatus](#paidstatus)_ | Yes | Payment order's unpaid amount |\n| status | _string_ | Yes | Payment order's status |\n\n\n### PaidStatus\n\nCryto and fiat paid amounts\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| fiat | _string_ | Yes | Fiat Amount |\n| crypto | _long_ | Yes | Cryto Amount |\n\n\n### PaymentOrderList\n\nList of Business' payment orders\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| paymentorders | _[[PaymentOrderRetrieval](#PaymentOrderRetrieval)]_ | Yes | Business' payment orders |\n| total_items | _integer_ | Yes | Total number of items |\n| total_pages | _integer_ | Yes | Total number of pages given the requested page size |\n\n\n### PaymentOrderCreation\n\nData required to create a new payment order\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| reference | _string_ | No | Business' reference of the payment order |\n| continue_url | _string_ | No | The URL where the user is redirected upon successful payment |\n| required_confirmations | _integer_ | No | Required confirmations for transactions paying the payment order |\n| callback_url | _string_ | No | The URL contacted to send callbacks related to payment status changes |\n| amount | _string_ | Yes | Payment order's fiat amount |\n| cancel_url | _string_ | No | The URL where the user is redirected upon successful payment order expiration/cancellation |\n| details | _string_ | No | Payment order's details |\n\n\n### PaymentOrderCreationResponse\n\nResponse data for a payment order creation request\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| created_at | _string_ | No | Creation date of the payment order |\n| redirect_url | _string_ | Yes | URL where to redirect the user to perform the payment |\n| address | _string_ | Yes | Bitcoin address of the payment order |\n| rate | _[RateRetrieval](#rateretrieval)_ | Yes | Crypto/Fiat rate of the payment order |\n| amount | _long_ | Yes | Crypto amount of the payment order |\n| expiration_time | _string_ | Yes | Expiration's date of the payment order |\n| expires_in | _integer_ | Yes | Expiration's time of the payment order |\n| uri | _string_ | Yes | Bitcoin uri according to BIP 21 (https://github.com/bitcoin/bips/blob/master/bip-0021.mediawiki) |\n| reference | _string_ | No | Payment Order reference |\n| uuid | _string_ | Yes | UUID of the payment order |\n\n\n### CallbackList\n\nCallback list object\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| callbacks | _[[Callback](#Callback)]_ | Yes | Valid payment transitions callbacks |\n\n\n### Callback\n\nCallback Retrieval object\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| name | _string_ | Yes | Namespace of a callback sent after the related payment status' transition |\n\n\n### PaymentUpdateObject\n\nCallback's trigger request body\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| callback | _string_ | Yes | Name of the callback to be sent |\n\n\n### CallbackPaymentOrder\n\nPayment order retrieval data\n\n#### Attributes\n\n| Attribute | Type | Required | Description |\n|-----------|------|----------|-------------|\n| redirect_url | _string_ | Yes | URL where to redirect the user to perform the payment |\n| dispute_start_date | _string_ | Yes | Time at which either the payment order has been fully paid or is expired |\n| created_by | _[PaymentOrderCreator](#paymentordercreator)_ | Yes | Data of the pos which created the payment order |\n| cancel_url | _string_ | Yes | The URL where the user is redirected upon payment order expiration/cancellation |\n| expiration_time | _string_ | Yes | Expiration date of the payment order |\n| currency | _[CurrencyRetrieval](#currencyretrieval)_ | Yes | Fiat currency of the payment order |\n| details | _string_ | Yes | Payment order's details |\n| transactions | _[[Transaction](#Transaction)]_ | Yes | Transactions paying the payment order |\n| reference | _string_ | Yes | Business' reference for the payment order |\n| resolved_at | _string_ | Yes | Time at which either the payment order has been fully paid or is expired |\n| uri | _string_ | Yes | Bitcoin uri |\n| required_confirmations | _integer_ | Yes | Required confirmations for transactions paying the payment order |\n| chargeback_date | _string_ | Yes | Time at which either the payment order has been fully paid or is expired |\n| uuid | _string_ | Yes | UUID of the payment order |\n| rate | _[RateRetrieval](#rateretrieval)_ | Yes | Crypto/Fiat rate of the payment order |\n| created_at | _string_ | Yes | Creation date of the payment order |\n| address | _string_ | Yes | Bitcoin address of the payment order |\n| continue_url | _string_ | Yes | The URL where the user is redirected upon successful payment |\n| state | _[PaymentOrderState](#paymentorderstate)_ | Yes | Current payment state of the payment order |\n| amount | _string_ | Yes | Fiat's amount of the payment order |\n| callback_url | _string_ | Yes | The URL contacted to send callbacks related to payment status changes |\n| expires_in | _integer_ | Yes |  Expiration time of the payment order |\n| btc_amount | _long_ | Yes |  Bitcoin amount of the payment order |\n\n\n\n\n## Exceptions\n\nEvery exception raised due to Chainside error responses contains debug informations.\n\n```java\n\ntry{\n    client.createPaymentOrder(paymentOrder)\n}catch (ChainsideHttpExceptio e){\n    System.out.println(e.getDebugInfo())\n    System.out.println(e.getRequestId())\n}\n\n```  \nDebug Info contains general information about request and response headers, body and status code.\nRequest Id is an internal id which can be communicated to chainside in order to help debugging the\nproblem in case this cannot be identified.\n\n## Callbacks\n\nChainside will send callbacks if some event is triggered regarding one of your assets registered on the Business Panel.\nOur server will send a request to your webhooks that you need to parse and verify. You can do this using this SDK library\nin the following way:\n\n```java\nHashMap\u003cString, Object\u003e config = new HashMap\u003c\u003e();\nconfig.put(\"mode\", \"live\");\nconfig.put(\"clientId\", \"{webpos_client_id}\");\nconfig.put(\"secret\", \"{webpos_secret}\");\n\nChainsideApiContext ctx = new ChainsideApiContext(config);\nChainsideCallbackHandler handler = new ChainsideCallbackHandler(ctx);\n\n/* Retrieve http request and raw body in as an array of bytes\nHashMap\u003cString, String\u003e headers = request.getHeaders(); \nbyte[] rawBody = request.getRawBody(); \n*/\n\nSdkObject parsedObject = handler.parse(headers, rawBody);\n```\n\n### Callback structure\n\n| Parameter | Type | Required | Description |\n|-----------|------|----------|-------------|\n| created_at | _string_ | Yes | Date in which the callback was sent |\n| event | _string_ | Yes | Event which triggered the callback |\n| object_type | _string_ | Yes | Type of the object sent in the callback |\n| object | [CallbackPaymentOrder](#callbackpaymentorder) | Yes |  |\n\n\n### Triggered events\n\n| Event | Object Class |\n|------------|--------------|\n| `payment.completed` | [CallbackPaymentOrder](#callbackpaymentorder) |\n| `payment.dispute.start` | [CallbackPaymentOrder](#callbackpaymentorder) |\n| `payment.overpaid` | [CallbackPaymentOrder](#callbackpaymentorder) |\n| `payment.cancelled` | [CallbackPaymentOrder](#callbackpaymentorder) |\n| `payment.dispute.end` | [CallbackPaymentOrder](#callbackpaymentorder) |\n| `payment.expired` | [CallbackPaymentOrder](#callbackpaymentorder) |\n| `payment.chargeback` | [CallbackPaymentOrder](#callbackpaymentorder) |\n\n\n# Changelog\n    1.4.0 : \n        - The library now contains the jdk1.7 compatible code. The api of the sdk remains the same.\n    1.4.1 : \n        - Satoshi amounts of payment objects primitive type changes from Integer to Long. \n          Setters are still compatible with integer as they convert the given value to a Long, while getters return type\n          changes. This involves the following methods:\n                - CallbackPaymentOrder getBtcAmount() \n                - PaymentOrderCreationResponse getAmount() \n                - PaymentOrderRetrieval getBtcAmount() \n                - Out getAmount() \n                - PaidStatus getCrypto()\n                - Transaction getOutsSum()   \n    \n# Contributing\n\nIn order to maintain consistency between our backend and our SDKs, contributing through pull requests is highly\ndiscouraged. Consider posting an issue if you need to signal any problem with this library.\n\n# Security Issues\n\nIn case of a discovery of an actual or potential security issue please contact us at [info@chainside.net](mailto:info@chaniside.net)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainside%2Fwebpos-sdk-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchainside%2Fwebpos-sdk-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainside%2Fwebpos-sdk-java/lists"}