Skip to content

zalizko/banklink-java-sdk

 
 

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

  • Java 100.0%