- Kotlin 1.3.41
- Gradle 4.9
First, create the gradle wrapper script:
gradle wrapper
Then, run:
./gradlew check assemble
This runs all tests and packages the library.
- Supports JSON inputs/outputs, File inputs, and Form inputs.
- Supports collection formats for query parameters: csv, tsv, ssv, pipes.
- Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions.
- Implementation of ApiClient is intended to reduce method counts, specifically to benefit Android targets.
All URIs are relative to https://api.payrobot.io
Class | Method | HTTP request | Description |
---|---|---|---|
PaymentApi | createPayment | POST /{currency}/payments | Generate a new one-use address to receive a payment |
PaymentApi | getPayment | GET /{currency}/payments/{paymentId} | Get detailed information about a payment |
WalletApi | createWallet | POST /{currency}/wallets | Create new wallet |
WalletApi | createWalletSendRequest | POST /{currency}/wallets/{walletId}/send-requests | Send funds from a wallet |
WalletApi | getWallet | GET /{currency}/wallets/{walletId} | Get Wallet information |
WalletApi | getWalletHistory | GET /{currency}/wallets/{walletId}/history | Get last transactions of wallet |
WalletApi | getWalletSendRequest | GET /{currency}/wallets/{walletId}/send-requests/{requestId} | Obtain information of a send request |
- payrobot.models.AddressDetail
- payrobot.models.CryptoCurrency
- payrobot.models.ErrorResponse
- payrobot.models.PaymentRequest
- payrobot.models.Wallet
- payrobot.models.WalletCreationInfo
- payrobot.models.WalletHistory
- payrobot.models.WalletSendRequest
- payrobot.models.WalletTransaction
All endpoints do not require authorization.