Coder Social home page Coder Social logo

unknownnpc / payment-systems-api-collection Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 166 KB

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

License: MIT License

Scala 100.00%
qiwi money-systems privat24 webmoney webmoney-signer advcash payments-api

payment-systems-api-collection's Introduction

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

payment-systems-api-collection's People

Contributors

unknownnpc avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.