GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - paybyte-payment/paybyte-android-client-sdk: Java Android implementation of PayByte REST API.

BranchesTags
Open more actions menu

Latest commit

 

History

21 Commits
21 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
gradle/wrapper
gradle/wrapper
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

PayByte Android SDK

The Android SDK allows you to accept Crypto payments from your Java Android app using the PayByte REST API. The SDK has been designed to act as a wrapper for all the main PayByte functionalities, allowing the developers to focus on the actual purchasing flow rather than on the API's implementation details.

Create a new payment

PayByte paybyte = new PayByte(true);
Payment payment = new Payment();
payment.setAmount(0.0332f);
payment.setCoin("BTC");
payment.setMerchantApiKey("[insert your API Key]");
var paymentResponse = payByte.createPayment(payment);

The paymentResponse will contain the JSONObject representation of the payment response.

Get a payment data

Simply provide the payment identifier to retrieve all data related to a transaction.

var payByte = new PayByte(true);
var paymentId = "cf565888-28f5-430e-85af-b34b945ce20f";
JSONObject paymentStatus = payByte.GetPayment(paymentId);

The SDK will return a JSONObject representation of the transaction data.

Get rates

Get the exchange rates of all supported crypto currencies against the provided fiat currency code.

var payByte = new PayByte(true); 
var rates = payByte.getRate("GBP");

The SDK will return a JSONObject representation of exchange rate data against GBP fiat.

What do I need

In order to use PayByte Android SDK, you will need to create a Merchant account on PayByte and get an API KEY. Just go to https://paybyte.io to register as a merchant and get your API KEY.

License

PayByte is released under the MIT License. Please refer to the License file that accompanies this project for more information including complete terms and conditions.

About

Java Android implementation of PayByte REST API.

paybyte.io

Topics

androidbchbitcoinbitcoin-paymentblockchainbtcbtgdashdgbgrsjavaltcpaybyte

Resources

Readme
MIT license
Activity
Custom properties

Stars

2 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.