public Order createOrderForButton(String buttonCode) throws CoinbaseException, IOException {
URL createOrderForButtonUrl;
try {
createOrderForButtonUrl = new URL(_baseUrl, "buttons/" + buttonCode + "/create_order");
} catch (MalformedURLException ex) {
throw new CoinbaseException("Invalid button code");
}
return post(createOrderForButtonUrl, new Request(), OrderResponse.class).getOrder();
}