class

CoinPayments::Client

Inherits Reference < Object

Constructors

new(public_key : String, private_key : String, user_agent = nil, client = nil, endpoint = API_ENDPOINT)
Source

Instance methods

balances(all = false)
Source
basic_account_info

Get basic account information

Source
buy_tags(coin, num)
Source
claim_coupon(coupon)
Source
claim_tag(tagid, name)
Source
conversion_info(id)
Source
conversion_limits(from, to)
Source
convert_coins(amount, from, to, address = nil, dest_tag = nil)
Source
create_transaction(amount, currency1, currency2 = currency1, buyer_email = nil, address = nil, buyer_name = nil, item_name = nil, item_number = nil, invoice = nil, custom = nil, ipn_url = nil, success_url = nil, cancel_url = nil)
Source
create_transfer(amount, currency, merchant = nil, pbntag = nil, auto_confirm = false, note = nil)
Source
create_withdrawal(amount, currency, add_tx_fee = false, currency2 = currency, address = nil, pbntag = nil, dest_tag = nil, ipn_url = nil, auto_confirm = false, note = nil)
Source
delete_tag(tagid)
Source
deposit_address(currency)
Source
get_callback_address(currency, ipn_url = nil, label = nil)
Source
private_key
Source
private_key=(private_key : String)
Source
profile_info(pbntag)
Source
public_key
Source
public_key=(public_key : String)
Source
rates(short = false, accepted = false)
Source
renew_tag(tagid, coin, years = 1)
Source
request(type : U.class, command, params = {} of String => String) forall U
Source
request(command, params = {} of String => String)
Source
tag_list
Source
tx_ids(limit = false, start = 0, newer = false, all = false)
Source
tx_info(txid : String, full = false)
Source
tx_info(txids : Array(String))
Source
update_tag(tagid, name = nil, email = nil, url = nil, image = nil)
Source
user_agent
Source
user_agent=(user_agent : String)
Source
withdrawal_history(limit = 25, start = 0, newer = false)
Source
withdrawal_info(id)
Source