All Projects → Mangopay → mangopay2-java-sdk

Mangopay / mangopay2-java-sdk

Licence: MIT License
Java SDK for MANGOPAY

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to mangopay2-java-sdk

mangopay2-python-sdk
SDK Python for MANGOPAY
Stars: ✭ 31 (+34.78%)
Mutual labels:  payments, fintech, mangopay, mangopay-api, wallets
mangopay2-net-sdk
.Net SDK for MANGOPAY
Stars: ✭ 19 (-17.39%)
Mutual labels:  payments, fintech, mangopay, wallets
Mortgageblockchainfabric
Mortgage Processing App using Hyperledger Fabric Blockchain. Uses channels for privacy and access, and restricts read/write previleges through endorsement policies
Stars: ✭ 45 (+95.65%)
Mutual labels:  payments, fintech
Mojaloop
Starting point for on-boarding and contribution documentation for mojaloop
Stars: ✭ 267 (+1060.87%)
Mutual labels:  payments, fintech
Mangopay2 Nodejs Sdk
Node.js SDK for MANGOPAY
Stars: ✭ 40 (+73.91%)
Mutual labels:  payments, fintech
terms-dictionary
Simple definitions of terms, acronyms, abbreviations, companies, and projects related to financial services and Moov.
Stars: ✭ 48 (+108.7%)
Mutual labels:  payments, fintech
Akaunting
Free and Online Accounting Software
Stars: ✭ 4,599 (+19895.65%)
Mutual labels:  payments, fintech
Openfintech
Opensource FinTech standards & payment provider data
Stars: ✭ 87 (+278.26%)
Mutual labels:  payments, fintech
Mangopay2 Php Sdk
PHP SDK for MANGOPAY
Stars: ✭ 108 (+369.57%)
Mutual labels:  payments, fintech
cybersource-sdk-java
Java SDK for CyberSource Simple Order API
Stars: ✭ 44 (+91.3%)
Mutual labels:  payments, java-sdk
bitcoin-ux
💅💸 Ongoing assessment of bitcoin payments and privacy UX for @BitcoinDesign Community as well as tools to help designers understand the underlying protocols and specifications.
Stars: ✭ 39 (+69.57%)
Mutual labels:  payments, fintech
finmath
The collections of simple, weighted, exponential, smoothed moving averages.
Stars: ✭ 49 (+113.04%)
Mutual labels:  fintech
fake-toss-payments-server
Fake Toss Payments Server with Real SDK Library
Stars: ✭ 242 (+952.17%)
Mutual labels:  payments
costa-rica-iban
Funciones utiles para extraer y validar información general de números de cuenta IBAN de Costa Rica
Stars: ✭ 16 (-30.43%)
Mutual labels:  fintech
starling-developer-sdk
The official JavaScript development kit for building on the Starling API
Stars: ✭ 45 (+95.65%)
Mutual labels:  fintech
drf-stripe-subscription
An out-of-box Django REST framework solution for payment and subscription management using Stripe.
Stars: ✭ 42 (+82.61%)
Mutual labels:  payments
creditcardnumber
Java library that can provide details of a bank issued credit card number
Stars: ✭ 43 (+86.96%)
Mutual labels:  payments
nanook
Ruby library for making and receiving payments and managing a nano currency node
Stars: ✭ 17 (-26.09%)
Mutual labels:  payments
eth-commerce
Javascript library to accept ethereum payments on any website
Stars: ✭ 24 (+4.35%)
Mutual labels:  payments
iyzipay-laravel
iyzipay api integration for Laravel
Stars: ✭ 82 (+256.52%)
Mutual labels:  fintech

Mangopay Java SDK Build Status

MangopaySDK is a Java client library to work with Mangopay REST API.

Compatibility Note

Since v1.0.6 of this SDK, you must be using at least v2.01 of the API (more information about the changes required)

Be aware that since v2.0.0 of this SDK, v1.x is not be supported anymore. Every new features will only be added to v2.x versions only. v2.x version is a refactored version, which now fits with Java coding conventions. It contains some major breaking changes that needs some adaptations on your side.

Installation

SDK has been written in Java 7.

The SDK is published as a Maven artifact on Maven Central Repository (http://search.maven.org/) and can be used with Gradle or Maven.

repositories {
    mavenCentral()
}

dependencies {
    compile 'com.mangopay:mangopay2-java-sdk:2.20.0'
}
<dependency>
  <groupId>com.mangopay</groupId>
  <artifactId>mangopay2-java-sdk</artifactId>
  <version>2.20.0</version>
</dependency>

License

MangopaySDK is distributed under MIT license, see LICENSE file.

Unit Tests

JUnit tests are placed under tests directory.

Contacts

Report bugs or suggest features using issue tracker at GitHub.

Account creation

You can get yourself a free sandbox account or sign up for a production account by registering on the Mangopay site (note that validation of your production account involves several steps, so think about doing it in advance of when you actually want to go live).

Configuration

Using the credential info from the signup process above, you should then set api.Config.ClientId to your Mangopay Client ID and api.Config.ClientPassword to your APIKey.

api.Config.BaseUrl is set to sandbox environment by default. To enable production environment, set it to https://api.mangopay.com.

    import com.mangopay.MangoPayApi;

    // ...

    MangoPayApi api = new MangoPayApi();

    // configuration
    api.getConfig().setClientId("your-client-id");
    api.getConfig().setClientPassword("your-client-password");
    //api.getConfig().setBaseUrl("https://api.mangopay.com");

    // call some API methods...
    List<User> users = api.getUserApi().getAll();

Sample usage

    import com.mangopay.MangoPayApi;
    import com.mangopay.entities.User;
    import com.mangopay.entities.BankAccount;
    import com.mangopay.core.Pagination;
    import java.util.List;

    // ...

    MangoPayApi api = new MangoPayApi();

    // get some user by id
    User john = api.Users.get(someId);

    // change and update some of his data
    john.setTag(john.getTag() + " - CHANGED");
    api.getUserApi().update(john);

    // get all users (with pagination and sorting)
    Pagination pagination = new Pagination(1, 8); // get 1st page, 8 items per page
    Sorting sort = new Sorting();
    sort.addField("SortingField", SortDirection.asc); // Sorting is an enum, its values: none, asc, desc
    List<User> users = api.getUserApi().getAll(pagination, sort);

    // get his bank accounts
    pagination = new Pagination(2, 10); // get 2nd page, 10 items per page
    List<BankAccount> accounts = api.getUserApi().getBankAccounts(john.Id, pagination, sort);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].