public function update( $order_id, $id, $data ) {

		$this->set_request_args( array(
			'method' => 'PUT',
			'path'   => array( $order_id, 'refunds', $id ),
			'body'   => $data,
		) );

		return $this->do_request();
	}
public function update( $order_id, $id, $data ) {

		$this->set_request_args( array(
			'method' => 'PUT',
			'path'   => array( $order_id, 'refunds', $id ),
			'body'   => $data,
		) );

		return $this->do_request();
	}
public function update ( $ order_id , $ id , $ data ) { $ this -> set_request_args ( array ( 'method' => 'PUT' , 'path' => array ( $ order_id , 'refunds' , $ id ) , 'body' => $ data , ) ) ; return $ this -> do_request ( ) ; }
Update an order refund

PUT /orders/#{order_id}/refunds/#{id}

@since 2.0
@param int $order_id order ID
@param int $id order refund ID
@param array $data order refund data to update
@return array|object your newly-updated order refund
Update an order refund