Skip to main content
Version: 2.x

Fiat

 License: MIT 

Installation

pom.xml
<dependency>
<groupId>{{groupId}}</groupId>
<artifactId>{{artifactId}}</artifactId>
<version>{{version}}</version>
</dependency>

Client instantiation

FiatClient client = new FiatClient(key, secret);

Features

Get payments

try{
PaymentHistory res = client.getPayments(new PaymentParams(PaymentType.SELL)).sync();
}catch(ApiException e){
//...
}

Get Transactions

try{
TransactionHistory res = client.getTransactions(new TransactionParams(TransactionType.WITHDRAW)).sync();
}catch(ApiException e){
//...
}