Skip to content

ArsenalPay/Java-ArsenalPay-API-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java ArsenalPay API SDK

Arsenal Media LLC

ArsenalPay processing server

Java ArsenalPay API SDK is software development kit for fast simple and seamless integration your java application with processing server of ArsenalPay.

Version

1.0

JDK version requirements

min 1.6

Source

Official integration guide page

Building artifact

mvn package for building single jar file with all dependencies.

Configuration

Copy conf with properties to the root directory of your project another you will get ConfigurationLoadingException

Functions of API

  • Mobile commerce.

RequestPayment method. Example code for mobile charge:

ApiCommandsFacade apiCommandsFacade = new ApiCommandsFacadeImpl(
        new MerchantCredentials("2096", "qwerty")
);

PaymentRequest paymentRequest = new PaymentRequest.MobileBuilder()
        .payerId(9140001111L)
        .recipientId(123456789L)
        .amount(12.5D)
        .currency("RUR")
        .comment("Java-SDK-Test")
        .setTestMode()
        .build();

PaymentResponse paymentResponse = apiCommandsFacade.requestPayment(paymentRequest);

See more details in JavaDoc.

CheckPaymentStatus method. Example code:

PaymentStatusResponse paymentStatusResponse = apiCommandsFacade.checkPaymentStatus(
        new PaymentStatusRequest(1228221L)
);

// where 1228221 is payment transaction id

See more details in JavaDoc.

About

Java SDK public repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages