The Deposits Java SDK (Software Development Kit) is a software package you can download and add to your existing code facilitating the integration by having pre-defined classes and functions you can call to integrate the .
Review and download the source code from GitHub by clicking on the button below
CreateDepositRequest.amount and CreateDepositRequest.country are the only mandatory fields for a successful request. The rest of the fields needs to be sent depending on the flow you have chosen as those will be collected by us if not sent.
In order to create a refund, you need to send the deposit_id, merchant_invoice_id, and the bank_account object (only for non-cc payments, otherwise, it is optional).
The library uses . While it is not a requirement, you might want to install a for your favorite IDE to facilitate development.
and library are needed to run the bundled tests.
for more information about the API Keys.
Once the credentials and the IPs have been properly set-up, you are ready to start using the classes the SDK provides. Each Class can be used to execute the functionalities of its respective
Make sure you take a look at the to review how the integration of each of them works, the validations and the responses formats.
heck the respective to see the format of the responses, fields requirements and validations.
Every time you need to create a deposit, you will need to invoke the CreateDepositRequest Class with all the objects containing the information required to be sent. The amount of information required depends on the flow you have chosen, either the or the
As soon as the deposit is created and you have received the notification in your notification_url, you will want to invoke the DepositStatusRequest Class to retrieve the of the deposit.
Click here to see the
For the best user experience, we recommend integrating our to automatically retrieve the of payment methods name, logos, types and more that your account has available.
In order to do that, invoke the PaymentMethodRequest Class containing the of the country you need the payment methods from in the field PaymentMethodRequest.country
If you need to know the Exchange Rate of a given currency, you can do so by invoking ExchangeRateRequest with the of the origin and the amount you want to convert to USD.
Java SDK
Learn how to use our SDK in Java to facilitate even further the integration with our Deposits APIs