unknownnpc / payment-systems-api-collection   0.0.5

MIT License GitHub

Java/Scala API for integration with payment systems (Qiwi, WM, P24, AdvCash)

Scala versions: 2.12

Build Status Maven Central

Payment Systems API Collection

Overview

Multi-module sbt project with API for integration with banks/money systems (Qiwi, WM, P24). Table below contains some more details about current implementation status.

PS: project structure & code smell in some places. It happens because of luck of time. Sorry for that :3

Content

Install

Requires Java 1.8 and sbt 1.2.8

sbt clean compile

Usage in pom.xml

<dependencies>
    <!-- QIWI API -->
    <dependency>
        <groupId>com.github.unknownnpc.psw</groupId>
        <artifactId>qiwi_2.12</artifactId>
        <version>X.X.X</version>
    </dependency>
    <!-- WebMoney API -->
    <dependency>
        <groupId>com.github.unknownnpc.psw</groupId>
        <artifactId>webmoney_2.12</artifactId>
        <version>X.X.X</version>
    </dependency>
    <!-- Privat24 API -->
    <dependency>
        <groupId>com.github.unknownnpc.psw</groupId>
        <artifactId>privat24_2.12</artifactId>
        <version>X.X.X</version>
    </dependency>
    <!-- AdvCash API -->
    <dependency>
        <groupId>com.github.unknownnpc.psw</groupId>
        <artifactId>advcash_2.12</artifactId>
        <version>X.X.X</version>
    </dependency>
</dependencies>

Usage in java code

P24API p24Api = P24API.getInstance(merchId, merchPass));
QiwiAPI qiwiApi = QiwiAPI.getInstance(qiwiApiToken);
// Requires KWM backup key(!)
WebMoneyAPI webMoneyApi = WebMoneyAPI.getInstance("wimd", "kwm_pass", kwmBytesArr);   
AdvCashAPI advCashAPI = AdvCashAPI.getInstance(api_name, api_password, api_email)     

API details

Payment system Action/Tool URL Class Check on live data
Privat24 Retrieve card history P24 API docs p24.P24API#retrieveTransferHistory Yes
Privat24 Retrieve card balance P24 API docs p24.P24API#retrieveCardBalance Yes
Qiwi Retrieve payments QIWI API docs qiwi.QiwiAPI#retrieveTransferHistory Partially
Qiwi Retrieve account balance QIWI API docs qiwi.QiwiAPI#retrieveAccountBalance Yes
WebMoney Retrieve payments, interface X3 WM API docs wm.WebMoneyAPI#runX3Command Partially
WebMoney Wallets balance, interface X9 WM API docs wm.WebMoneyAPI#runX9Command Partially
WebMoney WM Signer WM Signer docs wm.signer.WMSigner Yes
AdvCash Retrieve cards balance AdsCash API v1.9 advcash.AdvCashAPI#retrieveBalancePerWallets Yes
AdvCash Retrieve transactions AdsCash API v1.9 advcash.AdvCashAPI#retrieveTransactionsHistory Partially