| Package | Description |
|---|---|
| com.coinbase.api | |
| com.coinbase.api.exception |
| Modifier and Type | Method and Description |
|---|---|
Transfer |
Coinbase.buy(org.joda.money.Money amount)
Buy a given quantity of BTC from Coinbase
|
Transfer |
Coinbase.buy(org.joda.money.Money amount,
String paymentMethodId)
Buy a given quantity of BTC from Coinbase
|
Transaction |
Coinbase.completeRequest(String transactionId)
Complete a money request.
|
Account |
Coinbase.createAccount(Account account)
Create a new account
|
Application |
Coinbase.createApplication(Application application)
Create a new OAuth application
|
Button |
Coinbase.createButton(Button button)
Create a new payment button, page, or iFrame.
|
Order |
Coinbase.createOrder(Button button)
Create an order for a new button
|
Order |
Coinbase.createOrderForButton(String buttonCode)
Create an order for an existing button
|
Report |
Coinbase.createReport(Report reportParams)
Create a new report
|
Token |
Coinbase.createToken()
Create a token which can be redeemed for bitcoin
|
User |
Coinbase.createUser(User userParams)
Unauthenticated resource that creates a user with an email and password.
|
User |
Coinbase.createUser(User userParams,
String clientId,
String scope)
Unauthenticated resource that creates a user with an email and password.
|
void |
Coinbase.deleteAccount()
Delete the current account
|
void |
Coinbase.deleteAccount(String accountId)
Delete the specified account
|
void |
Coinbase.deleteRequest(String transactionId)
Cancel a money request.
|
AddressResponse |
Coinbase.generateReceiveAddress()
Generate a new receive address
|
AddressResponse |
Coinbase.generateReceiveAddress(Address addressParams)
Generate a new receive address
|
AccountChangesResponse |
Coinbase.getAccountChanges()
Retrieve account changes
|
AccountChangesResponse |
Coinbase.getAccountChanges(int page)
Retrieve account changes
|
AccountsResponse |
Coinbase.getAccounts()
Retrieve a list of accounts belonging to this user
|
AccountsResponse |
Coinbase.getAccounts(int page)
Retrieve a list of active accounts belonging to this user
|
AccountsResponse |
Coinbase.getAccounts(int page,
int limit)
Retrieve a list of active accounts belonging to this user
|
AccountsResponse |
Coinbase.getAccounts(int page,
int limit,
boolean includeInactive)
Retrieve a list of accounts belonging to this user
|
AddressesResponse |
Coinbase.getAddresses()
Retrieve a list of bitcoin addresses associated with this account
|
AddressesResponse |
Coinbase.getAddresses(int page)
Retrieve a list of bitcoin addresses associated with this account
|
Application |
Coinbase.getApplication(String id)
Retrieve details for an individual OAuth application.
|
ApplicationsResponse |
Coinbase.getApplications()
List OAuth applications on your account.
|
org.joda.money.Money |
Coinbase.getBalance()
Retrieve the balance of the current account
|
org.joda.money.Money |
Coinbase.getBalance(String accountId)
Retrieve the balance of the specified account
|
Quote |
Coinbase.getBuyQuote(org.joda.money.Money btcAmount)
Get a quote for purchasing a given amount of BTC
|
ContactsResponse |
Coinbase.getContacts()
Retrieve a list of the user's contacts
|
ContactsResponse |
Coinbase.getContacts(int page)
Retrieve a list of the user's contacts
|
ContactsResponse |
Coinbase.getContacts(String query)
Retrieve a list of the user's contacts
|
ContactsResponse |
Coinbase.getContacts(String query,
int page)
Retrieve a list of the user's contacts
|
Map<String,BigDecimal> |
Coinbase.getExchangeRates()
Unauthenticated resource that returns BTC to fiat (and vice versus) exchange rates in various currencies.
|
List<HistoricalPrice> |
Coinbase.getHistoricalPrices()
Get the historical spot price of bitcoin in USD.
|
List<HistoricalPrice> |
Coinbase.getHistoricalPrices(int page)
Get the historical spot price of bitcoin in USD.
|
Order |
Coinbase.getOrder(String idOrCustom)
Retrieve details of an individual merchant order
|
OrdersResponse |
Coinbase.getOrders()
Retrieve a list of the user's recently received merchant orders
|
OrdersResponse |
Coinbase.getOrders(int page)
Retrieve a list of the user's recently received merchant orders
|
PaymentMethodsResponse |
Coinbase.getPaymentMethods()
Get the user's payment methods
|
RecurringPayment |
Coinbase.getRecurringPayment(String id)
Retrieves the details of a recurring payment
|
RecurringPaymentsResponse |
Coinbase.getRecurringPayments()
Retrieve all the recurring payments (scheduled buys, sells, and subscriptions) you've created with merchants.
|
RecurringPaymentsResponse |
Coinbase.getRecurringPayments(int page)
Retrieve all the recurring payments (scheduled buys, sells, and subscriptions) you've created with merchants.
|
Report |
Coinbase.getReport(String reportId)
Retrieve details for a report
|
ReportsResponse |
Coinbase.getReports()
Retrieve all reports
|
ReportsResponse |
Coinbase.getReports(int page)
Retrieve all reports
|
Quote |
Coinbase.getSellQuote(org.joda.money.Money btcAmount)
Get a quote for selling a given amount of BTC
|
org.joda.money.Money |
Coinbase.getSpotPrice(org.joda.money.CurrencyUnit currency)
Retrieve the current spot price of 1 BTC
|
RecurringPayment |
Coinbase.getSubscriber(String id)
Retrieves the details of a subscriber's recurring payment
|
RecurringPaymentsResponse |
Coinbase.getSubscribers()
Retrieve all the subscriptions customers have made with you
|
RecurringPaymentsResponse |
Coinbase.getSubscribers(int page)
Retrieve all the subscriptions customers have made with you
|
List<org.joda.money.CurrencyUnit> |
Coinbase.getSupportedCurrencies()
Unauthenticated resource that returns currencies supported on Coinbase
|
Transaction |
Coinbase.getTransaction(String id)
Retrieve details of an individual transaction.
|
TransactionsResponse |
Coinbase.getTransactions()
Retrieve a list of the user's recent transactions
|
TransactionsResponse |
Coinbase.getTransactions(int page)
Retrieve a list of the user's recent transactions
|
TransfersResponse |
Coinbase.getTransfers()
Retrieve a list of the user's recent transfers (buys/sales)
|
TransfersResponse |
Coinbase.getTransfers(int page)
Retrieve a list of the user's recent transfers (buys/sales)
|
User |
Coinbase.getUser()
Retrieve the current user and their settings.
|
void |
Coinbase.redeemToken(String tokenId)
Redeem a token, claiming its address and all its bitcoins
|
Transaction |
Coinbase.requestMoney(Transaction transaction)
Send an invoice/money request to an email address.
|
void |
Coinbase.resendRequest(String transactionId)
Resend emails for a money request.
|
Transfer |
Coinbase.sell(org.joda.money.Money amount)
Sell a given quantity of BTC to Coinbase
|
Transfer |
Coinbase.sell(org.joda.money.Money amount,
String paymentMethodId)
Sell a given quantity of BTC to Coinbase
|
Transaction |
Coinbase.sendMoney(Transaction transaction)
Send money to an email address or bitcoin address
|
void |
Coinbase.setPrimaryAccount()
Set the current account as primary
|
void |
Coinbase.setPrimaryAccount(String accountId)
Set the specified account as primary
|
void |
Coinbase.updateAccount(Account account)
Update the settings of the current account
|
void |
Coinbase.updateAccount(String accountId,
Account account)
Update the settings of the current account
|
User |
Coinbase.updateUser(String userId,
User userParams)
Updates account settings for the current user
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnauthorizedException |
class |
UnspecifiedAccount |
Copyright © 2014. All rights reserved.