public static function update($customer_id, array $data) { $return_data = Start_Request::make_request("/customers/" . $customer_id, $data, 'PUT'); return $return_data; }
public static function create(array $data) { $return_data = Start_Request::make_request("/charges/" . $data["charge_id"] . "/capture", $data); return $return_data; }
/** * List all created charges * * @return array list of transactions * @throws Start_Error_Parameters if any of the parameters is invalid * @throws Start_Error_Authentication if the API Key is invalid * @throws Start_Error if there is a general error in the API endpoint * @throws Exception for any other errors */ public static function all() { $return_data = Start_Request::make_request("charge_list"); return $return_data; }
/** * Load charge * * @param array $data the data for the transaction */ public static function get($charge_id) { $return_data = Start_Request::make_request("/charges/" . $charge_id); return $return_data; }
public static function create(array $data) { return Start_Request::make_request("/tokens", $data); }
public static function all($charge_id) { $return_data = Start_Request::make_request("/charges/" . $charge_id . "/refunds"); return $return_data; }