Coinbase.API.Buttons
SourceSummary↑
create(coinbase, button, optionals \\ %{}) | Create a new payment button, page, or iFrame |
create_order(coinbase, id) | Create an order for a button |
get(coinbase, id) | Show a button |
list_orders(coinbase, id) | List orders for a button |
Functions
Specs:
- create(pid, %{}, %{}) :: Coinbase.response
Create a new payment button, page, or iFrame
Optional params: account_id (string): Specify for which account is the order created. The default is your primary account
Specs:
- create_order(pid, binary) :: Coinbase.response
Create an order for a button
Specs:
- get(pid, binary) :: Coinbase.response
Show a button
Specs:
- list_orders(pid, binary) :: Coinbase.response
List orders for a button