Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Repository files navigation

Mangopay Client

License

Mangopay Client is a Java 8 client library to work with Mangopay REST API v2.01.
The official Mangopay client (MangopaySDK) does not adhere much with Java conventions and has many methods throwing Exception, all that making it annoying to use, hence the creation of this Mangopay Client.

This library is in its early development phase and does not cover much of Mangopay API yet. More coming soon.

Installation

This project is built using gradle:

$ ./gradlew build

The generated jar file is located under the build/libs folder.

This library is not yet published on any repository like maven central.

Usage example

String host = "api.sandbox.mangopay.com";
String clientId = "sdk-unit-tests";
String passphrase = "cqFfFrWfCcb7UadHNxx2C9Lo6Djw8ZduLi7J9USTmu8bhxxpju";
MangopayConnection connection = MangopayConnection.createDefault(host, clientId, passphrase);
MangopayClient client = MangopayClient.createDefault(connection);
User user = client.getUserService().get("7571175");

About

Implementation of MangoPay APIv2.01

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages