Skip to content
This repository was archived by the owner on Jun 9, 2023. It is now read-only.
/ banklink-java-sdk Public archive

Java library for Banklinks

License

Notifications You must be signed in to change notification settings

BitWeb/banklink-java-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status codecov

Banklink Java SDK

Java library for Banklinks. Supported is payment requests and authentications.

Usage

Protocol protocol = new iPizzaProtocol(
    pem_formatted_public_key,
    pem_formatted_private_key,
    new Vendor(
        "uid42",
        "Test Test",
        "EE411010002050618003"
    )
);

protocol.setTestMode(true);
Banklink seb = new Seb(protocol);
PaymentRequest paymentRequest = seb.prepareRequest(new PaymentRequestParams("2", 0.01, "BitWeb test", "123", "http://requestb.in/18d2oau1", "http://requestb.in/18d2oau1"));

... and response handling

PaymentResponse response = (PaymentResponse) seb.handleResponse(post_request_params);

About

Java library for Banklinks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages